diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-30 15:45:02 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-30 15:45:02 +0200 |
commit | 054d21a2e8142de1edfc1afb5d3d8dba33f83960 (patch) | |
tree | 514114b33b91201aa9984e379dd610fcf5eb0746 /view/settings_display.tpl | |
parent | 6d3d882f9b930143562d0d2cee27060a58495231 (diff) | |
download | volse-hubzilla-054d21a2e8142de1edfc1afb5d3d8dba33f83960.tar.gz volse-hubzilla-054d21a2e8142de1edfc1afb5d3d8dba33f83960.tar.bz2 volse-hubzilla-054d21a2e8142de1edfc1afb5d3d8dba33f83960.zip |
settings: add "display settings" tab, with UI-related settings.
Load optional "config.php" from theme folder and show in page.
Loading of "config.php" follow theme_info['extends'] property.
Diffstat (limited to 'view/settings_display.tpl')
-rw-r--r-- | view/settings_display.tpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/view/settings_display.tpl b/view/settings_display.tpl new file mode 100644 index 000000000..fc7a56c8a --- /dev/null +++ b/view/settings_display.tpl @@ -0,0 +1,23 @@ +$tabs + +<h1>$ptitle</h1> + +<form action="settings/display" id="settings-form" method="post" autocomplete="off" > +<input type='hidden' name='form_security_token' value='$form_security_token'> + +{{inc field_themeselect.tpl with $field=$theme }}{{endinc}} +{{inc field_input.tpl with $field=$ajaxint }}{{endinc}} +{{inc field_input.tpl with $field=$itemspage_network }}{{endinc}} +{{inc field_checkbox.tpl with $field=$nosmile}}{{endinc}} + + +<div class="settings-submit-wrapper" > +<input type="submit" name="submit" class="settings-submit" value="$submit" /> +</div> + +{{ if $theme_config }} +<h2>Theme settings</h2> +$theme_config +{{ endif }} + +</form> |