mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 19:18:11 +01:00
Fixed bad variable
This commit is contained in:
parent
66c410a7c4
commit
f814d13a64
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user