From f0c11cac4a2eb4b7c7ca929b860c067c7fd3839d Mon Sep 17 00:00:00 2001 From: Max Weller Date: Wed, 2 May 2012 16:59:58 +0200 Subject: [PATCH] Moved Meta Viewport from global head.tpl to diabook's header I mistakenly added this tag to the global header, but it causes problems for other themes, as they have other optimal widths. I also added a style to diabook which makes the jGrowl messages appear below the header bar, so you can still click the menu items without having to close messages first. --- view/head.tpl | 1 - view/theme/diabook/style.css | 1 + view/theme/diabook/theme.php | 8 ++++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/view/head.tpl b/view/head.tpl index 7b15412427..7638e56ca6 100644 --- a/view/head.tpl +++ b/view/head.tpl @@ -6,7 +6,6 @@ - page['htmlhead'] .= ''; +} else { + $a->page['htmlhead'] .= ''; +} + + $color = false; $site_color = get_config("diabook", "color" ); if (local_user()) {$color = get_pconfig(local_user(), "diabook", "color");}