2 <!-- $Id: actionbar.tmpl,v 1.1 2004-04-10 08:02:22 rurban Exp $ -->
6 $Sep = $Theme->getButtonSeparator();
8 if (!$page->get('locked') || $user->isAdmin())
9 $EditB = Button("edit",
10 $revision->isCurrent() ? _("Edit this page") : _("Edit old revision"));
12 $EditB = Button("viewsource", _("View source"));
13 // $EditB = fmt("%s of this page", $EditB);
18 <li><a class="wikilink" href="<?=WikiURL(HOME_PAGE)?>"><?= WIKI_NAME ?></a>
21 <?= WikiLink(_("HomePage"), "button") ?>
24 <?= WikiLink(_("RecentChanges"), "button") ?>
26 <?php if (!empty($user) && $user->isAdmin()) { ?>
28 <?=$Sep?><?= WikiLink(_("PhpWikiAdministration"), "button") ?>
31 <?php if (!empty($user)) { ?>
33 /* Today's calendar page for the user, if the Calender subpage is defined. */
34 $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
35 $dbi = $request->getDbh();
36 if ($dbi->isWikiPage($UserCalPageTitle)) {
37 $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time());
38 $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle);
41 <?=$Sep?><?= WikiLink($UserCalPageTodayUrl, "button", _("Today")) ?>
52 <?php if ($user->isAdmin()) { ?>
54 <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock')?>
57 <?=$Sep?><?= Button('remove') ?>
65 <a href="<?=WikiURL($revision,array('action'=>'diff'))?>" >
66 <?= $Theme->getLastModifiedMessage($revision) ?></a>
69 <?=$Sep?><?= Button("PageHistory", _("PageHistory")) ?> <?=$Sep?>
71 <li> <?= Button("PageInfo", _("PageInfo")) ?> </li>
72 <?php if (defined('DEBUG') || $user->isAdmin()) { ?>
74 <?=$Sep?><?= Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really -->
83 <?plugin-form TitleSearch formsize=20 ?>
86 <?plugin-form FullTextSearch formsize=20 ?>
89 <?php if (!empty($revision)) { ?>
90 <?= Button("LikePages", _("LikePages")) ?>
97 <?= Template('signin') ?>