diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-02-12 19:44:00 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-02-12 19:44:00 +0100 |
commit | e32f2f1749c691f6c778261a8f8d300573895345 (patch) | |
tree | 84a4293c7f0781243259d21f2472273c0f52fada /app/view/templates/home.php | |
parent | 0937c851313b5098dc15e5d411b6c3638cbd5116 (diff) | |
download | wcms-e32f2f1749c691f6c778261a8f8d300573895345.tar.gz wcms-e32f2f1749c691f6c778261a8f8d300573895345.zip |
Link to refactoring close #48
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 63a63e1..1d15a8d 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -74,10 +74,7 @@ <th class="summary">summary</th> <?php } if ($columns['linkto']) { ?> - <th class="linkto"><a href="<?= $opt->sortbyorder('linkto') ?>">to</a></th> - <?php } - if ($columns['linkfrom']) { ?> - <th class="linkfrom"><a href="<?= $opt->sortbyorder('linkfrom') ?>">from</a></th> + <th class="linkto"><a href="<?= $opt->sortbyorder('linkto') ?>">linkto</a></th> <?php } if ($columns['datemodif']) { ?> <th class="datemodif"><a href="<?= $opt->sortbyorder('datemodif') ?>">last modification</a></th> @@ -129,10 +126,7 @@ <td class="summary" title="<?= $item->description() ?>"><?= $item->description('short') ?></td> <?php } if ($columns['linkto']) { ?> - <td class="linkto"><a title="<?= $item->linkto('string') ?>"><?= $item->linkto('sort') ?></a></td> - <?php } - if ($columns['linkfrom']) { ?> - <td class="linkfrom"><?= $opt->linktolink($item->linkfrom('array')) ?></td> + <td class="linkto"><?= $opt->linktolink($item->linkto('array')) ?></td> <?php } if ($columns['datemodif']) { ?> <td class="datemodif"><time datetime="<?= $item->datemodif('string') ?>" title="<?= $item->datemodif('dmy') . ' ' . $item->datemodif('ptime') ?>"><?= $item->datemodif('hrdi') ?></time></td> |