Modified: brooklyn/site/style/js/public.js URL: http://svn.apache.org/viewvc/brooklyn/site/style/js/public.js?rev=1925014&r1=1925013&r2=1925014&view=diff ============================================================================== --- brooklyn/site/style/js/public.js (original) +++ brooklyn/site/style/js/public.js Fri Apr 11 07:44:54 2025 @@ -115,7 +115,7 @@ if (thisversion != 'latest' && (!$.cookie('brooklyn_versions') || (($.inArray('ALL', $.cookie('brooklyn_versions').split(",")) === -1) && ($.inArray(thisversion, $.cookie('brooklyn_versions').split(",")) === -1))) ){ - msg += "<div class='warning_banner_image'><img src='{{ site.path.style }}/img/warning.png'/></div>"; + msg += "<div class='warning_banner_image'><img src='{{ site.path.style | relative_url }}/img/warning.png'/></div>"; msg += "<p>You are browsing the archive site for version <strong>"+thisversion+"</strong>.</p>"; if (thisversion.indexOf("SNAPSHOT") >= 0) { msg += "<p>Note that SNAPSHOT versions have not been voted on and are not endorsed by the Apache Software Foundation.</p>"; @@ -125,8 +125,8 @@ } msg += "<center><p class='warning_banner_buttons'>"; msg += "<a href = 'javascript:void(0);' onclick=\"set_user_version('"+thisversion+"');\">Yes, hide this warning</a>"; - msg += "<a href = '{{ site.path.v }}/latest/'>No, take me to the latest version guide</a>"; - msg += "<a href = '{{ site.path.website }}/meta/versions.html'>Show all versions</a>"; + msg += "<a href = '{{ site.path.v | relative_url }}/latest/'>No, take me to the latest version guide</a>"; + msg += "<a href = '{{ site.path.website | relative_url}}/meta/versions.html'>Show all versions</a>"; msg += "</p></center>" $('#page_notes').html(msg).fadeIn('slow'); @@ -157,13 +157,3 @@ } })(jQuery, ZeroClipboard); -<!-- analytics --> -var _gaq = _gaq || []; -_gaq.push(['_setAccount', 'UA-107990351-1']); -_gaq.push(['_trackPageview']); - -(function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); -})(); \ No newline at end of file
