Skip to content

Commit

Permalink
GA in OC for only 1 month
Browse files Browse the repository at this point in the history
git-svn-id: https://opencaching-pl.googlecode.com/svn/trunk@5393 19cba9c3-8ce2-6c67-1c13-32ea8d8b491d
  • Loading branch information
tripper1971g@gmail.com authored and wrygiel committed Jul 27, 2015
1 parent eb808cf commit 86653d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@
$tplname = 'news';
}

//$file_content = file_get_contents( "lib/js/ga.js" );
//$ga_scr = "<script> " . $file_content . " </script>";

$ga_scr = " <script type='text/javascript' src = 'lib/js/ga.js'></script> ";
tpl_set_var( 'ga_script_header', $ga_scr);
//JG - The script was added on the begin of a main page
//$ga_scr = " <script type='text/javascript' src = 'lib/js/ga.js'></script> ";
//tpl_set_var( 'ga_script_header', $ga_scr);

//make the template and send it out
tpl_BuildTemplate();
Expand Down
1 change: 1 addition & 0 deletions tpl/stdstyle/main.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
{cachemap_header}
{viewcache_header}
{ga_script_header}
<script type='text/javascript' src = 'lib/js/ga.js'></script>
</head>
<body{bodyMod}>
<script language="javascript" type="text/javascript">
Expand Down

0 comments on commit 86653d2

Please sign in to comment.