From 9580e2f70ebf9fc7cf964f47e3fc0eba66645602 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 26 Sep 2013 16:15:03 +0200 Subject: [PATCH] added tracking code to the layouts --- webui/config.php | 2 ++ webui/view/theme/default/templates/common/layout-audit.tpl | 1 + webui/view/theme/default/templates/common/layout-email.tpl | 2 ++ webui/view/theme/default/templates/common/layout-search.tpl | 2 ++ webui/view/theme/default/templates/common/layout.tpl | 2 ++ webui/view/theme/default/templates/login/login.tpl | 2 ++ webui/view/theme/default/templates/login/logout.tpl | 2 ++ webui/view/theme/mobile/templates/common/layout-audit.tpl | 1 + webui/view/theme/mobile/templates/common/layout-email.tpl | 2 ++ webui/view/theme/mobile/templates/common/layout-search.tpl | 1 + webui/view/theme/mobile/templates/common/layout.tpl | 2 ++ webui/view/theme/mobile/templates/login/login.tpl | 1 + webui/view/theme/mobile/templates/login/logout.tpl | 2 ++ 13 files changed, 22 insertions(+) diff --git a/webui/config.php b/webui/config.php index 65d9de5c..e0fb2184 100644 --- a/webui/config.php +++ b/webui/config.php @@ -218,6 +218,8 @@ $config['DATA_PARTITION'] = '/var'; $config['DELIMITER'] = "\t"; +$config['TRACKING_CODE'] = ''; + $langs = array( 'de', 'en', diff --git a/webui/view/theme/default/templates/common/layout-audit.tpl b/webui/view/theme/default/templates/common/layout-audit.tpl index 01bd0765..9d1f1742 100644 --- a/webui/view/theme/default/templates/common/layout-audit.tpl +++ b/webui/view/theme/default/templates/common/layout-audit.tpl @@ -104,6 +104,7 @@ + diff --git a/webui/view/theme/default/templates/common/layout-email.tpl b/webui/view/theme/default/templates/common/layout-email.tpl index 62e5f0dc..a6c6c2a0 100644 --- a/webui/view/theme/default/templates/common/layout-email.tpl +++ b/webui/view/theme/default/templates/common/layout-email.tpl @@ -52,5 +52,7 @@ + + diff --git a/webui/view/theme/default/templates/common/layout-search.tpl b/webui/view/theme/default/templates/common/layout-search.tpl index 4aaa4e06..9f62e935 100644 --- a/webui/view/theme/default/templates/common/layout-search.tpl +++ b/webui/view/theme/default/templates/common/layout-search.tpl @@ -112,5 +112,7 @@ }); + + diff --git a/webui/view/theme/default/templates/common/layout.tpl b/webui/view/theme/default/templates/common/layout.tpl index 1b620810..a5838bc3 100644 --- a/webui/view/theme/default/templates/common/layout.tpl +++ b/webui/view/theme/default/templates/common/layout.tpl @@ -64,5 +64,7 @@ if(isset($this->request->get['route'])) { + + diff --git a/webui/view/theme/default/templates/login/login.tpl b/webui/view/theme/default/templates/login/login.tpl index b33953a3..3c1d2927 100644 --- a/webui/view/theme/default/templates/login/login.tpl +++ b/webui/view/theme/default/templates/login/login.tpl @@ -60,5 +60,7 @@ + + diff --git a/webui/view/theme/default/templates/login/logout.tpl b/webui/view/theme/default/templates/login/logout.tpl index 15d26d19..120d2f19 100644 --- a/webui/view/theme/default/templates/login/logout.tpl +++ b/webui/view/theme/default/templates/login/logout.tpl @@ -43,5 +43,7 @@ + + diff --git a/webui/view/theme/mobile/templates/common/layout-audit.tpl b/webui/view/theme/mobile/templates/common/layout-audit.tpl index 17c2b137..a8bbf460 100644 --- a/webui/view/theme/mobile/templates/common/layout-audit.tpl +++ b/webui/view/theme/mobile/templates/common/layout-audit.tpl @@ -144,6 +144,7 @@ $(document).ready(function(){ + diff --git a/webui/view/theme/mobile/templates/common/layout-email.tpl b/webui/view/theme/mobile/templates/common/layout-email.tpl index 9f8f86f9..5cbcae79 100644 --- a/webui/view/theme/mobile/templates/common/layout-email.tpl +++ b/webui/view/theme/mobile/templates/common/layout-email.tpl @@ -42,5 +42,7 @@ + + diff --git a/webui/view/theme/mobile/templates/common/layout-search.tpl b/webui/view/theme/mobile/templates/common/layout-search.tpl index f7a8065e..f7260e04 100644 --- a/webui/view/theme/mobile/templates/common/layout-search.tpl +++ b/webui/view/theme/mobile/templates/common/layout-search.tpl @@ -132,6 +132,7 @@ $(document).ready(function(){ }); + diff --git a/webui/view/theme/mobile/templates/common/layout.tpl b/webui/view/theme/mobile/templates/common/layout.tpl index 834bb3dc..4eac1eb8 100644 --- a/webui/view/theme/mobile/templates/common/layout.tpl +++ b/webui/view/theme/mobile/templates/common/layout.tpl @@ -60,5 +60,7 @@ if(isset($this->request->get['route'])) { + + diff --git a/webui/view/theme/mobile/templates/login/login.tpl b/webui/view/theme/mobile/templates/login/login.tpl index 134307c5..b039c65a 100644 --- a/webui/view/theme/mobile/templates/login/login.tpl +++ b/webui/view/theme/mobile/templates/login/login.tpl @@ -65,6 +65,7 @@ + diff --git a/webui/view/theme/mobile/templates/login/logout.tpl b/webui/view/theme/mobile/templates/login/logout.tpl index 1699fdf7..2235bd24 100644 --- a/webui/view/theme/mobile/templates/login/logout.tpl +++ b/webui/view/theme/mobile/templates/login/logout.tpl @@ -40,5 +40,7 @@ + +