blob: 49d0580f105edbecd757297dcdfafbb929c482f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<div class="section" id="apporder">
<h2><?php p($l->t('App Order')) ?></h2>
<?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 } ?>
<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) { ?>
<li>
<input class="apporderhidden" type="checkbox" <?php if(!in_array($entry['href'],$_['hidden'])) {print_unescaped("checked");}?> >
<img class="app-icon svg" alt="" src="<?php print_unescaped($entry['icon']); ?>">
<p data-url="<?php p($entry['href']); ?>">
<?php echo $entry['name']; ?>
</p>
</li>
<?php } ?>
</ul>
<?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 } ?>
</div>
|