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/CoreAdminHome/templates/header.tpl')
-rw-r--r--plugins/CoreAdminHome/templates/header.tpl125
1 files changed, 64 insertions, 61 deletions
diff --git a/plugins/CoreAdminHome/templates/header.tpl b/plugins/CoreAdminHome/templates/header.tpl
index acfa47e3d4..84a8407b0a 100644
--- a/plugins/CoreAdminHome/templates/header.tpl
+++ b/plugins/CoreAdminHome/templates/header.tpl
@@ -1,80 +1,83 @@
<!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}{'CoreAdminHome_Administration'|translate}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Piwik - Open Source Web Analytics" />
-<link rel="shortcut icon" href="plugins/CoreHome/templates/images/favicon.ico" />
+ <title>{if !$isCustomLogo}Piwik &rsaquo; {/if}{'CoreAdminHome_Administration'|translate}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="generator" content="Piwik - Open Source Web Analytics"/>
+ <link rel="shortcut icon" href="plugins/CoreHome/templates/images/favicon.ico"/>
-{loadJavascriptTranslations plugins='CoreAdminHome CoreHome'}
+ {loadJavascriptTranslations plugins='CoreAdminHome CoreHome'}
-{include file="CoreHome/templates/js_global_variables.tpl"}
-{include file="CoreHome/templates/js_css_includes.tpl"}
-<!--[if IE]>
-<link rel="stylesheet" type="text/css" href="themes/default/ieonly.css" />
-<![endif]-->
-{include file="CoreHome/templates/iframe_buster_header.tpl"}
+ {include file="CoreHome/templates/js_global_variables.tpl"}
+ {include file="CoreHome/templates/js_css_includes.tpl"}
+ <!--[if IE]>
+ <link rel="stylesheet" type="text/css" href="themes/default/ieonly.css"/>
+ <![endif]-->
+ {include file="CoreHome/templates/iframe_buster_header.tpl"}
</head>
<body>
{include file="CoreHome/templates/iframe_buster_body.tpl"}
<div id="root">
-{if !isset($showTopMenu) || $showTopMenu}
-{assign var=showSitesSelection value=false}
-{assign var=showPeriodSelection value=false}
-{include file="CoreHome/templates/top_bar.tpl"}
-{/if}
+ {if !isset($showTopMenu) || $showTopMenu}
+ {assign var=showSitesSelection value=false}
+ {assign var=showPeriodSelection value=false}
+ {include file="CoreHome/templates/top_bar.tpl"}
+ {/if}
-<div id="header">
-{include file="CoreHome/templates/logo.tpl"}
-{if $showPeriodSelection}{include file="CoreHome/templates/period_select.tpl"}{/if}
-{include file="CoreHome/templates/js_disabled_notice.tpl"}
-</div>
+ <div id="header">
+ {include file="CoreHome/templates/logo.tpl"}
+ {if $showPeriodSelection}{include file="CoreHome/templates/period_select.tpl"}{/if}
+ {include file="CoreHome/templates/js_disabled_notice.tpl"}
+ </div>
-{ajaxRequestErrorDiv}
-<div id="container">
-{if !isset($showMenu) || $showMenu}
- {include file="CoreAdminHome/templates/menu.tpl"}
-{/if}
+ {ajaxRequestErrorDiv}
+ <div id="container">
+ {if !isset($showMenu) || $showMenu}
+ {include file="CoreAdminHome/templates/menu.tpl"}
+ {/if}
-<div id="content" class="admin">
+ <div id="content" class="admin">
-{include file="CoreHome/templates/header_message.tpl"}
+ {include file="CoreHome/templates/header_message.tpl"}
-{if !empty($configFileNotWritable)}
- <div class="ajaxSuccess" style="display:inline-block">
- {'General_ConfigFileIsNotWritable'|translate:"(config/config.ini.php)":"<br/>"}
- </div>
-{elseif preg_match('/updated=[1-9]/', $url)}
- <div class="ajaxSuccess" style="display:inline-block">
- {'General_YourChangesHaveBeenSaved'|translate}
- </div>
-{/if}
+ {if !empty($configFileNotWritable)}
+ <div class="ajaxSuccess" style="display:inline-block">
+ {'General_ConfigFileIsNotWritable'|translate:"(config/config.ini.php)":"<br/>"}
+ </div>
+ {elseif preg_match('/updated=[1-9]/', $url)}
+ <div class="ajaxSuccess" style="display:inline-block">
+ {'General_YourChangesHaveBeenSaved'|translate}
+ </div>
+ {/if}
-{if !empty($statisticsNotRecorded)}
- <div class="ajaxSuccess" style="display:inline-block">
- {'General_StatisticsAreNotRecorded'|translate}
- </div>
-{/if}
+ {if !empty($statisticsNotRecorded)}
+ <div class="ajaxSuccess" style="display:inline-block">
+ {'General_StatisticsAreNotRecorded'|translate}
+ </div>
+ {/if}
-<div class="ui-confirm" id="alert">
- <h2></h2>
- <input role="no" type="button" value="{'General_Ok'|translate}" />
-</div>
+ <div class="ui-confirm" id="alert">
+ <h2></h2>
+ <input role="no" type="button" value="{'General_Ok'|translate}"/>
+ </div>
-{include file="CoreHome/templates/warning_invalid_host.tpl"}
+ {include file="CoreHome/templates/warning_invalid_host.tpl"}
-{* missing plugins warning *}
-{if $isSuperUser && !empty($missingPluginsWarning)}
-<div class="ajaxSuccess">
- <strong>{'General_Warning'|translate}:&nbsp;</strong>{$missingPluginsWarning}
-</div>
-{/if}
+ {* missing plugins warning *}
+ {if $isSuperUser && !empty($missingPluginsWarning)}
+ <div class="ajaxSuccess">
+ <strong>{'General_Warning'|translate}:&nbsp;</strong>{$missingPluginsWarning}
+ </div>
+ {/if}
-{* old GeoIP plugin warning *}
-{if $isSuperUser && !empty($usingOldGeoIPPlugin)}
-<div class="ajaxSuccess">
- <strong>{'General_Warning'|translate}:&nbsp;</strong>{'UserCountry_OldGeoIPWarning'|translate:'<a href="index.php?module=CorePluginsAdmin&action=index&idSite=1&period=day&date=yesterday">':'</a>':'<a href="index.php?module=UserCountry&action=adminIndex&idSite=1&period=day&date=yesterday#location-providers">':'</a>':'<a href="http://piwik.org/faq/how-to/#faq_167">':'</a>':'<a href="http://piwik.org/faq/how-to/#faq_59">':'</a>'}
-</div>
-{/if}
+ {* old GeoIP plugin warning *}
+ {if $isSuperUser && !empty($usingOldGeoIPPlugin)}
+ <div class="ajaxSuccess">
+ <strong>{'General_Warning'|translate}
+ :&nbsp;</strong>{'UserCountry_OldGeoIPWarning'|translate:'<a href="index.php?module=CorePluginsAdmin&action=index&idSite=1&period=day&date=yesterday">':'</a>':'<a href="index.php?module=UserCountry&action=adminIndex&idSite=1&period=day&date=yesterday#location-providers">':'</a>':'<a href="http://piwik.org/faq/how-to/#faq_167">':'</a>':'<a href="http://piwik.org/faq/how-to/#faq_59">':'</a>'}
+ </div>
+ {/if}