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

github.com/juliushaertl/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Smet <o.smet@live.nl>2020-02-02 16:26:43 +0300
committerOlivier Smet <o.smet@live.nl>2020-02-02 16:26:43 +0300
commitaa8d73486aaedfc819c2646d4c76ac1a0ebe9cd0 (patch)
tree26a176932137f6ad270b439b62c113226fdc4bff /templates
parent38cea692ae8e6d8a01a4eefa7d66d55af5e13de9 (diff)
Hide personal apporder settings if admin order is forced
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/admin.php b/templates/admin.php
index 6688b4e..49d0580 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -3,7 +3,6 @@
<?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, and the default order is not forced.')); ?></p>
<?php } ?>
- <?php if(($_['type'] === 'admin') || !($_['force'])) { ?>
<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) { ?>
@@ -16,9 +15,6 @@
</li>
<?php } ?>
</ul>
- <?php } else { ?>
- <p><?php p($l->t('Your administrator has set a default app order, which you are not allowed to edit.')); ?></p>
- <?php } ?>
<?php if($_['type'] === 'admin') { ?>
<p id="appsorterforce"><?php p($l->t('Force the default order for all users:')); ?> <input type="checkbox" id="forcecheckbox" data-type="<?php p($_['type']); ?>" <?php if($_['force']) {print_unescaped("checked");}?> > (<?php p($l->t('If enabled, users will not be able to set a custom order.')); ?>)</p>
<?php } ?>