]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/body.tmpl
button for PhpWikiAdministration when signed in as admin
[SourceForge/phpwiki.git] / themes / default / templates / body.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: body.tmpl,v 1.3 2002-01-18 06:26:18 carstenklapp Exp $ -->
3 <body>
4
5 <!-- The logo -->
6 <div><a class="wikilink" 
7         href="<?=WikiURL(_("HomePage"))?>"
8         ><img src="<?=$Theme->getImageURL('logo')?>"
9               border="0" alt="<?=$WIKI_NAME?>: <?=_("HomePage")?>" 
10               align="right" /></a></div>
11
12 <!-- The top navigation/search bar -->
13 <form action="<?php echo WikiURL(_("TitleSearch"));?>"
14       method="get" accept-charset="<?=CHARSET?>">
15   <div class="toolbar"><? $s = $Theme->buttonSep ?>
16     <?= $ButtonFactory->makeLinkButton(_("RecentChanges")) ?>
17    <?=$s?><?= $ButtonFactory->makeLinkButton(_("FindPage")) ?>
18    <?=$s?><input type="hidden" name="auto_redirect" value="1" />
19       <input type="text"  name="s" size="12"
20              title='<?=_("Quick Search")?>'
21              onmouseover="window.status='<?=_("Quick Search")?>'; return true;"
22              onmouseout="window.status=''; return true;" />
23     <?php if (!empty($PAGE)) { ?>
24      <?=$s?><?= $ButtonFactory->makeActionPageButton(_("LikePages")) ?>
25      <?=$s?><?= $ButtonFactory->makeActionPageButton(_("BackLinks")) ?>
26     <?php } ?>
27     <?php if ($user->is_admin()) { ?>
28      <?=$s?><?= $ButtonFactory->makeLinkButton(_("PhpWikiAdministration")) ?>
29     <?php } ?>
30
31   </div>
32 </form>
33
34 <!-- Page title -->
35 <h1><?=$HEADER?></h1>
36
37 <?= $CONTENT ?>
38
39 <?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
40 </body>