diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 15:50:34 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 15:50:34 +0200 |
commit | 0968351067f99e8afc882d4237902642e608e6f5 (patch) | |
tree | 202d554dcc6135a88c11bee78660c53a47df2931 /app/view/templates/editrightbar.php | |
parent | 917a3971302791d9df67c047c4e663c9fb04f0c4 (diff) | |
download | wcms-0968351067f99e8afc882d4237902642e608e6f5.tar.gz wcms-0968351067f99e8afc882d4237902642e608e6f5.zip |
Big naming Clean-up Art -> Page
Diffstat (limited to 'app/view/templates/editrightbar.php')
-rw-r--r-- | app/view/templates/editrightbar.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/view/templates/editrightbar.php b/app/view/templates/editrightbar.php index 15cef7f..b0518ad 100644 --- a/app/view/templates/editrightbar.php +++ b/app/view/templates/editrightbar.php @@ -8,9 +8,9 @@ <summary>Last edited</summary> <ul> <?php - foreach ($lasteditedartlist as $id) { + foreach ($lasteditedpagelist as $id) { ?> - <li><a href="<?= $this->uart('artedit', $id) ?>"><?= $id === $art->id() ? '➤' : '✎' ?> <?= $id ?></a></li> + <li><a href="<?= $this->upage('pageedit', $id) ?>"><?= $id === $page->id() ? '➤' : '✎' ?> <?= $id ?></a></li> <?php } @@ -23,7 +23,7 @@ <details id="tags" open> <summary>Tags</summary> <?php - foreach ($tagartlist as $tag => $idlist) { + foreach ($tagpagelist as $tag => $idlist) { if(count($idlist) > 1) { ?> <strong><?= $tag ?></strong> @@ -31,11 +31,11 @@ echo '<ul>'; foreach ($idlist as $id) { - if($id === $art->id()) { + if($id === $page->id()) { echo '<li>➤ '.$id.'</li>'; } else { ?> - <li><a href="<?= $this->uart('artedit', $id) ?>">✎ <?= $id ?></a></li> + <li><a href="<?= $this->upage('pageedit', $id) ?>">✎ <?= $id ?></a></li> <?php } } @@ -54,7 +54,7 @@ foreach ($templates as $template => $id) { if(!empty($id) && !is_bool($id)) { ?> - <li><?= $template ?> : <?= $id ?> <a href="<?= $this->uart('artedit', $id) ?>">✎</a></li> + <li><?= $template ?> : <?= $id ?> <a href="<?= $this->upage('pageedit', $id) ?>">✎</a></li> <?php } } @@ -74,7 +74,7 @@ <select name="authors[]" id="authors"> <option value="" selected>--add author--</option> <?php - $notyetauthorlist = array_diff($editorlist, $art->authors()); + $notyetauthorlist = array_diff($editorlist, $page->authors()); foreach ($notyetauthorlist as $author) { echo '<option value="'.$author.'" >'.$author.'</option>'; } @@ -83,7 +83,7 @@ </select> <?php - $alreadyauthorlist = array_intersect($editorlist, $art->authors()); + $alreadyauthorlist = array_intersect($editorlist, $page->authors()); foreach ($alreadyauthorlist as $author) { ?> <div class="checkexternal"> |