mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-05-17 05:48:41 +02:00
40 lines
1.4 KiB
PHP
40 lines
1.4 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* EN language file.
|
|
*
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*
|
|
* @package availability_ipaddress
|
|
* @copyright 2019-05-14 Mfreak.nl | LdesignMedia.nl - Luuk Verhoeven
|
|
* @author Luuk Verhoeven
|
|
**/
|
|
|
|
$string['pluginname'] = 'IP address';
|
|
$string['description'] = 'Restrict access by ip-address or subnet';
|
|
$string['title'] = 'IP address';
|
|
$string['require_condition'] = 'Matching ip-address/subnet. (Your IP:{$a})';
|
|
|
|
// Errors.
|
|
$string['error_ipaddress'] = 'Incorrect ip-address/subnet format';
|
|
|
|
// Javascript strings.
|
|
$string['js:ipaddress'] = 'Require network address';
|
|
|
|
// Privacy provider.
|
|
$string['privacy:metadata'] = 'The restriction by activity ipaddress plugin does not store any personal data.';
|