aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/templates
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-08-24 11:34:45 +0200
committerJulius Haertl <jus@bitgrid.net>2016-08-26 12:08:12 +0200
commit3d38cb95709e735483a644e26bd8c444b07c3317 (patch)
tree8ba76953ded6beb04a9c62522779fd58586eaeee /apps/theming/templates
parentd95aec2ed2a8a6f9afe169e828d1bbeb0a316618 (diff)
downloadnextcloud-server-3d38cb95709e735483a644e26bd8c444b07c3317.tar.gz
nextcloud-server-3d38cb95709e735483a644e26bd8c444b07c3317.zip
Theming: Hide undo button on default values
Diffstat (limited to 'apps/theming/templates')
-rw-r--r--apps/theming/templates/settings-admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/theming/templates/settings-admin.php b/apps/theming/templates/settings-admin.php
index 66288d37656..b6c97040230 100644
--- a/apps/theming/templates/settings-admin.php
+++ b/apps/theming/templates/settings-admin.php
@@ -60,14 +60,16 @@ style('theming', 'settings-admin');
</p>
<p>
<form class="uploadButton" method="post" action="<?php p($_['uploadLogoRoute']) ?>">
+ <input type="hidden" id="current-logoMime" name="current-logoMime" value="<?php p($_['logoMime']); ?>" />
<label for="uploadlogo"><span><?php p($l->t('Logo')) ?></span></label>
- <input id="uploadlogo" class="upload-logo-field" name="uploadlogo" type="file">
+ <input id="uploadlogo" class="upload-logo-field" name="uploadlogo" type="file" />
<label for="uploadlogo" class="button icon-upload svg" id="uploadlogo" title="<?php p($l->t('Upload new logo')) ?>"></label>
<span data-setting="logoMime" data-toggle="tooltip" data-original-title="<?php p($l->t('reset to default')); ?>" class="theme-undo icon icon-history"></span>
</form>
</p>
<p>
<form class="uploadButton" method="post" action="<?php p($_['uploadLogoRoute']) ?>">
+ <input type="hidden" id="current-backgroundMime" name="current-backgroundMime" value="<?php p($_['backgroundMime']); ?>" />
<label for="upload-login-background"><span><?php p($l->t('Log in image')) ?></span></label>
<input id="upload-login-background" class="upload-logo-field" name="upload-login-background" 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>