blob: ed4ec9e1f4382a2288cc6a2be87d69bbfe53753d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?php
script('piwik', 'settings/admin');
style('piwik', 'settings');
?>
<div id="piwikSettings" class="section">
<h2>Piwik/Matomo Tracking</h2>
<p class="settings-hint">If you have no Piwik/Matomo instance, go to <a href="https://matomo.org" target="_blank">matomo.org</a> for further instructions.</p>
<form>
<table>
<tr>
<td><label for="piwikSiteId">Site ID </label></td>
<td><input type="number" name="siteId" id="piwikSiteId" pattern="[0-9]+" value="<?php p($_['siteId']);?>" /></td>
</tr>
<tr>
<td><label for="piwikUrl">Piwik/Matomo Url </label></td>
<td><input type="text" name="url" id="piwikUrl" value="<?php p($_['url']);?>" /></td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="trackDir" id="piwikTrackDir" class="checkbox" <?php if ($_['trackDir']): ?> checked="checked"<?php endif; ?> />
<label for="piwikTrackDir">Track file browsing</label>
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="trackUser" id="piwikTrackUser" class="checkbox" <?php if ($_['trackUser']): ?> checked="checked"<?php endif; ?> />
<label for="piwikTrackUser">Track user id</label>
</td>
</tr>
</table>
</form>
</div>
|