aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edit.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
commit0968351067f99e8afc882d4237902642e608e6f5 (patch)
tree202d554dcc6135a88c11bee78660c53a47df2931 /app/view/templates/edit.php
parent917a3971302791d9df67c047c4e663c9fb04f0c4 (diff)
downloadwcms-0968351067f99e8afc882d4237902642e608e6f5.tar.gz
wcms-0968351067f99e8afc882d4237902642e608e6f5.zip
Big naming Clean-up Art -> Page
Diffstat (limited to 'app/view/templates/edit.php')
-rw-r--r--app/view/templates/edit.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php
index 7cebcc7..4c7fc61 100644
--- a/app/view/templates/edit.php
+++ b/app/view/templates/edit.php
@@ -1,4 +1,4 @@
-<?php $this->layout('layout', ['title' => '✏ '.$art->title(), 'css' => $css . 'edit.css', 'favicon' => $art->favicon()]) ?>
+<?php $this->layout('layout', ['title' => '✏ '.$page->title(), 'css' => $css . 'edit.css', 'favicon' => $page->favicon()]) ?>
@@ -10,16 +10,16 @@
<body>
<main class="editor">
- <?php $this->insert('backtopbar', ['user' => $user, 'tab' => 'edit', 'pagelist' => $pagelist, 'pageid' => $art->id()]) ?>
+ <?php $this->insert('backtopbar', ['user' => $user, 'tab' => 'edit', 'pagelist' => $pagelist, 'pageid' => $page->id()]) ?>
- <?php $this->insert('edittopbar', ['art' => $art, 'user' => $user]) ?>
+ <?php $this->insert('edittopbar', ['page' => $page, 'user' => $user]) ?>
<div id="workspace">
- <?php $this->insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel, 'faviconlist' => $faviconlist]) ?>
- <?php $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface(), 'templates' => $art->template()]) ?>
- <?php $this->insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel, 'templates' => $art->template(), 'tagartlist' => $tagartlist, 'lasteditedartlist' => $lasteditedartlist, 'editorlist' => $editorlist, 'user' => $user]) ?>
+ <?php $this->insert('editleftbar', ['page' => $page, 'tablist' => $tablist, 'pagelist' => $pagelist, 'showleftpanel' => $showleftpanel, 'faviconlist' => $faviconlist]) ?>
+ <?php $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $page->interface(), 'templates' => $page->template()]) ?>
+ <?php $this->insert('editrightbar', ['page' => $page, 'pagelist' => $pagelist, 'showrightpanel' => $showrightpanel, 'templates' => $page->template(), 'tagpagelist' => $tagpagelist, 'lasteditedpagelist' => $lasteditedpagelist, 'editorlist' => $editorlist, 'user' => $user]) ?>
</div>
@@ -28,7 +28,7 @@
</main>
<script>
- const artid = '<?= $art->id() ?>';
+ const pageid = '<?= $page->id() ?>';
</script>
<script src="<?= Model::jspath() ?>edit.js"></script>
</body>