]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/top.tmpl
Usability improvements for the RedirectTo plugin.
[SourceForge/phpwiki.git] / themes / default / templates / top.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: top.tmpl,v 1.23 2003-02-15 23:32:57 dairiki Exp $ -->
3 <div id="navbar" class="toolbar">
4 <?php
5 global $HIDE_TOOLBARS;
6 if (!$HIDE_TOOLBARS) {
7 ?>
8 <!-- The logo -->
9 <div align="right" id="logo"><a class="wikilink" 
10                   href="<?=WikiURL(HOME_PAGE)?>" target="_top"
11                   ><img src="<?=$Theme->getImageURL('logo')?>" id="logo-img"
12                         border="0" alt="<?=fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>"
13                         align="right" /></a></div>
14
15 <!-- The top navigation/search bar -->
16 <?= Template('navbar') ?>
17 <?php } ?>
18 <!-- Page title -->
19 <h1><?= $HEADER ?>
20   <?php if ($REDIRECT_FROM) { ?>
21     <span class="redirectfrom">(<?=$REDIRECT_FROM?>)</span>
22   <?php } ?>
23 </h1>
24 </div>
25 <?php if ($request->getArg('frame')) { ?>
26 <!-- The included frame url for safety -->
27 <p class="transclusion-title"><?fmt("Included frame from %s",$framesrc)?></p>
28 <?php } ?>