WikiPage displays a locked label when locked. fixes bug #10998

This commit is contained in:
Colin Kuskie 2009-09-16 16:07:59 -07:00
parent 96dba300f7
commit 79b849262c
6 changed files with 23 additions and 1 deletions

View file

@ -299,6 +299,7 @@ sub getTemplateVars {
allowsAttachments => $wiki->get("allowAttachments"),
comments => $self->getFormattedComments(),
canEdit => $self->canEdit,
isProtected => $self->isProtected,
content => $wiki->autolinkHtml(
$self->scrubContent,
{skipTitles => [$self->get('title')]},