diff options
Diffstat (limited to 'tpl/general/top.php')
-rw-r--r-- | tpl/general/top.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tpl/general/top.php b/tpl/general/top.php index e87e466..28a9658 100644 --- a/tpl/general/top.php +++ b/tpl/general/top.php @@ -24,9 +24,12 @@ if ($user['id'] == 0) { <a href="notes">Notebooks</a> <?php if ($user['id'] != 0) { - echo '<a href="image">Uploaded images</a>'; -} elseif ($user['priv'] >= $apps['image']['upload']) { - echo '<a href="upload-image">Upload image</a>'; + echo '<a href="image">Uploaded images</a><a href="study">My studies</a>'; +} else { + if ($user['priv'] >= $apps['image']['upload']) { + echo '<a href="upload-image">Upload image</a>'; + } + echo '<a href="deck">Study decks</a>'; } ?> </div> |