aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/templates/settings-admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/templates/settings-admin.php')
-rw-r--r--apps/theming/templates/settings-admin.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/theming/templates/settings-admin.php b/apps/theming/templates/settings-admin.php
index 6014f0e8579..acaa7b168e8 100644
--- a/apps/theming/templates/settings-admin.php
+++ b/apps/theming/templates/settings-admin.php
@@ -81,7 +81,7 @@ style('theming', 'settings-admin');
<form class="uploadButton" method="post" action="<?php p($_['uploadLogoRoute']) ?>" data-image-key="background">
<input type="hidden" id="theming-backgroundMime" value="<?php p($_['images']['background']['mime']); ?>" />
<input type="hidden" name="key" value="background" />
- <label for="upload-login-background"><span><?php p($l->t('Login image')) ?></span></label>
+ <label for="upload-login-background"><span><?php p($l->t('Background and login image')) ?></span></label>
<input id="upload-login-background" class="fileupload" name="image" type="file">
<label for="upload-login-background" class="button icon-upload svg" id="upload-login-background" title="<?php p($l->t("Upload new login background")) ?>"></label>
<div data-setting="backgroundMime" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div>
@@ -93,7 +93,6 @@ style('theming', 'settings-admin');
</div>
<h3 class="inlineblock"><?php p($l->t('Advanced options')); ?></h3>
-
<div class="advanced-options">
<div>
<label>
@@ -131,6 +130,16 @@ style('theming', 'settings-admin');
<div data-setting="faviconMime" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div>
</form>
</div>
+ <div class="advanced-options" id="user-theming">
+ <label><span><?php p($l->t('User settings')); ?></span></label>
+ <div>
+ <p class="info">
+ <?php p($l->t('Although you can select and customize your instance, users can change their background and colors. If you want to enforce your customization, you can check this box.')); ?>
+ </p>
+ <input id="userThemingDisabled" class="checkbox" type="checkbox" <?php p($_['userThemingDisabled'] ? 'checked="checked"' : ''); ?> />
+ <label for="userThemingDisabled"><?php p($l->t('Disable user theming')) ?></label>
+ </div>
+ </div>
</div>
<div class="theming-hints">