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

github.com/nextcloud/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Bakkegaard <nickbakkegaard@gmail.com>2017-06-25 20:08:39 +0300
committerNick Bakkegaard <nickbakkegaard@gmail.com>2017-06-25 22:40:51 +0300
commitb0d03d17b85aabb03af26e8f0057ad1e3924d2e8 (patch)
tree82a0fc874103e49adba644f52e567b6e92f32510
parenta3c7860e659c62a6d1409b40cc6608c621cfbd06 (diff)
Remove admin text from personal settings
-rw-r--r--templates/admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php
index 8709ba8..149b409 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -1,6 +1,8 @@
<div class="section" id="apporder">
<h2><?php p($l->t('App Order')) ?></h2>
- <p><?php p($l->t('Set a default order for all users. This will be ignored, if the user has setup a custom order.')) ?></p>
+ <?php if($_['type'] === 'admin') { ?>
+ <p><?php p($l->t('Set a default order for all users. This will be ignored, if the user has setup a custom order.')); ?></p>
+ <?php } ?>
<p><em><?php p($l->t('Drag the app icons to change their order.')); ?></em></p>
<ul id="appsorter" data-type="<?php p($_['type']); ?>">
<?php foreach($_['nav'] as $entry) { ?>