From 604085e8b216cebbbcc8a3128237b6aa28a304b3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 14 Dec 2018 03:28:11 +0300 Subject: [PATCH] Update theme simple according to the php template syntax guidelines --- site/themes/simple/views/partials/head.php | 22 ++++++++++--------- .../simple/views/partials/navigation.php | 4 ++-- site/themes/simple/views/partials/tail.php | 8 ++++--- .../themes/simple/views/templates/default.php | 2 +- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/site/themes/simple/views/partials/head.php b/site/themes/simple/views/partials/head.php index c12e4b39..a90528d5 100755 --- a/site/themes/simple/views/partials/head.php +++ b/site/themes/simple/views/partials/head.php @@ -3,26 +3,28 @@ use Flextype\Component\{Event\Event, Http\Http, Registry\Registry, Assets\Assets, Text\Text, Html\Html}; ?> - + - + - - - - + + + + - <?php echo Html::toText($page['title']); ?> | <?php echo Html::toText(Registry::get('settings.title')); ?> + <?= Html::toText($page['title']); ?> | <?= Html::toText(Registry::get('settings.title')); ?> - - - + + + + + diff --git a/site/themes/simple/views/partials/navigation.php b/site/themes/simple/views/partials/navigation.php index 53309223..99f65f90 100755 --- a/site/themes/simple/views/partials/navigation.php +++ b/site/themes/simple/views/partials/navigation.php @@ -4,14 +4,14 @@ ?>