]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/viewsource.tmpl
rcs_id no longer makes sense with Subversion global version number
[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><?=_("Note:")?></strong>
7   <?=_("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><?=_("You are viewing an old revision of this page.")?>
12   <?= 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="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>">
17 <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
18 <br clear="all" class="clear-floats" />
19 <textarea class="wikiedit"
20 name="content"
21 rows="<?=$request->getPref('editHeight')?>"
22 cols="<?=$request->getPref('editWidth')?>"
23 readonly="readonly"
24 ><?= $PAGE_SOURCE ?></textarea>
25 <?=$HIDDEN_INPUTS?>
26 </form>
27
28 <div id="footer"><!-- for top & bottom toolbars stylesheet -->
29 <?=Template('browse-footer')?>
30 </div>