[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.357,1.358

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Fri Aug 13 04:54:51 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv5470/public_html

Modified Files:
	lib-common.php 
Log Message:
Added a link to the documentation to the Admin's menu (now that is has been moved to public_html/docs). Can be switched off in config.php


Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.357
retrieving revision 1.358
diff -C2 -d -r1.357 -r1.358
*** lib-common.php	11 Aug 2004 18:34:34 -0000	1.357
--- lib-common.php	13 Aug 2004 08:54:49 -0000	1.358
***************
*** 2675,2679 ****
  
          // Add PDF Generator Link if the feature is enabled
!         if (($_CONF['pdf_enabled'] == 1) AND (SEC_inGroup('Root'))) {
              $url = $_CONF['site_url'] . '/pdfgenerator.php';
              $adminmenu->set_var( 'option_url', $url );
--- 2675,2680 ----
  
          // Add PDF Generator Link if the feature is enabled
!         if(( $_CONF['pdf_enabled'] == 1 ) AND ( SEC_inGroup( 'Root' )))
!         {
              $url = $_CONF['site_url'] . '/pdfgenerator.php';
              $adminmenu->set_var( 'option_url', $url );
***************
*** 2684,2688 ****
                      ( $thisUrl == $url ) ? 'current' : 'option' );
          }
!         
          if( SEC_inGroup( 'Root' ))
          {
--- 2685,2697 ----
                      ( $thisUrl == $url ) ? 'current' : 'option' );
          }
! 
!         if( $_CONF['link_documentation'] == 1 )
!         {
!             $adminmenu->set_var( 'option_url', $_CONF['site_url'] . '/docs/' );
!             $adminmenu->set_var( 'option_label', $LANG01[113] );
!             $adminmenu->set_var( 'option_count', 'N/A' );
!             $retval .= $adminmenu->parse( 'item', 'option' );
!         }
! 
          if( SEC_inGroup( 'Root' ))
          {




More information about the geeklog-cvs mailing list