diff options
author | n-peugnet <n.peugnet@free.fr> | 2019-11-04 23:31:31 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2019-11-05 19:06:40 +0100 |
commit | e802d5204b96d645ec3d40b81b4a8bdc6e0ee675 (patch) | |
tree | 8e6db5e36ad8f247b442583e1e9e5da2934f4b52 /app/view/templates/homemenu.php | |
parent | f1f63f556c41c99d45cd610186b0982383eff375 (diff) | |
download | wcms-e802d5204b96d645ec3d40b81b4a8bdc6e0ee675.tar.gz wcms-e802d5204b96d645ec3d40b81b4a8bdc6e0ee675.zip |
refactor: switch to psr-4 autoloading
Diffstat (limited to 'app/view/templates/homemenu.php')
-rw-r--r-- | app/view/templates/homemenu.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index f807f7c..838ca81 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -159,10 +159,10 @@ <summary>Bookmarks</summary> <div class="submenu"> <h2>Public</h2> - <?php if(!empty(Config::bookmark())) { ?> + <?php if(!empty(Wcms\Config::bookmark())) { ?> <form action="<?= $this->url('homebookmark') ?>" method="post"> <ul> - <?php foreach (Config::bookmark() as $id => $query) { ?> + <?php foreach (Wcms\Config::bookmark() as $id => $query) { ?> <li> <label for="public-bookmark_<?= $id ?>"> <a href="<?= $query ?>" title="<?= $query ?>"><?= $id ?></a> @@ -236,7 +236,7 @@ <form action="<?= $this->url('homecolumns') ?>" method="post"> <ul> <?php - foreach (Model::COLUMNS as $col) { ?> + foreach (Wcms\Model::COLUMNS as $col) { ?> <li> <input type="checkbox" name="columns[]" value="<?= $col ?>" id="col_<?= $col ?>" <?= in_array($col, $user->columns()) ? 'checked' : '' ?>> <label for="col_<?= $col ?>"><?= $col ?></label> |