From c4c9ccdb24bec9c1a39546866704b6d2fcbd4adb Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 19 Jan 2019 15:55:39 +0300 Subject: [PATCH] Update admin theme to the php template syntax guidelines --- site/plugins/admin/views/partials/footer.php | 4 ++-- site/plugins/admin/views/partials/head.php | 22 +++++++++++--------- site/plugins/admin/views/partials/tail.php | 6 +++--- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/site/plugins/admin/views/partials/footer.php b/site/plugins/admin/views/partials/footer.php index da9bf92b..435c7eeb 100755 --- a/site/plugins/admin/views/partials/footer.php +++ b/site/plugins/admin/views/partials/footer.php @@ -1,8 +1,8 @@ - + -display() ?> + display() ?> diff --git a/site/plugins/admin/views/partials/head.php b/site/plugins/admin/views/partials/head.php index c4d638df..30ba9a88 100755 --- a/site/plugins/admin/views/partials/head.php +++ b/site/plugins/admin/views/partials/head.php @@ -16,7 +16,7 @@ use function Flextype\Component\I18n\__; - + FLEXTYPE @@ -26,15 +26,17 @@ use function Flextype\Component\I18n\__; - - + + - + - - - + + + + + - + - class="content-full-size" > + class="content-full-size" >
- display(); ?> + display() ?>
diff --git a/site/plugins/admin/views/partials/tail.php b/site/plugins/admin/views/partials/tail.php index 8d80681a..882cbae6 100755 --- a/site/plugins/admin/views/partials/tail.php +++ b/site/plugins/admin/views/partials/tail.php @@ -20,9 +20,9 @@ use Flextype\Component\{Http\Http, Event\Event, Registry\Registry, Assets\Assets theme: 'flat' } - Messenger().post({ type: "success", message : "", hideAfter: '3' }); - Messenger().post({ type: "warning", message : "", hideAfter: '3' }); - Messenger().post({ type: "error", message : "", hideAfter: '3' }); + Messenger().post({ type: "success", message : "", hideAfter: '3' }); + Messenger().post({ type: "warning", message : "", hideAfter: '3' }); + Messenger().post({ type: "error", message : "", hideAfter: '3' }); if (typeof $.flextype == 'undefined') $.flextype = {};