]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/body.tmpl
Beginning of major template code clean-up and refactor.
[SourceForge/phpwiki.git] / themes / default / templates / body.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: body.tmpl,v 1.1 2002-01-17 20:41:13 dairiki 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">
16     <?= $ButtonFactory->makeLinkButton(_("RecentChanges")) ?>
17     | <?= $ButtonFactory->makeLinkButton(_("FindPage")) ?>
18     | <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       | <?= $ButtonFactory->makeActionPageButton(_("LikePages")) ?>
25       | <?= $ButtonFactory->makeActionPageButton(_("BackLinks")) ?>
26     <?php } ?>
27   </div>
28 </form>
29
30 <!-- Page title -->
31 <h1><?=$HEADER?></h1>
32
33 <?= $CONTENT ?>
34
35 <?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
36 </body>