aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/class/modelhome.php2
-rw-r--r--app/view/templates/home.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/class/modelhome.php b/app/class/modelhome.php
index 07c89d8..4a2da53 100644
--- a/app/class/modelhome.php
+++ b/app/class/modelhome.php
@@ -11,7 +11,7 @@ class Modelhome extends Modelart
{
$opt = new Opt(Art2::classvarlist());
- $opt->setcol(['id', 'tag', 'linkfrom', 'linkto', 'description', 'title', 'datemodif', 'datecreation', 'date', 'secure']);
+ $opt->setcol(['id', 'tag', 'linkfrom', 'linkto', 'description', 'title', 'datemodif', 'datecreation', 'date', 'secure', 'affcount']);
$opt->settaglist($table);
$opt->submit();
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 70474c1..6fcb0c8 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -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,6 +63,7 @@
<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="affcount"><a href="<?= $opt->getadress('affcount') ?>">affcount</a></th>
</tr>
<?php foreach ($table2 as $item) { ?>
<tr>
@@ -72,7 +72,6 @@
<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="affcount"><?= $item->affcount() ?></td>
</tr>
<?php }?>