blob: 6404c41e3b27b9d51663968f1da1e66b1e9dae79 (
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
|
<?php
$this->layout('readerlayout') ?>
<?php
$this->start('head');
?>
<head>
<?= Wcms\Config::alertcss() ? '<link href="' . Wcms\Model::dirtopath(Wcms\Model::ASSETS_CSS_DIR) . 'global.css" rel="stylesheet" />' : '' ?>
<meta name="viewport" content="width=device-width">
</head>
<?php
$this->stop();
?>
<?php $this->start('page') ?>
<body class="alert">
<main class="alert">
<h1>This page is password protected</h1>
<form action="<?= $this->url('pageread/post', ['page' => $pageid]) ?>" method="post">
<label for="pagepassword">Page password</label>
<input type="password" name="pagepassword" id="pagepassword" autofocus required>
</form>
</main>
</body>
<?php $this->stop() ?>
|