blob: 571b3ce170979d407efebd1cbe38f87c73cd74e8 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<div ng-show="locationUpdater.geoipDatabaseInstalled" id="geoipdb-update-info">
<p>
{{ 'UserCountry_GeoIPUpdaterInstructions'|translate('<a href="http://www.maxmind.com/en/download_files?rId=piwik" _target="blank">','</a>',
'<a href="http://www.maxmind.com/?rId=piwik">','</a>')|raw }}
<br/><br/>
{{ 'UserCountry_GeoLiteCityLink'|translate("<a href='"~geoLiteUrl~"'>",geoLiteUrl,'</a>')|raw }}
<span ng-show="locationUpdater.geoipDatabaseInstalled">
<br/><br/>{{ 'UserCountry_GeoIPUpdaterIntro'|translate }}:
</span>
</p>
<div piwik-field uicontrol="text" name="geoip-location-db"
ng-model="locationUpdater.locationDbUrl"
introduction="{{ 'UserCountry_LocationDatabase'|translate|e('html_attr') }}"
title="{{ 'Actions_ColumnDownloadURL'|translate|e('html_attr') }}"
value="{{ geoIPLocUrl }}"
inline-help="{{ 'UserCountry_LocationDatabaseHint'|translate|e('html_attr') }}">
</div>
<div piwik-field uicontrol="text" name="geoip-isp-db"
ng-model="locationUpdater.ispDbUrl"
introduction="{{ 'UserCountry_ISPDatabase'|translate|e('html_attr') }}"
title="{{ 'Actions_ColumnDownloadURL'|translate|e('html_attr') }}"
value="{{ geoIPIspUrl }}">
</div>
{% if geoIPOrgUrl is defined %}
<div piwik-field uicontrol="text" name="geoip-org-db"
ng-model="locationUpdater.orgDbUrl"
introduction="{{ 'UserCountry_OrgDatabase'|translate|e('html_attr') }}"
title="{{ 'Actions_ColumnDownloadURL'|translate|e('html_attr') }}"
value="{{ geoIPOrgUrl }}">
</div>
{% endif %}
<div id="locationProviderUpdatePeriodInlineHelp" class="inline-help-node">
{% if lastTimeUpdaterRun is defined and lastTimeUpdaterRun is not empty %}
{{ 'UserCountry_UpdaterWasLastRun'|translate(lastTimeUpdaterRun)|raw }}
{% else %}
{{ 'UserCountry_UpdaterHasNotBeenRun'|translate }}
{% endif %}
<br/><br/>
<div id="geoip-updater-next-run-time">
{% include "@UserCountry/_updaterNextRunTime.twig" %}
</div>
</div>
<div piwik-field uicontrol="radio" name="geoip-update-period"
ng-model="locationUpdater.updatePeriod"
introduction="{{ 'UserCountry_DownloadNewDatabasesEvery'|translate|e('html_attr') }}"
value="{{ geoIPUpdatePeriod }}"
options="{{ updatePeriodOptions|json_encode }}"
inline-help="#locationProviderUpdatePeriodInlineHelp">
</div>
<input type="button"
class="btn"
ng-click="locationUpdater.saveGeoIpLinks()"
ng-value="locationUpdater.buttonUpdateSaveText"/>
<div>
<div id="done-updating-updater"></div>
<div id="geoipdb-update-info-error"></div>
<div piwik-progressbar
progress="locationUpdater.progressUpdateDownload"
label="locationUpdater.progressUpdateLabel"
ng-show="locationUpdater.isUpdatingGeoIpDatabase"></div>
</div>
</div>
|