aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-29 14:18:52 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-29 14:18:52 +0100
commitdbdff59c140fe45d858f4dc2c611daf56005aef6 (patch)
tree8ea90353999d740bb47e7d03d7a64f7e8f9f37d0 /app/view
parentd9a0fb2efc8c09ab00b76bb68ec0d1f24ef7d1a5 (diff)
downloadwcms-dbdff59c140fe45d858f4dc2c611daf56005aef6.tar.gz
wcms-dbdff59c140fe45d858f4dc2c611daf56005aef6.zip
new feature : secure level coloration in home
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/home.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 6b3bca3..60dd836 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -97,7 +97,7 @@
<td class="hidephone"><a href="<?= $this->upage('pagedownload', $item->id()) ?>" download><img src="<?= Wcms\Model::iconpath() ?>download.png" class="icon"></a></td>
<?php }
if ($columns['tag']) { ?>
- <td class="tag"><?= $opt->tag($item->tag('array')) ?></td>
+ <td class="tag"><?= $opt->taglinks($item->tag('array')) ?></td>
<?php }
if ($columns['title']) { ?>
<td class="title" title="<?= $item->title() ?>"><?= $item->title() ?></td>
@@ -121,10 +121,10 @@
<td class="date"><?= $item->date('dmy') ?></td>
<?php }
if ($columns['secure']) { ?>
- <td class="secure"><?= $item->secure('string') ?></td>
+ <td class="secure"><?= $opt->securelink($item->secure('int') , $item->secure('string')) ?></td>
<?php }
if ($columns['authors']) { ?>
- <td class="authors"><?= $opt->author($item->authors('array')) ?></td>
+ <td class="authors"><?= $opt->authorlinks($item->authors('array')) ?></td>
<?php }
if ($columns['visitcount']) { ?>
<td class="visitcount"><?= $item->visitcount() ?></td>