fix - Wiki shows add link to users who don't have privileges to add
fix - XSS Vulnerability in Wiki page titles fix - Wiki does not allow you to specify the content to allow in submitted pages or content filtering fix - GetSyndicated Content Workflow activity doesn't check for timeout fix - GetSyndicated Content Workflow activity does not trap errors
This commit is contained in:
parent
fc557b517b
commit
2ad1b494fe
8 changed files with 196 additions and 14 deletions
|
|
@ -67,6 +67,7 @@ sub appendSearchBoxVars {
|
|||
$var->{'searchQuery'} = WebGUI::Form::text($self->session, { name => 'query', value => $queryText });
|
||||
$var->{'searchSubmit'} = WebGUI::Form::submit($self->session, { value => $submitText });
|
||||
$var->{'searchFormFooter'} = WebGUI::Form::formFooter($self->session);
|
||||
$var->{'canAddPages'} = $self->canEditPages();
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
|
@ -274,6 +275,20 @@ sub definition {
|
|||
label => $i18n->get("max image size"),
|
||||
hoverHelp => $i18n->get("max image size help")
|
||||
},
|
||||
useContentFilter =>{
|
||||
fieldType=>"yesNo",
|
||||
defaultValue=>1,
|
||||
tab=>'display',
|
||||
label=>$i18n->get('content filter'),
|
||||
hoverHelp=>$i18n->get('content filter description'),
|
||||
},
|
||||
filterCode =>{
|
||||
fieldType=>"filterContent",
|
||||
defaultValue=>'javascript',
|
||||
tab=>'security',
|
||||
label=>$i18n->get('filter code'),
|
||||
hoverHelp=>$i18n->get('filter code description'),
|
||||
},
|
||||
);
|
||||
|
||||
push @$definition,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue