getDbh();
$isAdmin = $user->isAdmin();
$pagename = $page->getName();
$isActionPage = $request->_isActionPage($pagename, false);
?>
Views
getArg('action') != "") { ?>
= ActionButton("browse", _("View Page"), false, array('title' => "View the page [alt-c]")) ?>
- = _("View Page") ?>
isCurrent() ? _("Edit") : _("Edit Old Revision"); ?>
= ActionButton("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"),
false, array('id' => 'btn-edit', 'title' => "You can edit this page. Please use the preview button before saving. [alt-e]")) ?>
= ActionButton(array("action" => "edit", "mode"=> "wysiwyg"), "Wysiwyg Editor", false, array('id' => 'btn-wysiwyg-edit')) ?>
= ActionButton("viewsource", _("View Source")) ?>
= ActionButton(_("PageHistory"),_("History"),false,array('title'=>"Past versions of this page. [alt-h]")) ?>
= ActionButton("diff") ?>
if ( $user->isSignedIn() ) { ?>
= ActionButton("WatchPage", _("Watch"), false,
array('title'=>"Add/Remove this to/from the list of pages you're monitoring for changes [alt-l]")) ?>
isSignedIn()) { ?>
Special Actions = $WikiTheme->folderArrow('p-tbx', 'Closed') ?>
= ActionButton('rename') ?>
= ActionButton('remove') ?>
= ActionButton('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?>
= ActionButton($page->get('locked') ? 'unlock' : 'lock') ?>
= ActionButton('chown') ?>
= ActionButton('setacl') ?>
= ActionButton(array('action'=>'PageInfo'), _("PageInfo"),$pagename) ?>
= ActionButton(_("AuthorHistory")) ?>
= ActionButton(_("PageHistory")) ?>
= ActionButton("diff") ?>
= ActionButton(_("PageDump")) ?>
'purge'),
_("PurgeHtmlCache"), $pagename);
$PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); ?>
= $PurgeCache ?>