mambax7/gwiki

View on GitHub
admin/recent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/**
 * admin/recent.php - recent wiki changes list
 *
 * @copyright  Copyright © 2013 geekwright, LLC. All rights reserved.
 * @license    gwiki/docs/license.txt  GNU General Public License (GPL)
 * @since      1.0
 * @author     Richard Griffith <richard@geekwright.com>
 * @package    gwiki
 */
require_once __DIR__ . '/header.php';

$adminObject->displayNavigation(basename(__FILE__));

global $xoopsModule, $xoopsConfig;

$wikiPage->setRecentCount(100);
$wikiPage->setWikiLinkURL('pages.php?page=%s&op=history');

adminTableStart(_MI_GWIKI_ADRECENT, 1);
echo '<tr><td width="100%" >';
echo '<div style="margin:2em;">';
echo $wikiPage->renderPage('{RecentChanges}');
echo '</div>';
echo '</td></tr>';

adminTableEnd(null);

require_once __DIR__ . '/footer.php';