]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/blog/templates/viewsource.tmpl
Remove rcs_id
[SourceForge/phpwiki.git] / themes / blog / templates / viewsource.tmpl
1 <?php // -*-php-*-
2 // $Id$
3 ?>
4 <?php 
5 if (empty($revision)) $revision = $page->getCurrentRevision(false);
6 if ($page->get('locked') && !$user->isAdmin()) { ?>
7   <p class="warning_msg"><strong><?php echo _("Note:")?></strong>
8   <?php echo _("This page has been locked and cannot be edited.")?>
9   </p>
10 <?php } ?>
11 <?php if (! $revision->isCurrent()) { ?>
12   <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?>
13   <?php echo Button('edit', _("View the current version."), $page) ?>
14   </p>
15 <?php } ?>
16 <br class="clear-floats" />
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>