Fixed bad variable

This commit is contained in:
James Brooks 2015-11-21 23:15:56 +00:00
parent 66c410a7c4
commit f814d13a64
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@
<div class="col-xs-12">
<div class="form-group">
<label>{{ trans('forms.settings.analytics.analytics_piwik_siteid') }}</label>
<input type="number" min="1" max="100" name="app_analytics_pi_siteid" class="form-control" value="{{ $app_analytics_piwik_siteid ?: 1 }}">
<input type="number" min="1" max="100" name="app_analytics_pi_siteid" class="form-control" value="{{ $app_analytics_piwik_site_id ?: 1 }}">
</div>
</div>
</div>

View File

@ -27,10 +27,10 @@
(function() {
var u="//{{ $app_analytics_piwik_url }}";
_paq.push(['setTrackerUrl', u+'/piwik.php']);
_paq.push(['setSiteId', {{ $app_analytics_piwik_siteid }}]);
_paq.push(['setSiteId', {{ $app_analytics_piwik_site_id }}]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//{{ $app_analytics_piwik_url }}/piwik.php?idsite={{ $app_analytics_piwik_siteid }}" style="border:0;" alt="" /></p></noscript>
<noscript><p><img src="//{{ $app_analytics_piwik_url }}/piwik.php?idsite={{ $app_analytics_piwik_site_id }}" style="border:0;" alt="" /></p></noscript>
@endif