| Línea 37... |
Línea 37... |
| 37 |
new lang_string('configcountry', 'core_admin'), 0));
|
37 |
new lang_string('configcountry', 'core_admin'), 0));
|
| Línea 38... |
Línea 38... |
| 38 |
|
38 |
|
| 39 |
$temp->add(new admin_setting_configtext('defaultcity', new lang_string('defaultcity', 'core_admin'),
|
39 |
$temp->add(new admin_setting_configtext('defaultcity', new lang_string('defaultcity', 'core_admin'),
|
| Línea -... |
Línea 40... |
| - |
|
40 |
new lang_string('defaultcity_help', 'core_admin'), ''));
|
| - |
|
41 |
|
| - |
|
42 |
$temp->add(new admin_setting_countrycodes('allcountrycodes', new lang_string('allcountrycodes', 'core_admin'),
|
| 40 |
new lang_string('defaultcity_help', 'core_admin'), ''));
|
43 |
new lang_string('configallcountrycodes', 'core_admin')));
|
| 41 |
|
44 |
|
| Línea 42... |
Línea 45... |
| 42 |
$temp->add(new admin_setting_heading('iplookup', new lang_string('iplookup', 'core_admin'),
|
45 |
$temp->add(new admin_setting_heading('iplookup', new lang_string('iplookup', 'core_admin'),
|
| 43 |
new lang_string('iplookupinfo', 'core_admin')));
|
46 |
new lang_string('iplookupinfo', 'core_admin')));
|
| 44 |
|
47 |
|
| - |
|
48 |
$temp->add(new admin_setting_configfile('geoip2file', new lang_string('geoipfile', 'core_admin'),
|
| - |
|
49 |
new lang_string('configgeoipfile', 'core_admin', $CFG->dataroot . '/geoip/'),
|
| - |
|
50 |
$CFG->dataroot . '/geoip/GeoIP-City.mmdb'));
|
| - |
|
51 |
|
| - |
|
52 |
$temp->add(new admin_setting_configselect('geoipdbedition',
|
| - |
|
53 |
new lang_string('geoipdbedition', 'core_admin'),
|
| - |
|
54 |
new lang_string('geoipdbedition_desc', 'core_admin'), 'GeoLite2-City',
|
| - |
|
55 |
['GeoLite2-City' => 'GeoLite2-City', 'GeoIP2-City' => 'GeoIP2-City']));
|
| - |
|
56 |
|
| - |
|
57 |
$temp->add(new admin_setting_configtext('geoipmaxmindaccid',
|
| - |
|
58 |
new lang_string('geoipmaxmindaccid', 'core_admin'),
|
| - |
|
59 |
new lang_string('geoipmaxmindaccid_desc', 'core_admin'),
|
| - |
|
60 |
'',
|
| - |
|
61 |
PARAM_TEXT,
|
| - |
|
62 |
));
|
| - |
|
63 |
|
| - |
|
64 |
$temp->add(new admin_setting_configtext('geoipmaxmindlicensekey',
|
| - |
|
65 |
new lang_string('geoipmaxmindlicensekey', 'core_admin'),
|
| - |
|
66 |
new lang_string('geoipmaxmindlicensekey_desc', 'core_admin'),
|
| Línea 45... |
Línea 67... |
| 45 |
$temp->add(new admin_setting_configfile('geoip2file', new lang_string('geoipfile', 'core_admin'),
|
67 |
'',
|
| 46 |
new lang_string('configgeoipfile', 'core_admin', $CFG->dataroot . '/geoip/'),
|
68 |
PARAM_TEXT,
|
| Línea -... |
Línea 69... |
| - |
|
69 |
));
|
| - |
|
70 |
|
| 47 |
$CFG->dataroot . '/geoip/GeoLite2-City.mmdb'));
|
71 |
$temp->add(new admin_setting_configtext('googlemapkey3', new lang_string('googlemapkey3', 'core_admin'),
|
| 48 |
|
72 |
new lang_string('googlemapkey3_help', 'core_admin'), '', PARAM_RAW, 60));
|
| - |
|
73 |
|
| - |
|
74 |
$temp->add(new admin_setting_configtext(
|
| - |
|
75 |
'geopluginapikey',
|
| 49 |
$temp->add(new admin_setting_configtext('googlemapkey3', new lang_string('googlemapkey3', 'core_admin'),
|
76 |
new lang_string('geopluginapikey', 'core_admin'),
|
| Línea 50... |
Línea 77... |
| 50 |
new lang_string('googlemapkey3_help', 'core_admin'), '', PARAM_RAW, 60));
|
77 |
new lang_string('geopluginapikey_desc', 'core_admin'),
|
| 51 |
|
78 |
'',
|