From 0660c99cb9e2dae3b0e41975f643609231258147 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 28 Nov 2018 07:58:55 +0100 Subject: minor changes --- app/view/templates/edit.php | 4 ++-- app/view/templates/edittabs.php | 14 ++++++++------ app/view/templates/home.php | 2 +- app/view/templates/layout.php | 2 -- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php index a729302..8071964 100644 --- a/app/view/templates/edit.php +++ b/app/view/templates/edit.php @@ -19,7 +19,7 @@
insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel]) ?> - insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) ?> + insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface(), 'template' => $art->template()]) ?> insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel, 'fonts' => $fonts]) ?>
@@ -29,4 +29,4 @@ -stop() ?> \ No newline at end of file +stop('page') ?> \ No newline at end of file diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php index 4980354..5d74ef1 100644 --- a/app/view/templates/edittabs.php +++ b/app/view/templates/edittabs.php @@ -3,12 +3,14 @@ $value) { echo '
'; - if ($key == $opentab) { - echo ''; - } else { - echo ''; - } - echo ''; + ?> + + > + + + + '; if ($key == $opentab) { echo ''; diff --git a/app/view/templates/home.php b/app/view/templates/home.php index a11f9e3..0d09238 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -74,7 +74,7 @@ tag('sort') ?> description() ?> linkto('sort') ?> - linkfrom('sort') ?> + linkfrom('sort') ?> datemodif('hrdi') ?> datecreation('hrdi') ?> secure('string') ?> diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php index c20264d..4131350 100644 --- a/app/view/templates/layout.php +++ b/app/view/templates/layout.php @@ -7,8 +7,6 @@ <?= $title ?> - section('customhead')?> - section('arthead')?> -- cgit v1.2.3