Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Login/templates/header.tpl')
-rw-r--r--plugins/Login/templates/header.tpl114
1 files changed, 59 insertions, 55 deletions
diff --git a/plugins/Login/templates/header.tpl b/plugins/Login/templates/header.tpl
index 6b27f66710..e4e1919633 100644
--- a/plugins/Login/templates/header.tpl
+++ b/plugins/Login/templates/header.tpl
@@ -1,60 +1,64 @@
<!DOCTYPE html>
-<!--[if lt IE 9 ]><html class="old-ie"> <![endif]-->
-<!--[if (gte IE 9)|!(IE)]><!--><html><!--<![endif]-->
+<!--[if lt IE 9 ]>
+<html class="old-ie"> <![endif]-->
+<!--[if (gte IE 9)|!(IE)]><!-->
+<html><!--<![endif]-->
<head>
- <title>{if !$isCustomLogo}Piwik &rsaquo; {/if}{'Login_LogIn'|translate}</title>
- <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" />
- <meta name="description" content="{'General_OpenSourceWebAnalytics'|translate|escape}" />
- <!--[if lt IE 9]>
- <script src="libs/html5shiv/html5shiv.js"></script>
- <![endif]-->
- <script type="text/javascript" src="libs/jquery/jquery.js"></script>
- <script type="text/javascript" src="libs/jquery/jquery.placeholder.js"></script>
-{if isset($forceSslLogin) && $forceSslLogin}
-{literal}
- <script type="text/javascript">
- if(window.location.protocol !== 'https:') {
- var url = window.location.toString();
- url = url.replace(/^http:/, 'https:');
- window.location.replace(url);
- }
- </script>
-{/literal}
-{/if}
-{literal}
- <script type="text/javascript">
- $(function() {
- $('#form_login').focus();
- $('input').placeholder();
- });
- </script>
-{/literal}
- <script type="text/javascript" src="plugins/Login/templates/login.js"></script>
-{if 'General_LayoutDirection'|translate =='rtl'}
-<link rel="stylesheet" type="text/css" href="themes/default/rtl.css" />
-{/if}
-{include file="CoreHome/templates/iframe_buster_header.tpl"}
+ <title>{if !$isCustomLogo}Piwik &rsaquo; {/if}{'Login_LogIn'|translate}</title>
+ <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"/>
+ <meta name="description" content="{'General_OpenSourceWebAnalytics'|translate|escape}"/>
+ <!--[if lt IE 9]>
+ <script src="libs/html5shiv/html5shiv.js"></script>
+ <![endif]-->
+ <script type="text/javascript" src="libs/jquery/jquery.js"></script>
+ <script type="text/javascript" src="libs/jquery/jquery.placeholder.js"></script>
+ {if isset($forceSslLogin) && $forceSslLogin}
+ {literal}
+ <script type="text/javascript">
+ if (window.location.protocol !== 'https:') {
+ var url = window.location.toString();
+ url = url.replace(/^http:/, 'https:');
+ window.location.replace(url);
+ }
+ </script>
+ {/literal}
+ {/if}
+ {literal}
+ <script type="text/javascript">
+ $(function () {
+ $('#form_login').focus();
+ $('input').placeholder();
+ });
+ </script>
+ {/literal}
+ <script type="text/javascript" src="plugins/Login/templates/login.js"></script>
+ {if 'General_LayoutDirection'|translate =='rtl'}
+ <link rel="stylesheet" type="text/css" href="themes/default/rtl.css"/>
+ {/if}
+ {include file="CoreHome/templates/iframe_buster_header.tpl"}
</head>
<body class="login">
{include file="CoreHome/templates/iframe_buster_body.tpl"}
- <div id="logo">
- {if !$isCustomLogo}<a href="http://piwik.org" title="{$linkTitle}">{/if}
- {if $hasSVGLogo}
- <img src='{$logoSVG}' title="{$linkTitle}" alt="Piwik" width="240" style='margin-right: 20px' class="ie-hide" />
- <!--[if lt IE 9]>
- {/if}
- <img src='{$logoLarge}' title="{$linkTitle}" alt="Piwik" width="240" style='margin-right:20px' />
- {if $hasSVGLogo}<![endif]-->{/if}
- {if $isCustomLogo}
- {capture name='poweredByPiwik'}
- <i><a href="http://piwik.org/" target="_blank">{$linkTitle}</a></i>
- {/capture}
- {/if}
- {if !$isCustomLogo}</a>
- <div class="description"><a href="http://piwik.org" title="{$linkTitle}">{$linkTitle}</a>
- <div class="arrow"> </div>
- </div>
- {/if}
- </div>
+<div id="logo">
+ {if !$isCustomLogo}<a href="http://piwik.org" title="{$linkTitle}">{/if}
+ {if $hasSVGLogo}
+ <img src='{$logoSVG}' title="{$linkTitle}" alt="Piwik" width="240" style='margin-right: 20px' class="ie-hide"/>
+ <!--[if lt IE 9]>
+ {/if}
+ <img src='{$logoLarge}' title="{$linkTitle}" alt="Piwik" width="240" style='margin-right:20px'/>
+ {if $hasSVGLogo}<![endif]-->{/if}
+ {if $isCustomLogo}
+ {capture name='poweredByPiwik'}
+ <i><a href="http://piwik.org/" target="_blank">{$linkTitle}</a></i>
+ {/capture}
+ {/if}
+ {if !$isCustomLogo}</a>
+
+ <div class="description"><a href="http://piwik.org" title="{$linkTitle}">{$linkTitle}</a>
+
+ <div class="arrow"></div>
+ </div>
+ {/if}
+</div>