diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-08-04 03:53:22 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-08-04 03:53:22 +0400 |
commit | 1dfc7ae2d07f99daccd432762c232b9329ea4285 (patch) | |
tree | e60f0a9ebcbc8ab2c9f45031284bec17cc532523 /plugins/CoreHome/templates/index.tpl | |
parent | 3f93985c07dcfa88d905b468692ac32b684cd558 (diff) |
- renamed modules/ directory in core/
- cleaning admin UI
- adding widgetize module
- cleaning template architecture
Diffstat (limited to 'plugins/CoreHome/templates/index.tpl')
-rw-r--r-- | plugins/CoreHome/templates/index.tpl | 53 |
1 files changed, 5 insertions, 48 deletions
diff --git a/plugins/CoreHome/templates/index.tpl b/plugins/CoreHome/templates/index.tpl index 43fb78a0d8..42b26fd2f3 100644 --- a/plugins/CoreHome/templates/index.tpl +++ b/plugins/CoreHome/templates/index.tpl @@ -2,10 +2,10 @@ <html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>Piwik - Your Web Analytics Reports</title>
+<title>Piwik › Your Web Analytics Reports</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-{loadJavascriptTranslations modules='CoreHome'}
+{loadJavascriptTranslations plugins='CoreHome'}
<script type="text/javascript">
var period = "{$period}";
var currentDateStr = "{$date}";
@@ -14,59 +14,16 @@ var minDateMonth = {$minDateMonth}; var minDateDay = {$minDateDay};
</script>
-<script type="text/javascript" src="libs/jquery/jquery.js"></script>
-
-<script type="text/javascript" src="themes/default/common.js"></script>
-<script type="text/javascript" src="libs/jquery/jquery.dimensions.js"></script>
-<script type="text/javascript" src="libs/jquery/tooltip/jquery.tooltip.js"></script>
-<script type="text/javascript" src="libs/jquery/truncate/jquery.truncate.js"></script>
-<script type="text/javascript" src="libs/jquery/jquery.scrollTo.js"></script>
-<script type="text/javascript" src="libs/jquery/jquery-calendar.js"></script>
-<script type="text/javascript" src="libs/swfobject/swfobject.js"></script>
-
-<script type="text/javascript" src="plugins/CoreHome/templates/datatable.js"></script>
-<script type="text/javascript" src="plugins/CoreHome/templates/calendar.js"></script>
-<script type="text/javascript" src="plugins/CoreHome/templates/date.js"></script>
-
-<script type="text/javascript" src="libs/jquery/jquery.blockUI.js"></script>
-<script type="text/javascript" src="libs/jquery/ui.mouse.js"></script>
-<script type="text/javascript" src="libs/jquery/ui.sortable_modif.js"></script>
-
-<link rel="stylesheet" href="plugins/CoreHome/templates/datatable.css" />
-<link rel="stylesheet" href="plugins/Dashboard/templates/dashboard.css" />
-<style type="text/css">@import url(libs/jquery/jquery-calendar.css);</style>
-
-<script type="text/javascript" src="libs/jquery/superfish_modified.js"></script>
-<script type="text/javascript" src="plugins/CoreHome/templates/menu.js"></script>
-<link rel="stylesheet" type="text/css" href="plugins/CoreHome/templates/menu.css" media="screen" />
-<link rel="stylesheet" type="text/css" href="plugins/CoreHome/templates/style.css" media="screen" />
-
-<script type="text/javascript" src="libs/jquery/thickbox.js"></script>
-<link rel="stylesheet" href="libs/jquery/thickbox.css" />
+{include file="CoreHome/templates/js_css_includes.tpl"}
</head>
<body>
+{assign var=showSitesSelection value=true}
{include file="CoreHome/templates/top_bar.tpl"}
-
-<br clear="all" />
-
-<div id="header">
{include file="CoreHome/templates/header.tpl"}
-</div>
-
-<noscript>
-<span id="javascriptDisable">
-{'CoreHome_JavascriptDisabled'|translate:'<a href="">':'</a>'}
-</span>
-</noscript>
-
-<br />
{include file="CoreHome/templates/menu.tpl"}
-
<div style='clear:both'></div>
-
-<div id="loadingPiwik" {if $basicHtmlView}style="display:none"{/if}><img src="themes/default/images/loading-blue.gif" alt="" /> {'General_LoadingData'|translate}</div>
-<div id="loadingError">{'General_ErrorRequest'|translate}</div>
+{include file="CoreHome/templates/loading.tpl"}
<div id='content'>
{if $content}{$content}{/if}
|