1 |
efrain |
1 |
{{!
|
|
|
2 |
This file is part of Moodle - http://moodle.org/
|
|
|
3 |
|
|
|
4 |
Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
it under the terms of the GNU General Public License as published by
|
|
|
6 |
the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
(at your option) any later version.
|
|
|
8 |
|
|
|
9 |
Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
GNU General Public License for more details.
|
|
|
13 |
|
|
|
14 |
You should have received a copy of the GNU General Public License
|
|
|
15 |
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
}}
|
|
|
17 |
{{!
|
|
|
18 |
@template core/auth_verify_age_location_page
|
|
|
19 |
|
|
|
20 |
Example context (json):
|
|
|
21 |
{
|
|
|
22 |
"logourl": "https://moodle.org/logo/moodle-logo.svg",
|
|
|
23 |
"sitename": "Site name",
|
|
|
24 |
"error": "Error message",
|
|
|
25 |
"formhtml": "(Form html would go here)"
|
|
|
26 |
}
|
|
|
27 |
}}
|
|
|
28 |
<div class="verifyage">
|
|
|
29 |
{{#error}}
|
|
|
30 |
<div class="alert alert-danger" role="alert" data-aria-autofocus="true">
|
|
|
31 |
{{{error}}}
|
|
|
32 |
</div>
|
|
|
33 |
{{/error}}
|
|
|
34 |
<div class="card-title">
|
|
|
35 |
<h3>{{#str}}agelocationverification{{/str}}</h3>
|
|
|
36 |
</div>
|
|
|
37 |
<div class="mt-2 mb-2">
|
|
|
38 |
{{{formhtml}}}
|
|
|
39 |
</div>
|
|
|
40 |
<hr>
|
|
|
41 |
<div class="card-title">
|
|
|
42 |
<h3>{{#str}}whyisthisrequired{{/str}}</h3>
|
|
|
43 |
</div>
|
|
|
44 |
<div class="mt-1">
|
|
|
45 |
<p >{{#str}}explanationdigitalminor{{/str}}</p>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|