[geeklog-cvs] Geeklog-1.x/public_html/admin configuration.php, 1.9, 1.10

Dirk Haun dhaun at qs1489.pair.com
Sun Jan 27 04:02:17 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv22742/public_html/admin

Modified Files:
	configuration.php 
Log Message:
Moved hard-coded texts to the language files; a few minor changes for consistency


Index: configuration.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/configuration.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** configuration.php	27 Jan 2008 08:24:51 -0000	1.9
--- configuration.php	27 Jan 2008 09:02:15 -0000	1.10
***************
*** 43,49 ****
  {
      global $_CONF, $config, $conf_group, $LANG01, $LANG_ADMIN, $LANG_CONFIG,
!            $LANG_configsection, $LANG_configsubgroups;
  
!     $retval = COM_startBlock($LANG_CONFIG[1], '', 'blockheader.thtml');
      $link_array = array();
  
--- 43,49 ----
  {
      global $_CONF, $config, $conf_group, $LANG01, $LANG_ADMIN, $LANG_CONFIG,
!            $LANG_configsections, $LANG_configsubgroups;
  
!     $retval = COM_startBlock($LANG_CONFIG['sections'], '', 'blockheader.thtml');
      $link_array = array();
  
***************
*** 51,58 ****
      if (count($groups) > 0) {
          foreach ($groups as $group) {
!             if (empty($LANG_configsection[$group]['label'])) {
                  $group_display = ucwords($group);
              } else {
!                 $group_display = $LANG_configsection[$group]['label'];
              }
              $link = "<div><a href=\"#\" onclick='open_group(\"$group\")'>$group_display</a></div>";
--- 51,58 ----
      if (count($groups) > 0) {
          foreach ($groups as $group) {
!             if (empty($LANG_configsections[$group]['label'])) {
                  $group_display = ucwords($group);
              } else {
!                 $group_display = $LANG_configsections[$group]['label'];
              }
              $link = "<div><a href=\"#\" onclick='open_group(\"$group\")'>$group_display</a></div>";
***************
*** 75,82 ****
      $retval .= COM_endBlock('blockfooter.thtml');
  
!     if (empty($LANG_configsection[$conf_group]['title'])) {
          $subgroup_title = ucwords($conf_group);
      } else {
!         $subgroup_title = $LANG_configsection[$conf_group]['title'];
      }
      $retval .= COM_startBlock($subgroup_title, '', 'blockheader.thtml');
--- 75,82 ----
      $retval .= COM_endBlock('blockfooter.thtml');
  
!     if (empty($LANG_configsections[$conf_group]['title'])) {
          $subgroup_title = ucwords($conf_group);
      } else {
!         $subgroup_title = $LANG_configsections[$conf_group]['title'];
      }
      $retval .= COM_startBlock($subgroup_title, '', 'blockheader.thtml');




More information about the geeklog-cvs mailing list