%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/recepty.varak.net/inc/Action/
Upload File :
Create Path :
Current File : /www/varak.net/recepty.varak.net/inc/Action/Source.php

<?php

namespace dokuwiki\Action;

/**
 * Class Source
 *
 * Show the source of a page
 *
 * @package dokuwiki\Action
 */
class Source extends AbstractAction {

    /** @inheritdoc */
    public function minimumPermission() {
        return AUTH_READ;
    }

    /** @inheritdoc */
    public function preProcess() {
        global $TEXT;
        global $INFO;
        global $ID;
        global $REV;

        if($INFO['exists']) {
            $TEXT = rawWiki($ID, $REV);
        }
    }

    /** @inheritdoc */
    public function tplContent() {
        html_edit();
    }

}

Zerion Mini Shell 1.0