diff options
Diffstat (limited to 'views/default/settings')
-rw-r--r-- | views/default/settings/system.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/default/settings/system.php b/views/default/settings/system.php index 7fba20947..ad509724a 100644 --- a/views/default/settings/system.php +++ b/views/default/settings/system.php @@ -27,7 +27,7 @@ <?php
- foreach(array('sitename','wwwroot','path','dataroot', 'language', 'view') as $field) {
+ foreach(array('sitename','wwwroot','path','dataroot', 'view') as $field) {
?>
<p>
@@ -43,6 +43,15 @@ ?> <p> + <?php echo elgg_echo('language'); ?> + <?php + $languages = get_installed_translations(); + + echo elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $vars['config']->language, 'options_values' => $languages)); + ?> + </p> + + <p> <?php echo elgg_echo('debug'); ?><br /> <?php echo elgg_view("input/checkboxes", array('options' => array(elgg_echo('debug:label')), 'internalname' => 'debug', 'value' => ($vars['config']->debug ? elgg_echo('debug:label') : "") )); |