diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 03:33:22 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 03:33:22 +0100 |
commit | 5aa781242e42c95c6f2e04a30510d853a89fa944 (patch) | |
tree | e1096011f9473a380240c40a01b610e37097e88f /app/view/templates/home.php | |
parent | cc73b11de5d9185825e058d1914d65bb8703077d (diff) | |
download | wcms-5aa781242e42c95c6f2e04a30510d853a89fa944.tar.gz wcms-5aa781242e42c95c6f2e04a30510d853a89fa944.zip |
new feature : authors column
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 73a00eb..ceaa98c 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -71,7 +71,9 @@ if ($columns['secure']) { ?> <th class="secure"><a href="<?= $opt->sortbyorder('secure') ?>">privacy</a></th> <?php } - + if ($columns['authors']) { ?> + <th class="authors"><a href="<?= $opt->sortbyorder('authors') ?>">authors</a></th> + <?php } if ($columns['visitcount']) { ?> <th class="visitcount"><a href="<?= $opt->sortbyorder('visitcount') ?>">visit</a></th> <?php } @@ -121,6 +123,9 @@ if ($columns['secure']) { ?> <td class="secure"><?= $item->secure('string') ?></td> <?php } + if ($columns['authors']) { ?> + <td class="authors"><?= $item->authors('string') ?></td> + <?php } if ($columns['visitcount']) { ?> <td class="visitcount"><?= $item->visitcount() ?></td> <?php } |