]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/blog/templates/actionbar.tmpl
update blog layout
[SourceForge/phpwiki.git] / themes / blog / templates / actionbar.tmpl
1 <?php // -*-php-*-
2   rcs_id('$Id: actionbar.tmpl,v 1.5 2005-02-03 08:20:51 rurban Exp $');
3 if (!$revision and $user->isAuthenticated()) {
4     if ((!$page->get('locked') || $user->isAdmin()))
5         $EditB = Button("edit");
6     else
7         $EditB = Button("viewsource", _("View Source"));
8 }
9 ?>
10 <table summary="Toolbar: Mani Navigation"
11        width="100%" cellpadding="0" cellspacing="0" border="0">
12 <tr valign="baseline">
13   <td>
14   <div class="actionbuttons">
15     <?= WikiLink(HOME_PAGE, "known",_("Home")) ?>
16     <?=$SEP?><?= WikiLink(_("About")) ?>
17     <?=$SEP?><?= WikiLink(_("BlogArchives"),'',_("Archives")) ?>
18     <?=$SEP?><?= WikiLink(_("Photos")) ?>
19     <?=$SEP?><?= WikiLink(_("HowTo")) ?>
20     <?=$SEP?><?= WikiLink(_("RecentChanges")) ?>
21     <?=$SEP?><?= Button("PageInfo", _("Info")) ?>
22     <?php if (!$revision and $user->isAuthenticated()) { ?>
23       <?= $SEP?><?= $EditB ?>
24     <?php } ?>
25   </div>
26   </td>
27   <td>
28 <!--{{{ Search-->
29 <div id="searchholder">
30 <form id="searchform" name="searchform" action="<?= WikiURL(_("TitleSearch"))?>"
31       method="get" accept-charset="<?=$charset?>">
32 <input type="text" id="livesearch" name="s" size="12" maxlength="256"
33    title="<?=_("TitleSearch")?>" value="<?=_("Search")?>"
34    onfocus="if (this.value == '<?=_("Search")?>') {this.value = '';}"
35    onmouseout="window.status=''; return true;" 
36    onmouseover="window.status='<?=_("Search")?>'; return true;"
37 <?php if (defined("ENABLE_LIVESEARCH") and ENABLE_LIVESEARCH) { ?>
38    onKeypress="liveSearchStart()"
39    onblur="setTimeout('closeResults()',2000); if (this.value == '') {this.value = '<?=_("Search")?>';}" />
40    <br/>
41    <div id="LSResult">
42    </div>
43 <?php } else { echo " />"; } ?>
44 </form>
45 </div>
46 <!--}}}-->
47   </td>
48 </tr>
49 </table>
50 <div id="pagetrail"><p><?=_("Page Trail")?>: <?plugin PageTrail numberlinks=7 ?></p></div>