3 namespace dokuwiki\Action
;
10 * The recent changes view
12 * @package dokuwiki\Action
14 class Recent
extends AbstractAction
16 /** @var string what type of changes to show */
17 protected $showType = 'both';
20 public function minimumPermission()
26 public function preProcess()
29 $show_changes = $INPUT->str('show_changes');
30 if (!empty($show_changes)) {
31 set_doku_pref('show_changes', $show_changes);
32 $this->showType
= $show_changes;
34 $this->showType
= get_doku_pref('show_changes', 'both');
39 public function tplContent()
42 (new Ui\
Recent($INPUT->extract('first')->int('first'), $this->showType
))->show();