diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-02-05 10:58:20 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-02-05 10:58:20 +0300 |
commit | b1f8603bc8fd1c179539f101c0d78e46ba481cee (patch) | |
tree | ad07aeeee9b71731f596093770f4910fed6fb562 /plugins | |
parent | df3c1046dc8c4fc0d83ef865851c15c59c356a42 (diff) |
Refs #1148 Prevent error in Signup plugin in 1.1.1
git-svn-id: http://dev.piwik.org/svn/trunk@3854 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Login/templates/header.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Login/templates/header.tpl b/plugins/Login/templates/header.tpl index 233bfa2829..82c1801bdb 100644 --- a/plugins/Login/templates/header.tpl +++ b/plugins/Login/templates/header.tpl @@ -6,12 +6,12 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="plugins/CoreHome/templates/images/favicon.ico" /> <link rel="stylesheet" type="text/css" href="plugins/Login/templates/login.css" /> -{if !$enableFramedLogins} +{if isset($enableFramedLogins) && !$enableFramedLogins} {literal} <style>body { display : none; }</style> {/literal} {/if} -{if $forceSslLogin} +{if isset($forceSslLogin) && $forceSslLogin} {literal} <script> if(window.location.protocol !== 'https:') { @@ -37,7 +37,7 @@ <script type="text/javascript" src="libs/jquery/jquery.js"></script> </head> <body class="login"> -{if !$enableFramedLogins} +{if isset($enableFramedLogins) && !$enableFramedLogins} {literal} <script type="text/javascript"> if(self == top) { |