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.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 70474c1..5860975 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -22,7 +22,7 @@
<div id="flex">
- <?php $this->insert('homeopt', ['opt' => $opt]) ?>
+ <?php $this->insert('homeopt', ['opt' => $opt, 'user' => $user]) ?>
@@ -55,7 +55,6 @@
<th>edit</th>
<th>see</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') ?>">to</a></th>
@@ -64,15 +63,15 @@
<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>
+ <th class="visitcount"><a href="<?= $opt->getadress('visitcount') ?>">visit</a></th>
</tr>
<?php foreach ($table2 as $item) { ?>
<tr>
- <td><input type="checkbox" name="id[]" value="<?= $item->id() ?>" id="<?= $item->id() ?>"></td>
- <td><label title="<?= $item->title() ?>" for="<?= $item->id() ?>"><?= $item->id() ?></label></td>
+ <td><input type="checkbox" name="id[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>"></td>
+ <td><label title="<?= $item->title() ?>" for="id_<?= $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 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" title="<?= $item->description() ?>"><?= $item->description('short') ?></td>
<td class="linkto"><a title="<?= $item->linkto('string') ?>" ><?= $item->linkto('sort') ?></a></td>
@@ -81,6 +80,7 @@
<td class="datecreation"><?= $item->datecreation('hrdi') ?></td>
<td class="date"><?= $item->date('dmy') ?></td>
<td class="secure"><?= $item->secure('string') ?></td>
+ <td class="visitcount"><?= $item->visitcount() ?></td>
</tr>
<?php }?>