aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/home.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-29 14:32:58 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-29 14:32:58 +0100
commit74fb648d199bf70a3401b38fbf5a7654fdc0f23e (patch)
tree5eb07f34ee2864546ca09eee53c4b9b6742b2211 /app/view/templates/home.php
parentdbdff59c140fe45d858f4dc2c611daf56005aef6 (diff)
downloadwcms-74fb648d199bf70a3401b38fbf5a7654fdc0f23e.tar.gz
wcms-74fb648d199bf70a3401b38fbf5a7654fdc0f23e.zip
fix add label to title in home
Diffstat (limited to 'app/view/templates/home.php')
-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 60dd836..9c71b53 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -37,7 +37,7 @@
<thead>
<tr>
<?php if($user->issupereditor()) { ?><th id="checkall" class="hidephone">x</th> <?php } ?>
- <th><a href="<?= $opt->sortbyorder('id') ?>">id</a></th>
+ <th class="id"><a href="<?= $opt->sortbyorder('id') ?>">id</a></th>
<th>edit</th>
<th>see</th>
<th class="delete" title="delete page">del</th>
@@ -89,7 +89,7 @@
<?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 } ?>
- <td><label title="<?= $item->title() ?>" for="id_<?= $item->id() ?>"><?= $item->id() ?></label></td>
+ <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>
<td class="delete"><?php if($user->issupereditor() || $item->authors() === [$user->id()]) { ?><a href="<?= $this->upage('pagedelete', $item->id()) ?>">✖</a><?php } ?></td>
@@ -100,7 +100,7 @@
<td class="tag"><?= $opt->taglinks($item->tag('array')) ?></td>
<?php }
if ($columns['title']) { ?>
- <td class="title" title="<?= $item->title() ?>"><?= $item->title() ?></td>
+ <td class="title" title="<?= $item->title() ?>"><label for="id_<?= $item->id() ?>"><?= $item->title() ?></label></td>
<?php }
if ($columns['description']) { ?>
<td class="summary" title="<?= $item->description() ?>"><?= $item->description('short') ?></td>