diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-12 14:53:41 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-12 14:53:41 +0100 |
commit | 393709dcf84776c760146722560816172167fe98 (patch) | |
tree | 4b5c1f24beae72a0ed9e6535f725031b46be165d /app/view/templates/home.php | |
parent | 19458f7fc46c5a275f9a04b9e80fdf8175c85c6e (diff) | |
download | wcms-393709dcf84776c760146722560816172167fe98.tar.gz wcms-393709dcf84776c760146722560816172167fe98.zip |
visit counter
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 6fcb0c8..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]) ?> @@ -63,12 +63,12 @@ <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> + <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> @@ -80,7 +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> + <td class="visitcount"><?= $item->visitcount() ?></td> </tr> <?php }?> |