From 51366e2c22170eb26ec6a555582f348ffd35aac4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf <thomas@gelf.net> Date: Fri, 5 Sep 2014 13:21:29 +0200 Subject: [PATCH] layout: change header element order --- application/layouts/scripts/layout.phtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml index 32c4879b4..c4354cee2 100644 --- a/application/layouts/scripts/layout.phtml +++ b/application/layouts/scripts/layout.phtml @@ -29,17 +29,17 @@ $iframeClass = $isIframe ? ' iframe' : ''; <title><?= $this->title ? $this->escape($this->title) : 'Icinga Web' ?></title> <!-- TODO: viewport and scale settings make no sense for us, fix this --> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> - <link rel="stylesheet" href="<?= $this->href($cssfile) ?>" media="screen" type="text/css" /> - <? if ($isIframe): ?> +<? if ($isIframe): ?> <base target="_parent"/> - <?php else: ?> +<?php else: ?> <script type="text/javascript"> (function() { var html = document.getElementsByTagName('html')[0]; html.className = html.className.replace(/no-js/, 'js'); }()); </script> - <?php endif ?> +<?php endif ?> + <link rel="stylesheet" href="<?= $this->href($cssfile) ?>" media="screen" type="text/css" /> <!-- Respond.js IE8 support of media queries --> <!--[if lt IE 9]> <script src="<?= $this->baseUrl('js/vendor/respond.min.js');?>"></script>