xref: /dokuwiki/inc/Action/Source.php (revision ec7012214a693c8b3103377245a7d797cf8f9608)
1f21dad39SAndreas Gohr<?php
2f21dad39SAndreas Gohr
3f21dad39SAndreas Gohrnamespace dokuwiki\Action;
4f21dad39SAndreas Gohr
5ab583a1bSAndreas Gohr/**
6ab583a1bSAndreas Gohr * Class Source
7ab583a1bSAndreas Gohr *
8ab583a1bSAndreas Gohr * Show the source of a page
9ab583a1bSAndreas Gohr *
10ab583a1bSAndreas Gohr * @package dokuwiki\Action
11ab583a1bSAndreas Gohr */
12f21dad39SAndreas Gohrclass Source extends AbstractAction {
13f21dad39SAndreas Gohr
14f21dad39SAndreas Gohr    /** @inheritdoc */
15*ec701221SAndreas Gohr    public function minimumPermission() {
16f21dad39SAndreas Gohr        return AUTH_READ;
17f21dad39SAndreas Gohr    }
18f21dad39SAndreas Gohr
19ab583a1bSAndreas Gohr    /** @inheritdoc */
20f21dad39SAndreas Gohr    public function tplContent() {
21f21dad39SAndreas Gohr        html_edit(); // FIXME is this correct? Should we split it off completely?
22f21dad39SAndreas Gohr    }
23f21dad39SAndreas Gohr
24f21dad39SAndreas Gohr}
25