From 03685416017163d38f4ef1239ca50df1e38a242a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 29 Apr 2018 12:08:02 +0200 Subject: Add some links with ?p= --- tpl/blog/view.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tpl/blog/view.php') diff --git a/tpl/blog/view.php b/tpl/blog/view.php index fc4107d..e453a19 100644 --- a/tpl/blog/view.php +++ b/tpl/blog/view.php @@ -7,13 +7,13 @@ require("tpl/general/top.php"); echo '
'; echo 'Écrit par ' . $post['owner']; if ($can_edit && $post['owner_id'] == $user['id']) - echo ' | modifier'; + echo ' | modifier'; if ($can_delete && $post['owner_id'] == $user['id']) - echo ' | supprimer'; + echo ' | supprimer'; if ($can_comment && !$is_draft) - echo ' | commenter'; + echo ' | commenter'; if ($is_draft) - echo ' | publier'; + echo ' | publier'; echo '
'; echo '
publié le ' . $post['date'] . '
'; if ($post['tags'] != '') { @@ -31,9 +31,9 @@ if (!$is_draft) { foreach ($comments as $comment) { echo '
'; $a = array(); - if ($can_delcom) $a[] = 'supprimer'; + if ($can_delcom) $a[] = 'supprimer'; if ($can_comment && $comment['author_id'] == $user['id']) - $a[] = 'modifier'; + $a[] = 'modifier'; if (count($a) > 0) echo '
' . implode(" | ", $a) . '
'; -- cgit v1.2.3