[geeklog-cvs] geeklog-1.3/public_html/staticpages index.php,1.11,1.12

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Sun Sep 7 16:50:15 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/staticpages
In directory geeklog_prod:/tmp/cvs-serv23271

Modified Files:
	index.php 
Log Message:
Don't wrap static pages in a block when the page format is "blank page" (bug #60).


Index: index.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/staticpages/index.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** index.php	11 Mar 2003 17:00:57 -0000	1.11
--- index.php	7 Sep 2003 20:50:13 -0000	1.12
***************
*** 71,75 ****
          }
      }
!     if ($_SP_CONF['in_block'] == 1) {
          $retval .= COM_startBlock (stripslashes ($A['sp_title']));
      }
--- 71,75 ----
          }
      }
!     if (($_SP_CONF['in_block'] == 1) && ($A['sp_format'] != 'blankpage')) {
          $retval .= COM_startBlock (stripslashes ($A['sp_title']));
      }
***************
*** 92,96 ****
          $retval .= '</p>';
      }
!     if ($_SP_CONF['in_block'] == 1) {
          $retval .= COM_endBlock ();
      }
--- 92,96 ----
          $retval .= '</p>';
      }
!     if (($_SP_CONF['in_block'] == 1) && ($A['sp_format'] != 'blankpage')) {
          $retval .= COM_endBlock ();
      }





More information about the geeklog-cvs mailing list