diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-10-28 19:56:27 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-10-28 19:56:27 +0100 |
commit | e17392e46259e6f2e012017987cf7c31c171488f (patch) | |
tree | 72b61b63e32819e81433e8df6f14dc92b0e3a604 /w/view/templates/nav.php | |
parent | a91c916248f967da2d4218b575e665242b7c975b (diff) | |
download | wcms-e17392e46259e6f2e012017987cf7c31c171488f.tar.gz wcms-e17392e46259e6f2e012017987cf7c31c171488f.zip |
abstract config NWY
Diffstat (limited to 'w/view/templates/nav.php')
-rw-r--r-- | w/view/templates/nav.php | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/w/view/templates/nav.php b/w/view/templates/nav.php deleted file mode 100644 index e731673..0000000 --- a/w/view/templates/nav.php +++ /dev/null @@ -1,42 +0,0 @@ -<div class="menu"> - <?= $this->e($level) ?> - <div id="dropmenu"> - - <a class="button" href="?">home</a> - - <!-- id if level == 0 --> - <form action="./?action=login<?= isset($this->e($id)) ? '&id=' . $this->e($id) : '' ?>" method="post"> - <input type="password" name="pass" id="loginpass" placeholder="password"> - <input type="submit" value="login"> - </form> - - - <!-- id if level > 0 --> - <form action="./?action=logout<?= isset($this->e($id)) ? '&id=' . $this->e($id) : '' ?>" method="post"> - <input type="submit" value="logout"> - </form> - - - <!-- display / edit --> - - - if ($app->session() >= $app::EDITOR && isset($_GET['id']) && $app->exist($_GET['id'])) { - if (isset($_GET['edit']) && $_GET['edit'] == 1) { - echo '<a class="button" href="?id=' . $_GET['id'] . '" target="_blank">display</a>'; - } else { - echo '<a class="button" href="?id=' . $_GET['id'] . '&edit=1" >edit</a>'; - } - } - if ($app->session() >= $app::EDITOR) { - echo '<a class="button" href="?aff=media" >Media</a>'; - echo '<a class="button" href="?aff=record" >Record</a>'; - if ($app->session() >= $app::ADMIN) { - echo '<a class="button" href="?aff=admin" >Admin</a>'; - } - } - - - - -</div> -</dav>
\ No newline at end of file |