diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2019-11-06 11:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 11:36:17 +0100 |
commit | 1add9049bedd3ac381e42ea5c177c5e0b871a50a (patch) | |
tree | 0416e194fcbb20ecb4f47d8783c8ad4bd38105e7 /app/view/templates/home.php | |
parent | f1f63f556c41c99d45cd610186b0982383eff375 (diff) | |
parent | c77fe80b05829fbfd5b94f43a7b709e3f3ec6c0d (diff) | |
download | wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.tar.gz wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.zip |
Merge pull request #27 from n-peugnet/composer-psr4-autoloading
refactor: switch to psr-4 autoloading
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 2ee791a..9758c95 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -87,11 +87,11 @@ <tr> <td class="hidephone"><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->upage('pageedit', $item->id()) ?>"><img src="<?= Model::iconpath() ?>edit.png" class="icon"></a></td> - <td><a href="<?= $this->upage('pageread/', $item->id()) ?>" target="_blank"><img src="<?= Model::iconpath() ?>read.png" class="icon"></a></td> + <td><a href="<?= $this->upage('pageedit', $item->id()) ?>"><img src="<?= Wcms\Model::iconpath() ?>edit.png" class="icon"></a></td> + <td><a href="<?= $this->upage('pageread/', $item->id()) ?>" target="_blank"><img src="<?= Wcms\Model::iconpath() ?>read.png" class="icon"></a></td> <td class="delete"><a href="<?= $this->upage('pagedelete', $item->id()) ?>">✖</a></td> <?php if ($user->issupereditor()) { ?> - <td class="hidephone"><a href="<?= $this->upage('pagedownload', $item->id()) ?>" download><img src="<?= Model::iconpath() ?>download.png" class="icon"></a></td> + <td class="hidephone"><a href="<?= $this->upage('pagedownload', $item->id()) ?>" download><img src="<?= Wcms\Model::iconpath() ?>download.png" class="icon"></a></td> <?php } if ($columns['tag']) { ?> <td class="tag"><a title="<?= $item->tag('string') ?>"><?= $item->tag('sort') ?></a></td> @@ -141,7 +141,7 @@ </section> - <?php if($user->display()['bookmark'] && (!empty(Config::bookmark()) || !empty($user->bookmark()))) { ?> + <?php if($user->display()['bookmark'] && (!empty(Wcms\Config::bookmark()) || !empty($user->bookmark()))) { ?> <section class="hidephone" id="bookmark"> <div class="block"> @@ -149,7 +149,7 @@ <div class="scroll"> <strong>Public</strong> <ul> - <?php foreach (Config::bookmark() as $id => $query) { ?> + <?php foreach (Wcms\Config::bookmark() as $id => $query) { ?> <li> <a href="<?= $query ?>"><?= $id ?></a> </li> @@ -176,7 +176,7 @@ <?php } ?> - <script src="<?= Model::jspath() ?>home.bundle.js"></script> + <script src="<?= Wcms\Model::jspath() ?>home.bundle.js"></script> </body> |