2 $curuserprefs = $user->getPreferences();
3 $action = $request->getArg('action');
6 <?php if ($page->exists() and $revision and $revision->hasDefaultContents()) { ?>
7 <p class="error"><?php echo _("Error:")?>
8 <?php echo _("This revision of the page does not exist.")?>
9 <?php echo Button('browse', _("View the current version."), $page)?>
12 <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?>
13 <p class="warning_msg"><?php echo _("Note:")?>
14 <?php echo _("You are viewing an old revision of this page.")?>
15 <?php echo Button('browse', _("View the current version."), $page)?>
18 <?php if (!empty($redirected)) { ?>
19 <p><?php echo $redirected ?></p>
22 <?php if (WIKI_NAME == "help") { ?>
23 <div class="browsebanner">
26 <td>This Help page is located in the Forge Help wiki. You are not in your project's wiki.</td>
32 <?php if ($curuserprefs->get('pageTrail')) { ?>
40 <div id="footer"><?php // for top & bottom toolbars stylesheet ?>
41 <?php echo Template('browse-footer')?>