]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/templates/viewsource.tmpl
<?= --> <?php echo
[SourceForge/phpwiki.git] / themes / Portland / templates / viewsource.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
3 ?>
4
5 <?php if ($page->get('locked') && !$user->isAdmin()) { ?>
6   <p><strong><?php echo _("Note:")?></strong>
7   <?php echo _("This page has been locked by the administrator and cannot be edited.")?></p>
8 <?php } ?>
9
10 <?php if ($revision and !$revision->isCurrent()) { ?>
11   <p><?php echo _("You are viewing an old revision of this page.")?>
12   <?php echo Button('viewsource', _("View the current version"), $page)?>.</p>
13 <?php } ?>
14
15 <!-- Dummy form else NS4 does not like the textarea -->
16 <form method="post" action="<?php echo $request->getPostURL()?>" accept-charset="<?php echo CHARSET?>">
17 <textarea class="wikiedit"
18           name="content"
19           rows="<?php echo $request->getPref('editHeight')?>"
20           cols="<?php echo $request->getPref('editWidth')?>"
21           readonly="readonly"
22           ><?php echo $PAGE_SOURCE ?></textarea>
23 <?php echo HiddenInputs($request->getArgs()) ?>
24 </form>
25 <hr />
26 <a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"
27    ><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a>
28 <br />