]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/viewsource.tmpl
tweaks for new phpwiki-printer.css
[SourceForge/phpwiki.git] / themes / default / templates / viewsource.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: viewsource.tmpl,v 1.17 2002-02-10 21:42:23 carstenklapp Exp $ -->
3
4 <?php if ($page->get('locked') && !$user->isAdmin()) { ?>
5   <p><strong><?=_("Note:")?></strong>
6   <?=_("This page has been locked by the administrator and cannot be edited.")?>
7   </p>
8   <?php } ?>
9 <?php if (! $revision->isCurrent()) { ?>
10   <p><?=_("You are viewing an old revision of this page.")?>
11   <?= Button('edit', _("View the current version"), $page) ?>.
12   </p>
13   <?php } ?>
14 <!-- Dummy form else NS4 does not like the textarea -->
15 <form method="post" action="<?=BASE_URL?>" accept-charset="<?=CHARSET?>">
16 <!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines -->
17 <textarea class="wikiedit"
18 name="content"
19 rows="<?=$request->getPref('editHeight')?>"
20 cols="<?=$request->getPref('editWidth')?>"
21 readonly="readonly"
22 wrap="virtual"><?= $PAGE_SOURCE ?></textarea>
23
24 <div id="actionbar">
25 <hr class="printer" noshade="noshade" />
26 <p class="editdate"><?= $Theme->getLastModifiedMessage($revision) ?></p>
27 <hr class="toolbar" noshade="noshade" />
28 <?= Template('actionbar') ?>
29 <!-- RELATEDPAGES were here. -->
30 </div>
31 <?= HiddenInputs($request->getArgs()) ?>
32 </form>