]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MonoBook/templates/viewsource.tmpl
No "clear" attribute for <br>
[SourceForge/phpwiki.git] / themes / MonoBook / templates / viewsource.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
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 and !$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="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>">
16 <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
17 <br class="clear-floats" />
18 <textarea class="wikiedit"
19 name="content"
20 rows="<?=$request->getPref('editHeight')?>"
21 cols="<?=$request->getPref('editWidth')?>"
22 readonly="readonly"
23 wrap="virtual"><?= $PAGE_SOURCE ?></textarea>
24 <?=$HIDDEN_INPUTS?>
25 </form>