summaryrefslogtreecommitdiff
path: root/tpl/account/list.php
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-04-29 12:08:02 +0200
committerAlex Auvolat <alex@adnab.me>2018-04-29 12:08:02 +0200
commit03685416017163d38f4ef1239ca50df1e38a242a (patch)
treee6801bff28301e17ebb27812bc68c5cd6631d158 /tpl/account/list.php
parentc69c046ff936c1853fb5bf10a5203ec30609d248 (diff)
downloadBits-update.tar.gz
Bits-update.zip
Add some links with ?p=update
Diffstat (limited to 'tpl/account/list.php')
-rw-r--r--tpl/account/list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/account/list.php b/tpl/account/list.php
index a97606f..9a6dd42 100644
--- a/tpl/account/list.php
+++ b/tpl/account/list.php
@@ -9,12 +9,12 @@ echo "<tr><th>Username</th><th>Notebook</th><th>Blog</th></tr>";
foreach($users as $u) {
echo '<tr><td>' . $u['name'] . '</td>';
if ($u['nbNotes'] > 0) {
- echo '<td><a href="user-notes-' . $u['id'] . '">' . $u['nbNotes'] . ' notes</a></td>';
+ echo '<td><a href="?p=user-notes-' . $u['id'] . '">' . $u['nbNotes'] . ' notes</a></td>';
} else {
echo '<td>no notes</td>';
}
if ($u['nbPosts'] > 0) {
- echo '<td><a href="index-blog-author-'.$u['id'].'">' . $u['nbPosts'] . ' posts</a></td>';
+ echo '<td><a href="?p=index-blog-author-'.$u['id'].'">' . $u['nbPosts'] . ' posts</a></td>';
} else {
echo '<td>no posts</td>';
}