diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-10 21:43:24 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-10 21:43:24 +0100 |
commit | 2f363e8fa26ab849539e64ff7caa21bd164e8979 (patch) | |
tree | 238f2689e44bfc26329f970ced4c678b1ab6818d /w/view/templates/edit.php | |
parent | 687b1f851abbb28750d2921d4f5beaac24b3249d (diff) | |
download | wcms-2f363e8fa26ab849539e64ff7caa21bd164e8979.tar.gz wcms-2f363e8fa26ab849539e64ff7caa21bd164e8979.zip |
sidebars-html-inserts
Diffstat (limited to 'w/view/templates/edit.php')
-rw-r--r-- | w/view/templates/edit.php | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/w/view/templates/edit.php b/w/view/templates/edit.php index ee231cd..33d42f4 100644 --- a/w/view/templates/edit.php +++ b/w/view/templates/edit.php @@ -3,42 +3,33 @@ - -<?php $this->start('customhead') ?> - <script src="./rsc/js/app.js"></script> -<?php $this->stop() ?> - - - - - - <?php $this->start('page') ?> +<style>.tabs textarea{font-size: <?= Config::fontsize() ?>px}</style> + <body> +<section class="editor"> <?php $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> <?php $this->insert('edittopbar', ['art' => $art]) ?> - <?php $this->insert('editsidebar', ['art' => $art]) ?> - -<style>textarea{font-size: <?= Config::fontsize() ?>px}</style> + <div id="workspace"> - <?php - $tablist = ['section' => $art->md(), 'css' => $art->css(), 'header' => $art->header(), 'nav' => $art->nav(), 'aside' => $art->aside(), 'footer' => $art->footer(), 'html' => $art->html(), 'javascript' => $art->javascript()]; - $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) - ?> + <?php $this->insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel]) ?> + <?php $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) ?> + <?php $this->insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel]) ?> - + </div> <input type="hidden" name="id" value="<?= $art->id() ?>"> </form> +</section> </body> <?php $this->stop() ?>
\ No newline at end of file |