[geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.22, 1.23

Blaine Lang blaine at qs1489.pair.com
Sat Feb 9 07:22:30 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv24354

Modified Files:
	config.class.php 
Log Message:
Tweak to config menu to not show current selected group as a link in the menu.

Index: config.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** config.class.php	9 Feb 2008 12:01:06 -0000	1.22
--- config.class.php	9 Feb 2008 12:22:28 -0000	1.23
***************
*** 696,700 ****
                      $group_display = $LANG_configsections[$group]['label'];
                  }
!                 $link = "<div><a href=\"#\" onclick='open_group(\"$group\")'>$group_display</a></div>";
  
                  if ($group == 'Core') {
--- 696,705 ----
                      $group_display = $LANG_configsections[$group]['label'];
                  }
!                 // Create a menu item for each config group - disable the link for the current selected one
!                 if ($conf_group == $group) {
!                     $link = "<div>$group_display</div>";
!                 } else {
!                     $link = "<div><a href=\"#\" onclick='open_group(\"$group\")'>$group_display</a></div>";
!                 }
  
                  if ($group == 'Core') {




More information about the geeklog-cvs mailing list