From cb727d392892ba2b6199a918f320dc6423d74d4c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 18 Jan 2017 19:12:01 +0100 Subject: Start update to PDO instead of old mysql_ functions --- tpl/blog/view.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tpl/blog') diff --git a/tpl/blog/view.php b/tpl/blog/view.php index 83c49c0..fc4107d 100644 --- a/tpl/blog/view.php +++ b/tpl/blog/view.php @@ -4,8 +4,8 @@ $title = $post['title']; require("tpl/general/top.php"); -echo '
'; -echo 'Written by ' . $post['owner']; +echo '
'; +echo 'Écrit par ' . $post['owner']; if ($can_edit && $post['owner_id'] == $user['id']) echo ' | modifier'; if ($can_delete && $post['owner_id'] == $user['id']) @@ -15,9 +15,9 @@ if ($can_comment && !$is_draft) if ($is_draft) echo ' | publier'; echo '
'; -echo '
publié le ' . $post['date'] . '
'; +echo '
publié le ' . $post['date'] . '
'; if ($post['tags'] != '') { - echo '
tags: ' . $post['tags'] . '
'; + echo '
tags: ' . $post['tags'] . '
'; } echo $post['text_html']; -- cgit v1.2.3