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