]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/viewsource.tmpl
<?= --> <?php echo
[SourceForge/phpwiki.git] / themes / default / 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.")?>
8   </p>
9   <?php } ?>
10 <?php if ($revision and !$revision->isCurrent()) { ?>
11   <p><?php echo _("You are viewing an old revision of this page.")?>
12   <?php echo Button('edit', _("View the current version"), $page) ?>.
13   </p>
14   <?php } ?>
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 <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
18 <br class="clear-floats" />
19 <textarea class="wikiedit"
20 name="content"
21 rows="<?php echo $request->getPref('editHeight')?>"
22 cols="<?php echo $request->getPref('editWidth')?>"
23 readonly="readonly"
24 ><?php echo $PAGE_SOURCE ?></textarea>
25 <?php echo $HIDDEN_INPUTS?>
26 </form>
27
28 <div id="footer"><!-- for top & bottom toolbars stylesheet -->
29 <?php echo Template('browse-footer')?>
30 </div>