diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-01 17:29:01 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-01 17:29:01 +0000 |
commit | c21bfa77caa11093c3533c7854fb277e102348df (patch) | |
tree | 73866d28a893ed931d9f0f0883cadc5429a4cfbf /views | |
parent | 25be923e821438abe161cf6fac734cd60dabecfa (diff) | |
download | elgg-c21bfa77caa11093c3533c7854fb277e102348df.tar.gz elgg-c21bfa77caa11093c3533c7854fb277e102348df.tar.bz2 |
Fixes the regression introduced by [2023]
git-svn-id: https://code.elgg.org/elgg/trunk@2049 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/settings/system.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/settings/system.php b/views/default/settings/system.php index 21724a8a4..24f76be6c 100644 --- a/views/default/settings/system.php +++ b/views/default/settings/system.php @@ -24,7 +24,7 @@ $form_body = "";
foreach(array('sitename','sitedescription', 'wwwroot','path','dataroot', 'view') as $field) {
$form_body .= "<p>";
- $form_body .= elgg_echo($field) . "<br />";
+ $form_body .= elgg_echo('installation:' . $field) . "<br />";
$warning = elgg_echo('installation:warning:' . $field);
if ($warning != 'installation:warning:' . $field) echo "<b>" . $warning . "</b><br />";
$value = $vars['config']->$field;
@@ -33,16 +33,16 @@ }
$languages = get_installed_translations();
- $form_body .= "<p>" . elgg_echo('language') . elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $vars['config']->language, 'options_values' => $languages)) . "</p>";
+ $form_body .= "<p>" . elgg_echo('installation:language') . elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $vars['config']->language, 'options_values' => $languages)) . "</p>";
- $form_body .= "<p class=\"admin_debug\">" . elgg_echo('debug') . "<br />" .elgg_view("input/checkboxes", array('options' => array(elgg_echo('debug:label')), 'internalname' => 'debug', 'value' => ($vars['config']->debug ? elgg_echo('debug:label') : "") )) . "</p>";
+ $form_body .= "<p class=\"admin_debug\">" . elgg_echo('installation:debug') . "<br />" .elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:debug:label')), 'internalname' => 'debug', 'value' => ($vars['config']->debug ? elgg_echo('installation:debug:label') : "") )) . "</p>";
- $form_body .= "<p class=\"admin_usage\">" . elgg_echo('usage') . "<br />";
- $on = elgg_echo('usage:label');
+ $form_body .= "<p class=\"admin_usage\">" . elgg_echo('installation:usage') . "<br />";
+ $on = elgg_echo('installation:usage:label');
if (isset($CONFIG->ping_home))
- $on = ($vars['config']->ping_home!='disabled' ? elgg_echo('usage:label') : "");
- $form_body .= elgg_view("input/checkboxes", array('options' => array(elgg_echo('usage:label')), 'internalname' => 'usage', 'value' => $on ));
+ $on = ($vars['config']->ping_home!='disabled' ? elgg_echo('installation:usage:label') : "");
+ $form_body .= elgg_view("input/checkboxes", array('options' => array(elgg_echo('installation:usage:label')), 'internalname' => 'usage', 'value' => $on ));
$form_body .= "</p>";
$form_body .= elgg_view('input/hidden', array('internalname' => 'settings', 'value' => 'go'));
@@ -51,4 +51,4 @@ echo elgg_view('input/form', array('action' => $action, 'body' => $form_body));
-?>
\ No newline at end of file +?>
|