Init base structure

This commit is contained in:
Luuk Verhoeven
2019-05-14 19:55:34 +02:00
parent 738c2af2d5
commit ee0784d146
8 changed files with 590 additions and 8 deletions

View File

@@ -25,4 +25,16 @@
**/
$string['pluginname'] = 'IP address';
$string['title'] = 'IP address';
$string['description'] = 'Restrict access by ip-address';
$string['description'] = 'Restrict access by ip-address or subnet';
$string['require_condition'] = 'Matching ip-address/subnet';
// Javascript strings.
$string['js:ipaddress'] = 'Require network address';
$string['js:turn-on-timestamps'] = '';
$string['js:turn-off-timestamps'] = '';
$string['js:enabled'] = '';
// Errors.
$string['error_ipaddress'] = 'Incorrect ip-address/subnet format';
$string['requiresubnet_help'] = 'Access may be restricted to particular subnets on the LAN or Internet by specifying a comma-separated list of partial or full IP address numbers. This can be useful for an invigilated (proctored) quiz, to ensure that only people in a certain location can access the quiz.';