summaryrefslogtreecommitdiff
path: root/tpl/general/top.php
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-07-11 12:47:08 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-07-11 12:47:08 +0200
commit015effb244be30eeee34a61080216de1ec2e2625 (patch)
tree54c884fb5555f10de8b16c8735539e5deb76192e /tpl/general/top.php
parent822a630601960797266f0bae6aea3fdc3a141d5c (diff)
downloadBits-015effb244be30eeee34a61080216de1ec2e2625.tar.gz
Bits-015effb244be30eeee34a61080216de1ec2e2625.zip
Minor usability & presentation changes.
Diffstat (limited to 'tpl/general/top.php')
-rw-r--r--tpl/general/top.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/tpl/general/top.php b/tpl/general/top.php
index e2b168a..2eb0862 100644
--- a/tpl/general/top.php
+++ b/tpl/general/top.php
@@ -24,7 +24,7 @@ global $user, $apps; //These might be hidden because this page is called from sq
if ($user['id'] == 0) {
echo '<a href="new-account">Register</a><a href="?login">Login</a>';
} else {
- echo '<a href="user-notes-' . $user['id'] . '">My notebook</a><a href="?logout">Logout (' . $user['name'] . ')</a>';
+ echo '<a href="?logout">Logout (' . $user['name'] . ')</a>';
}
?>
</div>
@@ -33,13 +33,14 @@ if ($user['id'] == 0) {
<a href="list-account">People</a>
<?php
if ($user['id'] != 0) {
- echo '<a href="study">My studies</a>';
- echo '<a href="file">Uploaded files</a>';
+ echo '<a href="user-notes-' . $user['id'] . '">notes</a>';
+ echo '<a href="file">files</a>';
+ echo '<a href="study">studies</a>';
} else {
- echo '<a href="study">Studies</a>';
if ($user['priv'] >= $apps['file']['upload']) {
- echo '<a href="upload-file">Upload file</a>';
+ echo '<a href="upload-file">upload file</a>';
}
+ echo '<a href="study">studies</a>';
}
?>
</div>