From 14072e8bb2f4c5b7e2fdde16422dcdd037825656 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Fri, 17 Aug 2012 11:40:20 +0000 Subject: move ga tracking code into head element --- skins/Vector.php | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index 4cd2eba..a6e33cf 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -445,6 +445,21 @@ class VectorTemplate extends QuickTemplate { $this->data['personal_urls'] = array_reverse( $this->data['personal_urls'] ); } + + $this->addScript(' + +'); + // Output HTML Page $this->html( 'headelement' ); @@ -599,17 +614,6 @@ class VectorTemplate extends QuickTemplate { - -- cgit v1.2.1