summaryrefslogtreecommitdiff
path: root/tpl/notes/user.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/notes/user.php
parentc69c046ff936c1853fb5bf10a5203ec30609d248 (diff)
downloadBits-update.tar.gz
Bits-update.zip
Add some links with ?p=update
Diffstat (limited to 'tpl/notes/user.php')
-rw-r--r--tpl/notes/user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/notes/user.php b/tpl/notes/user.php
index 06099ac..9a1ef0b 100644
--- a/tpl/notes/user.php
+++ b/tpl/notes/user.php
@@ -3,13 +3,13 @@ $title = "Bloc-notes de " . $note_owner['name'] ;
require("tpl/general/top.php");
function f($n) {
- return '<a href="view-notes-' . $n['id'] . '">' . $n['title'] . '</a>';
+ return '<a href="?p=view-notes-' . $n['id'] . '">' . $n['title'] . '</a>';
}
require("tpl/general/inc_tree.php");
tree($notes_tree, @f);
if ($note_owner['id'] == $user['id']) {
- echo '<a class="tool_link" href="new-notes-0">nouvelle note</a>';
+ echo '<a class="tool_link" href="?p=new-notes-0">nouvelle note</a>';
}
echo '</div><div class="contents-left">';
@@ -19,7 +19,7 @@ foreach($users as $u) {
if ($u['id'] == $userid) {
echo '<li>' . $u['name'] . ' (' . $u['nbNotes'] . ' notes)</li>';
} else {
- echo '<li><a href="user-notes-' . $u['id'] . '">' . $u['name'] . '</a> (' . $u['nbNotes'] . ' notes)</li>';
+ echo '<li><a href="?p=user-notes-' . $u['id'] . '">' . $u['name'] . '</a> (' . $u['nbNotes'] . ' notes)</li>';
}
}
echo "</ul>";