aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r--app/view/templates/home.php40
1 files changed, 21 insertions, 19 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index ac4f158..9aa3d13 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -12,7 +12,7 @@
<?php if($user->iseditor()) { ?>
-<section>
+<section class="home">
@@ -68,15 +68,16 @@
<th><a href="<?= $opt->getadress('id') ?>">id</a></th>
<th>edit</th>
<th>see</th>
- <th>del</th>
- <th>log</th>
- <th><a href="<?= $opt->getadress('tag') ?>">tag</a></th>
- <th>summary</th>
- <th><a href="<?= $opt->getadress('linkto') ?>">link to</a></th>
- <th><a href="<?= $opt->getadress('linkfrom') ?>">linkfrom</a></th>
- <th><a href="<?= $opt->getadress('datemodif') ?>">last modification</a></th>
- <th><a href="<?= $opt->getadress('datecreation') ?>">date of creation</a></th>
- <th><a href="<?= $opt->getadress('secure') ?>">privacy</a></th>
+ <th class="delete">del</th>
+ <th class="log">log</th>
+ <th class="tag"><a href="<?= $opt->getadress('tag') ?>">tag</a></th>
+ <th class="summary">summary</th>
+ <th class="linkto"><a href="<?= $opt->getadress('linkto') ?>">link to</a></th>
+ <th class="linkfrom"><a href="<?= $opt->getadress('linkfrom') ?>">linkfrom</a></th>
+ <th class="datemodif"><a href="<?= $opt->getadress('datemodif') ?>">last modification</a></th>
+ <th class="datecreation"><a href="<?= $opt->getadress('datecreation') ?>">date of creation</a></th>
+ <th class="date"><a href="<?= $opt->getadress('date') ?>">date</a></th>
+ <th class="secure"><a href="<?= $opt->getadress('secure') ?>">privacy</a></th>
</tr>
<?php foreach ($table2 as $item) { ?>
<tr>
@@ -84,15 +85,16 @@
<td><label title="<?= $item->title() ?>" for="<?= $item->id() ?>"><?= $item->id() ?></label></td>
<td><a href="<?= $this->uart('artedit', $item->id()) ?>">✏</a></td>
<td><a href="<?= $this->uart('artread/', $item->id()) ?>" target="_blank">👁</a></td>
- <td><a href="<?= $this->uart('artdelete', $item->id()) ?>" >✖</a></td>
- <td><a href="<?= $this->uart('artlog', $item->id()) ?>" target="_blank">⁋</a></td>
- <td><a title="<?= $item->tag('string') ?>"><?= $item->tag('sort') ?></a></td>
- <td><?= $item->description() ?></td>
- <td><?= $item->linkto('sort') ?></td>
- <td><a title="<?= $item->linkfrom('string') ?>" ><?= $item->linkfrom('sort') ?></a></td>
- <td><?= $item->datemodif('hrdi') ?></td>
- <td><?= $item->datecreation('hrdi') ?></td>
- <td><?= $item->secure('string') ?></td>
+ <td class="delete"><a href="<?= $this->uart('artdelete', $item->id()) ?>" >✖</a></td>
+ <td class="log"><a href="<?= $this->uart('artlog', $item->id()) ?>" target="_blank">⁋</a></td>
+ <td class="tag"><a title="<?= $item->tag('string') ?>"><?= $item->tag('sort') ?></a></td>
+ <td class="summary"><?= $item->description() ?></td>
+ <td class="linkto"><?= $item->linkto('sort') ?></td>
+ <td class="linkfrom"><a title="<?= $item->linkfrom('string') ?>" ><?= $item->linkfrom('sort') ?></a></td>
+ <td class="datemodif"><?= $item->datemodif('hrdi') ?></td>
+ <td class="datecreation"><?= $item->datecreation('hrdi') ?></td>
+ <td class="date"><?= $item->date('dmy') ?></td>
+ <td class="secure"><?= $item->secure('string') ?></td>
</tr>
<?php }?>