diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 23:05:09 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 23:05:09 +0100 |
commit | 0259be325a83e200913b3c9acd6700057f2035d9 (patch) | |
tree | 367204023c4ccead808f7f9ae1c47ef19a76eb93 /app/view/templates | |
parent | aaa5016ea6ec00137868fef0693e9ccdb2ca633d (diff) | |
download | wcms-0259be325a83e200913b3c9acd6700057f2035d9.tar.gz wcms-0259be325a83e200913b3c9acd6700057f2035d9.zip |
fix #22, fix #44
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/home.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index fa9ef63..3ca4556 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -37,6 +37,9 @@ <thead> <tr> <?php if($user->issupereditor()) { ?><th id="checkall" class="hidephone">x</th> <?php } ?> + <?php if($columns['favicon']) { ?> + <th class="favicon"><a href="<?= $opt->sortbyorder('favicon') ?>">ico</a></th> + <?php } ?> <th class="id"><a href="<?= $opt->sortbyorder('id') ?>">id</a></th> <th>edit</th> <th>see</th> @@ -89,6 +92,9 @@ <?php foreach ($table2 as $item) { ?> <tr> <?php if($user->issupereditor()) { ?><td class="hidephone"><input type="checkbox" name="pagesid[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>" form="multi"></td><?php } ?> + <?php if($columns['favicon']) { ?> + <td class="favicon"><img class="favicon" src="<?= Wcms\Model::faviconpath() . $item->favicon() ?>" alt="<?= $item->favicon() ?>" title="<?= $item->favicon() ?>"></td> + <?php } ?> <td class="id"><label title="<?= $item->title() ?>" for="id_<?= $item->id() ?>"><?= $item->id() ?></label></td> <td><?php if($user->issupereditor() || in_array($user->id(), $item->authors())) { ?><a href="<?= $this->upage('pageedit', $item->id()) ?>"><img src="<?= Wcms\Model::iconpath() ?>edit.png" class="icon"></a><?php } ?></td> <td><a href="<?= $this->upage('pageread/', $item->id()) ?>" target="_blank"><img src="<?= Wcms\Model::iconpath() ?>read.png" class="icon"></a></td> |