[geeklog-cvs] geeklog-1.3/plugins/staticpages functions.inc,1.44,1.45

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Mon Oct 25 04:59:54 EDT 2004


Update of /var/cvs/geeklog-1.3/plugins/staticpages
In directory www:/tmp/cvs-serv22180

Modified Files:
	functions.inc 
Log Message:
Take $_CONF['showfirstasfeatured'] into account when deciding which center block to display.


Index: functions.inc
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/staticpages/functions.inc,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** functions.inc	23 Oct 2004 09:40:17 -0000	1.44
--- functions.inc	25 Oct 2004 08:59:52 -0000	1.45
***************
*** 411,415 ****
      // have pages to be displayed after the featured story and if there is
      // no featured story, display those pages as well.
!     if ($where == 1) {
          if (DB_count ($_TABLES['stories'], 'featured', 1) == 0) {
              // no featured story found - redefine $moresql
--- 411,415 ----
      // have pages to be displayed after the featured story and if there is
      // no featured story, display those pages as well.
!     if (($where == 1) && ($_CONF['showfirstasfeatured'] == 0)) {
          if (DB_count ($_TABLES['stories'], 'featured', 1) == 0) {
              // no featured story found - redefine $moresql




More information about the geeklog-cvs mailing list