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

Dirk Haun dhaun at qs1489.pair.com
Fri May 2 15:30:13 EDT 2008


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

Modified Files:
	config.class.php 
Log Message:
Create unique anchors for the documentation (e.g. desc_backend was used twice)


Index: config.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** config.class.php	1 May 2008 18:35:14 -0000	1.37
--- config.class.php	2 May 2008 19:30:11 -0000	1.38
***************
*** 594,602 ****
              //            "(<a href='#' onClick='unset(\"{$name}\");'>X</a>)");
              if (($a = strrchr($name, '[')) !== FALSE) {
!                 $o = substr($a, 1, -1);
              } else {
                  $o = $name;
              }
!             if (! is_numeric($o)) {
                  if (!empty($GLOBALS['_CONF']['site_url'])) {
                      $baseUrl = $GLOBALS['_CONF']['site_url'];
--- 594,604 ----
              //            "(<a href='#' onClick='unset(\"{$name}\");'>X</a>)");
              if (($a = strrchr($name, '[')) !== FALSE) {
!                 $on = substr($a, 1, -1);
!                 $o = str_replace(array('[', ']'), array('_', ''), $name);
              } else {
                  $o = $name;
+                 $on = $name;
              }
!             if (! is_numeric($on)) {
                  if (!empty($GLOBALS['_CONF']['site_url'])) {
                      $baseUrl = $GLOBALS['_CONF']['site_url'];




More information about the geeklog-cvs mailing list