xref: /dokuwiki/inc/Action/Locked.php (revision 2ee510553236c358fdbb9f1309b41ee1568fbe4f)
1<?php
2
3namespace dokuwiki\Action;
4
5use dokuwiki\Ui;
6
7/**
8 * Class Locked
9 *
10 * Show a locked screen when a page is locked
11 *
12 * @package dokuwiki\Action
13 */
14class Locked extends AbstractAction
15{
16    /** @inheritdoc */
17    public function minimumPermission()
18    {
19        return AUTH_READ;
20    }
21
22    /** @inheritdoc */
23    public function tplContent()
24    {
25        (new Ui\Locked)->show();
26        (new Ui\Editor)->show();
27    }
28
29}
30