summaryrefslogtreecommitdiff
path: root/tpl/blog/view.php
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-01-18 19:12:01 +0100
committerAlex Auvolat <alex@adnab.me>2017-01-18 19:12:01 +0100
commitcb727d392892ba2b6199a918f320dc6423d74d4c (patch)
tree8f451bfa89c1d85c404e2f16be37705c89eb2fb6 /tpl/blog/view.php
parent77048675abf5fad43e8b5371c35e1c86b3be59c2 (diff)
downloadBits-cb727d392892ba2b6199a918f320dc6423d74d4c.tar.gz
Bits-cb727d392892ba2b6199a918f320dc6423d74d4c.zip
Start update to PDO instead of old mysql_ functions
Diffstat (limited to 'tpl/blog/view.php')
-rw-r--r--tpl/blog/view.php8
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'];