diff options
author | Alex Auvolat <alex@adnab.me> | 2017-01-18 19:12:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-01-18 19:12:01 +0100 |
commit | cb727d392892ba2b6199a918f320dc6423d74d4c (patch) | |
tree | 8f451bfa89c1d85c404e2f16be37705c89eb2fb6 /tpl/general | |
parent | 77048675abf5fad43e8b5371c35e1c86b3be59c2 (diff) | |
download | Bits-cb727d392892ba2b6199a918f320dc6423d74d4c.tar.gz Bits-cb727d392892ba2b6199a918f320dc6423d74d4c.zip |
Start update to PDO instead of old mysql_ functions
Diffstat (limited to 'tpl/general')
-rw-r--r-- | tpl/general/top.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tpl/general/top.php b/tpl/general/top.php index f060b42..f9ef6d8 100644 --- a/tpl/general/top.php +++ b/tpl/general/top.php @@ -23,17 +23,17 @@ global $user, $apps; //These might be hidden because this page is called from sq <div class="right"> <?php if ($user['id'] == 0) { - echo '<a href="new-account">Inscription</a><a href="/?login">Connexion</a>'; + echo '<a href="new-account">Inscription</a><a href="?login">Connexion</a>'; } else { - echo '<a href="/?logout">Déconnexion (' . $user['name'] . ')</a>'; + echo '<a href="?logout">Déconnexion (' . $user['name'] . ')</a>'; } ?> </div> <div class="left"> - <a href="/">Accueil</a> - <a href="/blog">Blog</a> - <?php + <a href="/~katchup/">Accueil</a> +<?php if ($user['id'] != 0) { + echo '<a href="/~katchup/blog">Blog</a>'; echo '<a href="user-notes-' . $user['id'] . '">bloc-notes</a>'; echo '<a href="file">fichiers</a>'; } |