2 rcs_id('$Id: actionbar.tmpl,v 1.3 2005-02-03 05:11:41 rurban Exp $');
3 if ((!$page->get('locked') || $user->isAdmin()) and $revision)
4 $EditB = Button("edit",
5 $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));
7 $EditB = Button("viewsource", _("View Source"));
9 <table summary="Toolbar: Mani Navigation"
10 width="100%" cellpadding="0" cellspacing="0" border="0">
11 <tr valign="baseline">
13 <div class="actionbuttons">
14 <?= WikiLink(HOME_PAGE, "known",_("Home")) ?>
15 <?=$SEP?><?= WikiLink(_("About")) ?>
16 <?=$SEP?><?= WikiLink(_("BlogArchives"),'',_("Archives")) ?>
17 <?=$SEP?><?= WikiLink(_("Photos")) ?>
18 <?=$SEP?><?= WikiLink(_("HowTo")) ?>
19 <?=$SEP?><?= WikiLink(_("RecentChanges")) ?>
20 <?=$SEP?><?= Button("PageInfo", _("Info")) ?>
21 <?php if (!$revision and $user->isAuthenticated()) { ?>
22 <?= $SEP?><?= $EditB ?>
28 <div id="searchholder">
29 <form id="searchform" name="searchform" action="<?= WikiURL(_("TitleSearch"))?>"
30 method="get" accept-charset="<?=$charset?>">
31 <input type="text" id="livesearch" name="s" size="12" maxlength="256"
32 title="<?=_("TitleSearch")?>" value="<?=_("Search")?>"
33 onfocus="if (this.value == '<?=_("Search")?>') {this.value = '';}"
34 onmouseout="window.status=''; return true;"
35 onmouseover="window.status='<?=_("Search")?>'; return true;"
36 <?php if (defined("ENABLE_LIVESEARCH") and ENABLE_LIVESEARCH) { ?>
37 onKeypress="liveSearchStart()"
38 onblur="setTimeout('closeResults()',2000); if (this.value == '') {this.value = '<?=_("Search")?>';}" />
42 <?php } else { echo " />"; } ?>
49 <div id="pagetrail"><p><?=_("Page Trail")?>: <?plugin PageTrail numberlinks=7 ?></p></div>