diff options
author | Nick Bakkegaard <nickbakkegaard@gmail.com> | 2017-06-26 23:02:22 +0300 |
---|---|---|
committer | Nick Bakkegaard <nickbakkegaard@gmail.com> | 2017-06-26 23:28:47 +0300 |
commit | c6ebf1cbd25582d8389b0b900f7db74c0a5b7d34 (patch) | |
tree | 578495dbcc54bef7d0148cca6a41f645f89ca595 /templates | |
parent | 2133b39bce917466f3ebad6d2b5b8344b8105942 (diff) |
basic implementation of hidden, still a lot to do though
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php index a876018..c4f8c1a 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -5,7 +5,7 @@ <ul id="appsorter" data-type="<?php p($_['type']); ?>"> <?php foreach($_['nav'] as $entry) { ?> <li> -<input type="checkbox"> + <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']); ?>"> <a href="<?php print_unescaped($entry['href']); ?>"> <?php echo $entry['name']; ?> |