From a41bfcbfafc157f475cba65c73540ab427229508 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 25 Feb 2014 10:13:36 +0000 Subject: [PATCH] Restructure outer layout --- application/layouts/scripts/body.phtml | 22 ++++++++++++--- application/layouts/scripts/parts/menu.phtml | 2 +- .../layouts/scripts/parts/navigation.phtml | 27 ++++++++++--------- 3 files changed, 34 insertions(+), 17 deletions(-) diff --git a/application/layouts/scripts/body.phtml b/application/layouts/scripts/body.phtml index 41c275d69..995d3baae 100755 --- a/application/layouts/scripts/body.phtml +++ b/application/layouts/scripts/body.phtml @@ -1,9 +1,26 @@ isAuthenticated()): ?>
-
+ + -
render('inline.phtml') ?> diff --git a/application/layouts/scripts/parts/menu.phtml b/application/layouts/scripts/parts/menu.phtml index 7955f3251..b07cc641a 100644 --- a/application/layouts/scripts/parts/menu.phtml +++ b/application/layouts/scripts/parts/menu.phtml @@ -11,7 +11,7 @@ foreach ($this->items as $item) { $item->getIcon(), array('height' => '16px', 'width' => '16px') ) . ' ' : '', - $item->getTitle() + $this->escape($item->getTitle()) ); if ($item->hasChildren()) { diff --git a/application/layouts/scripts/parts/navigation.phtml b/application/layouts/scripts/parts/navigation.phtml index f4b27a828..99c8e07c4 100755 --- a/application/layouts/scripts/parts/navigation.phtml +++ b/application/layouts/scripts/parts/navigation.phtml @@ -1,19 +1,20 @@ - -