viewsource.tmpl
来自「PhpWiki是sourceforge的一个开源项目」· TMPL 代码 · 共 32 行
TMPL
32 行
<!-- -*-html-*- --><!-- $Id: viewsource.tmpl,v 1.3 2004/06/14 11:26:51 rurban Exp $ --><div class="wikitext" id="viewform"><?php if ($page->get('locked') && !$user->isAdmin()) { ?> <p><strong><?=_("Note:")?></strong> <?=_("This page has been locked by the administrator and cannot be edited.")?></p><?php } ?><?php if (! $revision->isCurrent()) { ?> <p><?=_("You are viewing an old revision of this page.")?> <?= Button('viewsource', _("View the current version"), $page)?>.</p><?php } ?><!-- Dummy form else NS4 does not like the textarea --><form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"><!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --><textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" wrap="virtual"><?= $PAGE_SOURCE ?></textarea><?= HiddenInputs($request->getArgs()) ?></form><hr /><a href="<?=WikiURL($page,array('action'=>_("PageHistory")))?>" ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a><br /></div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?