1*64ab5140SAndreas Gohr<?php 2*64ab5140SAndreas Gohr/** 3*64ab5140SAndreas Gohr * Created by IntelliJ IDEA. 4*64ab5140SAndreas Gohr * User: andi 5*64ab5140SAndreas Gohr * Date: 2/10/17 6*64ab5140SAndreas Gohr * Time: 3:21 PM 7*64ab5140SAndreas Gohr */ 8*64ab5140SAndreas Gohr 9*64ab5140SAndreas Gohrnamespace dokuwiki\Action; 10*64ab5140SAndreas Gohr 11*64ab5140SAndreas Gohrclass Recent extends AbstractAction { 12*64ab5140SAndreas Gohr 13*64ab5140SAndreas Gohr /** @inheritdoc */ 14*64ab5140SAndreas Gohr function minimumPermission() { 15*64ab5140SAndreas Gohr return AUTH_NONE; 16*64ab5140SAndreas Gohr } 17*64ab5140SAndreas Gohr 18*64ab5140SAndreas Gohr /** @inheritdoc */ 19*64ab5140SAndreas Gohr public function preProcess() { 20*64ab5140SAndreas Gohr global $INPUT; 21*64ab5140SAndreas Gohr $show_changes = $INPUT->str('show_changes'); 22*64ab5140SAndreas Gohr if (!empty($show_changes)) { 23*64ab5140SAndreas Gohr set_doku_pref('show_changes', $show_changes); 24*64ab5140SAndreas Gohr } 25*64ab5140SAndreas Gohr } 26*64ab5140SAndreas Gohr 27*64ab5140SAndreas Gohr public function tplContent() { 28*64ab5140SAndreas Gohr global $INPUT; 29*64ab5140SAndreas Gohr html_recent($INPUT->int('first')); 30*64ab5140SAndreas Gohr } 31*64ab5140SAndreas Gohr 32*64ab5140SAndreas Gohr} 33