diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/settings/system.php | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/views/default/settings/system.php b/views/default/settings/system.php index f29f0606b..27b610fb7 100644 --- a/views/default/settings/system.php +++ b/views/default/settings/system.php @@ -41,25 +41,33 @@ }
-?> - <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') : "") )); - ?> +?>
+ <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') : "") ));
+ ?>
</p>
+
+ <p>
+ <?php echo elgg_echo('usage'); ?><br />
+ <?php
+ echo elgg_view("input/checkboxes", array('options' => array(elgg_echo('usage:label')), 'internalname' => 'usage', 'value' => ($vars['config']->site_ping ? elgg_echo('usage') : "") ));
+ ?>
+ </p>
+
<p>
<input type="hidden" name="settings" value="go" />
<input type="submit" value="<?php echo elgg_echo("save"); ?>" />
</p>
- </form>
\ No newline at end of file + </form>
|