4 require_once("lib/plugin/RecentChanges.php");
6 class WikiPlugin_RecentEdits
7 extends WikiPlugin_RecentChanges
10 return _("RecentEdits");
13 function getVersion() {
14 return preg_replace("/[Revision: $]/", '',
18 function getDefaultArguments() {
19 $args = parent::getDefaultArguments();
20 $args['show_minor'] = true;
21 $args['show_all'] = true;
25 // box is used to display a fixed-width, narrow version with common header.
26 // just a numbered list of limit pagenames, without date.
27 function box($args = false, $request = false, $basepage = false) {
28 if (!$request) $request =& $GLOBALS['request'];
29 if (!isset($args['limit'])) $args['limit'] = 15;
30 $args['format'] = 'box';
31 $args['show_minor'] = true;
32 $args['show_major'] = true;
33 $args['show_deleted'] = false;
34 $args['show_all'] = true;
36 return $this->makeBox(WikiLink(_("RecentEdits"),'',_("Recent Edits")),
37 $this->format($this->getChanges($request->_dbi, $args), $args));
41 // $Log: not supported by cvs2svn $
43 // (c-file-style: "gnu")
48 // c-hanging-comment-ender-p: nil
49 // indent-tabs-mode: nil