diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-05-09 15:52:41 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-05-18 11:26:57 +0200 |
commit | c3d28885b00a0dc0296e8151d2c4a370f2e71c91 (patch) | |
tree | 8953bbcacd6c85d2f260a02e2b086769af0adebb /apps/theming/templates | |
parent | c101ad3a653ec2fe609b0300b606e68de07f8959 (diff) | |
download | nextcloud-server-c3d28885b00a0dc0296e8151d2c4a370f2e71c91.tar.gz nextcloud-server-c3d28885b00a0dc0296e8151d2c4a370f2e71c91.zip |
Backport of #9437
allow to specify a link to a legal notice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
fix tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
fix undo for url-typed inputs
and minor adjustments
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Use link not address in labels for URLs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
this file does not belong here
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/theming/templates')
-rw-r--r-- | apps/theming/templates/settings-admin.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/theming/templates/settings-admin.php b/apps/theming/templates/settings-admin.php index 1b8ed87bb0d..907c8662efe 100644 --- a/apps/theming/templates/settings-admin.php +++ b/apps/theming/templates/settings-admin.php @@ -47,7 +47,7 @@ style('theming', 'settings-admin'); </div> <div> <label> - <span><?php p($l->t('Web address')) ?></span> + <span><?php p($l->t('Web link')) ?></span> <input id="theming-url" type="text" placeholder="<?php p($l->t('Web address https://…')); ?>" value="<?php p($_['url']) ?>" maxlength="500" /> <div data-setting="url" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div> </label> @@ -88,6 +88,13 @@ style('theming', 'settings-admin'); <div id="theming-preview"> <img src="<?php p($_['logo']); ?>" id="theming-preview-logo" /> </div> + <div> + <label> + <span><?php p($l->t('Legal notice link')) ?></span> + <input id="theming-imprintUrl" type="text" placeholder="<?php p($l->t('https://…')); ?>" value="<?php p($_['imprintUrl']) ?>" maxlength="500" /> + <div data-setting="imprintUrl" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div> + </label> + </div> <div class="theming-hints"> <?php if (!$_['canThemeIcons']) { ?> <p class="info"> |