summaryrefslogtreecommitdiff
path: root/tpl/blog
diff options
context:
space:
mode:
authorroot <root@adnab.me>2014-01-31 19:08:03 +0100
committerroot <root@adnab.me>2014-01-31 19:08:03 +0100
commit77048675abf5fad43e8b5371c35e1c86b3be59c2 (patch)
tree2d77c78988a4a354af3653481785aeea00429e5e /tpl/blog
parent2a274c011d177f5ad1e863301b8b88c560a3829d (diff)
downloadBits-77048675abf5fad43e8b5371c35e1c86b3be59c2.tar.gz
Bits-77048675abf5fad43e8b5371c35e1c86b3be59c2.zip
Privilege changesadnab.me-site
Diffstat (limited to 'tpl/blog')
-rw-r--r--tpl/blog/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tpl/blog/index.php b/tpl/blog/index.php
index b70a80a..b2d6f93 100644
--- a/tpl/blog/index.php
+++ b/tpl/blog/index.php
@@ -14,7 +14,7 @@ echo '<div class="ordering_links">' . filters_html_full() . '</div>';
if(count($posts) == 0) {
echo "<div class=\"message\">Aucun article trouvé.</div>";
} else {
- echo '<table><tr><th style="width: 70%"></th><th>Tags</th><th>Date</th><th>Auteur</th></tr>';
+ echo '<table><tr><th></th><th style="width: 150px">Date</th><th style="width: 100px">Auteur</th></tr>';
foreach ($posts as $post) {
echo '<tr><td><a href="view-blog-'.$post['id'].'">' . $post['title'] . '</a> <div class="small_right">';
$k = array();
@@ -24,7 +24,10 @@ if(count($posts) == 0) {
$k[] = '<a href="delete-blog-' . $post['id'] . '">supprimer</a>';
echo implode(' | ', $k);
echo '</div>';
- echo '<td style="text-align: center"><span class="tool_link">' . $post['tags'] . '</span></td>';
+ if ($post['tags'] != ''){
+ echo '<br/><span class="tool_link">' . $post['tags'] . '</span>';
+ }
+ echo '</td>';
echo '<td style="text-align: center">' . $post['date'] . '</td>';
echo '<td style="text-align: center">' . $post['owner'] . '</td>';
echo '</tr>';