Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-11-08 16:53:44 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-11-09 01:31:18 +0300
commitb1b8c99193c52fa0cf2ac530a96d391ec7fcbc61 (patch)
tree4a27b25089c7d70a31ae68972334a9a5ae8e9b20 /apps/theming/templates
parent497cd7fa4e629d6bb4a279e62b45debb3f47e6b2 (diff)
Theming: add hint about favicon generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/templates')
-rw-r--r--apps/theming/templates/settings-admin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/theming/templates/settings-admin.php b/apps/theming/templates/settings-admin.php
index 717e2bdb83c..c7451e595d7 100644
--- a/apps/theming/templates/settings-admin.php
+++ b/apps/theming/templates/settings-admin.php
@@ -88,5 +88,16 @@ style('theming', 'settings-admin');
<div id="theming-preview">
<img src="<?php p($_['logo']); ?>" id="theming-preview-logo" />
</div>
+ <div class="theming-hints">
+ <?php if (!$_['canThemeIcons']) { ?>
+ <p class="info">
+ <a href="<?php p($_['iconDocs']); ?>">
+ <em>
+ <?php p($l->t('Install the Imagemagick PHP extension with support for SVG images to automatically generate favicons based on the uploaded logo and color.')); ?> ↗
+ </em>
+ </a>
+ </p>
+ <?php } ?>
+ </div>
<?php } ?>
</div>