[geeklog-cvs] Geeklog-1.x/public_html/admin configuration.php, 1.8, 1.9
Dirk Haun
dhaun at qs1489.pair.com
Sun Jan 27 03:24:53 EST 2008
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv21406/public_html/admin
Modified Files:
configuration.php
Log Message:
Renamed $LANG_config to $LANG_configsection and started a new $LANG_CONFIG (for all the currently hard-coded texts in the configuration)
Index: configuration.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/configuration.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** configuration.php 26 Jan 2008 17:30:13 -0000 1.8
--- configuration.php 27 Jan 2008 08:24:51 -0000 1.9
***************
*** 42,49 ****
function configmanager_menu()
{
! global $_CONF, $config, $conf_group,
! $LANG01, $LANG_ADMIN, $LANG_config, $LANG_configsubgroups;
! $retval = COM_startBlock($LANG01[131], '', 'blockheader.thtml');
$link_array = array();
--- 42,49 ----
function configmanager_menu()
{
! 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();
***************
*** 51,58 ****
if (count($groups) > 0) {
foreach ($groups as $group) {
! if (empty($LANG_config[$group]['label'])) {
$group_display = ucwords($group);
} else {
! $group_display = $LANG_config[$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_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>";
***************
*** 75,82 ****
$retval .= COM_endBlock('blockfooter.thtml');
! if (empty($LANG_config[$conf_group]['title'])) {
$subgroup_title = ucwords($conf_group);
} else {
! $subgroup_title = $LANG_config[$conf_group]['title'];
}
$retval .= COM_startBlock($subgroup_title, '', 'blockheader.thtml');
--- 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');
More information about the geeklog-cvs
mailing list