xref: /dokuwiki/inc/Action/Locked.php (revision ab583a1bc44ef1ef3b917647fc361aabd055c2ac)
1f21dad39SAndreas Gohr<?php
2f21dad39SAndreas Gohr
3f21dad39SAndreas Gohrnamespace dokuwiki\Action;
4f21dad39SAndreas Gohr
5*ab583a1bSAndreas Gohr/**
6*ab583a1bSAndreas Gohr * Class Locked
7*ab583a1bSAndreas Gohr *
8*ab583a1bSAndreas Gohr * Show a locked screen when a page is locked
9*ab583a1bSAndreas Gohr *
10*ab583a1bSAndreas Gohr * @package dokuwiki\Action
11*ab583a1bSAndreas Gohr */
12f21dad39SAndreas Gohrclass Locked extends AbstractAction {
13f21dad39SAndreas Gohr
14f21dad39SAndreas Gohr    /** @inheritdoc */
15f21dad39SAndreas Gohr    function minimumPermission() {
16f21dad39SAndreas Gohr        return AUTH_READ;
17f21dad39SAndreas Gohr    }
18f21dad39SAndreas Gohr
19*ab583a1bSAndreas Gohr    /** @inheritdoc */
20f21dad39SAndreas Gohr    public function tplContent() {
21f21dad39SAndreas Gohr        html_locked();
22f21dad39SAndreas Gohr    }
23f21dad39SAndreas Gohr
24f21dad39SAndreas Gohr}
25