1*15a53894SAndreas Gohr<?php 2*15a53894SAndreas Gohr 3*15a53894SAndreas Gohrnamespace dokuwiki\Action; 4*15a53894SAndreas Gohr 5*15a53894SAndreas Gohr/** 6*15a53894SAndreas Gohr * Class Revisions 7*15a53894SAndreas Gohr * 8*15a53894SAndreas Gohr * Show the list of old revisions of the current page 9*15a53894SAndreas Gohr * 10*15a53894SAndreas Gohr * @package dokuwiki\Action 11*15a53894SAndreas Gohr */ 12*15a53894SAndreas Gohrclass Revisions extends AbstractAction { 13*15a53894SAndreas Gohr 14*15a53894SAndreas Gohr /** @inheritdoc */ 15*15a53894SAndreas Gohr function minimumPermission() { 16*15a53894SAndreas Gohr return AUTH_READ; 17*15a53894SAndreas Gohr } 18*15a53894SAndreas Gohr 19*15a53894SAndreas Gohr /** @inheritdoc */ 20*15a53894SAndreas Gohr public function tplContent() { 21*15a53894SAndreas Gohr global $INPUT; 22*15a53894SAndreas Gohr html_revisions($INPUT->int('first')); 23*15a53894SAndreas Gohr } 24*15a53894SAndreas Gohr} 25