diff options
author | Alex Auvolat <alex@adnab.me> | 2017-01-18 19:12:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-01-18 19:12:01 +0100 |
commit | cb727d392892ba2b6199a918f320dc6423d74d4c (patch) | |
tree | 8f451bfa89c1d85c404e2f16be37705c89eb2fb6 /tpl/blog | |
parent | 77048675abf5fad43e8b5371c35e1c86b3be59c2 (diff) | |
download | Bits-cb727d392892ba2b6199a918f320dc6423d74d4c.tar.gz Bits-cb727d392892ba2b6199a918f320dc6423d74d4c.zip |
Start update to PDO instead of old mysql_ functions
Diffstat (limited to 'tpl/blog')
-rw-r--r-- | tpl/blog/view.php | 8 |
1 files changed, 4 insertions, 4 deletions
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 '<div class="small_right">'; -echo 'Written by ' . $post['owner']; +echo '<div class="small_align_right">'; +echo 'Écrit par ' . $post['owner']; if ($can_edit && $post['owner_id'] == $user['id']) echo ' | <a href="edit-blog-' . $post['id'] . '">modifier</a>'; if ($can_delete && $post['owner_id'] == $user['id']) @@ -15,9 +15,9 @@ if ($can_comment && !$is_draft) if ($is_draft) echo ' | <a href="publish-blog-' . $post['id'] . '">publier</a>'; echo '</div>'; -echo '<div class="small_right">publié le ' . $post['date'] . '</div>'; +echo '<div class="small_align_right">publié le ' . $post['date'] . '</div>'; if ($post['tags'] != '') { - echo '<div class="small_right">tags: ' . $post['tags'] . '</div>'; + echo '<div class="small_align_right">tags: ' . $post['tags'] . '</div>'; } echo $post['text_html']; |