Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_updaterManage.twig « templates « UserCountry « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f614787f13a5fe228009efdfcdd9e7c3fe048ac (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
<div id="geoipdb-update-info" {% if not geoIPDatabasesInstalled %}style="display:none;"{% endif %}>
    <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 }}
	{% if geoIPDatabasesInstalled %}
	<br/><br/>{{ 'UserCountry_GeoIPUpdaterIntro'|translate }}:
	{% endif %}
	</p>
	<table class="adminTable" style="width:900px;">
		<tr>
			<th>{{ 'Live_GoalType'|translate }}</th>
			<th>{{ 'Actions_ColumnDownloadURL'|translate }}</th>
			<th></th>
		</tr>
		<tr>
			<td width="150">{{ 'UserCountry_LocationDatabase'|translate }}</td>
			<td><input type="text" id="geoip-location-db" value="{{ geoIPLocUrl }}"/></td>
			<td width="164">
				<div class="form-help">
					{{ 'UserCountry_LocationDatabaseHint'|translate }}
				</div>
			</td>
		</tr>
		<tr>
			<td width="150">{{ 'UserCountry_ISPDatabase'|translate }}</td>
			<td><input type="text" id="geoip-isp-db" value="{{ geoIPIspUrl }}"/></td>
		</tr>
		<tr>
			<td width="150">{{ 'UserCountry_OrgDatabase'|translate }}</td>
			<td><input type="text" id="geoip-org-db" value="{{ geoIPOrgUrl }}"/></td>
		</tr>
		<tr>
			<td width="150">{{ 'UserCountry_DownloadNewDatabasesEvery'|translate }}</td>
			<td id="geoip-update-period-cell">
				<input type="radio" name="geoip-update-period" value="month" id="geoip-update-period-month" {% if geoIPUpdatePeriod == 'month' %}checked="checked"{% endif %} />
				<label for="geoip-update-period-month">{{ 'Intl_PeriodMonth'|translate }}</label>

				<input type="radio" name="geoip-update-period" value="week" id="geoip-update-period-week" {% if geoIPUpdatePeriod == 'week' %}checked="checked"{% endif %}/>
				<label for="geoip-update-period-week">{{ 'Intl_PeriodWeek'|translate }}</label>
			</td>
			<td width="164">
				<div class="form-help">
					{% 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>
			</td>
		</tr>
	</table>
	<p style="display:inline-block;vertical-align:top;">
		<input type="button" class="submit" value="{% if not geoIPDatabasesInstalled %}{{ 'General_Continue'|translate }}{% else %}{{ 'General_Save'|translate }}{% endif %}" id="update-geoip-links"/>
	</p>
	<div style="display:inline-block;width:700px;">
		<div id="done-updating-updater"></div>
		<div id="geoipdb-update-info-error"></div>
		<div id="geoip-progressbar-container" style="display:none;">
			<div id="geoip-updater-progressbar"></div>
			<span id="geoip-updater-progressbar-label"></span>
		</div>
	</div>
</div>