[geeklog-cvs] geeklog-1.3/plugins/staticpages functions.inc,1.36,1.37

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Mon Aug 2 14:38:55 EDT 2004


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

Modified Files:
	functions.inc 
Log Message:
Allow static page block templates to be overridden.


Index: functions.inc
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/staticpages/functions.inc,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** functions.inc	24 Jul 2004 13:19:53 -0000	1.36
--- functions.inc	2 Aug 2004 18:38:51 -0000	1.37
***************
*** 3,7 ****
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Static Pages Plugin 1.4 for Geeklog - The Ultimate Weblog                 |
  // +---------------------------------------------------------------------------+
  // | functions.inc                                                             |
--- 3,7 ----
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Static Pages Plugin 1.4.1                                                 |
  // +---------------------------------------------------------------------------+
  // | functions.inc                                                             |
***************
*** 470,474 ****
                      ($spresult['sp_format'] != 'blankpage') &&
                      !empty ($spresult['sp_title'])) {
!                 $retval .= COM_startBlock ($spresult['sp_title']);
              }
  
--- 470,475 ----
                      ($spresult['sp_format'] != 'blankpage') &&
                      !empty ($spresult['sp_title'])) {
!                 $retval .= COM_startBlock ($spresult['sp_title'], '',
!                     COM_getBlockTemplate ('_staticpages_centerblock', 'header'));
              }
  
***************
*** 497,501 ****
                      ($spresult['sp_format'] != 'blankpage') &&
                      !empty ($spresult['sp_title'])) {
!                 $retval .= COM_endBlock ();
              }
  
--- 498,502 ----
                      ($spresult['sp_format'] != 'blankpage') &&
                      !empty ($spresult['sp_title'])) {
!                 $retval .= COM_endBlock (COM_getBlockTemplate ('_staticpages_centerblock', 'footer'));
              }
  




More information about the geeklog-cvs mailing list