merging bugfixes from 6.8.5
This commit is contained in:
parent
b0ffb721b6
commit
9b867ab627
3 changed files with 27 additions and 0 deletions
|
|
@ -6,6 +6,10 @@
|
||||||
6.8.5
|
6.8.5
|
||||||
- fix [ 1396957 ] Insufficient privileges check on the DataForm
|
- fix [ 1396957 ] Insufficient privileges check on the DataForm
|
||||||
- fix [ 1403466 ] CS Attachments - Broken Image Issue
|
- fix [ 1403466 ] CS Attachments - Broken Image Issue
|
||||||
|
- fix [ 1406633 ] Env and User macros broken (Thanks to Eric Kennedy for
|
||||||
|
the patch)
|
||||||
|
- fix [ 1404485 ] userDefined1 to 5 onlineHelp
|
||||||
|
- fix [ 1403155 ] Poll shows no result
|
||||||
|
|
||||||
6.8.4
|
6.8.4
|
||||||
- fix [ 1395371 ] XSS Vulnerability in DataForm Entries
|
- fix [ 1395371 ] XSS Vulnerability in DataForm Entries
|
||||||
|
|
|
||||||
|
|
@ -330,6 +330,7 @@ sub www_vote {
|
||||||
$u->karma($self->get("karmaPerVote"),"Poll (".$self->getId.")","Voted on this poll.");
|
$u->karma($self->get("karmaPerVote"),"Poll (".$self->getId.")","Voted on this poll.");
|
||||||
}
|
}
|
||||||
$self->deletePageCache;
|
$self->deletePageCache;
|
||||||
|
$self->getContainer->purgeCache;
|
||||||
}
|
}
|
||||||
return $self->getContainer->www_view;
|
return $self->getContainer->www_view;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -389,6 +389,28 @@ A conditional indicating whether this Post should be hidden from navigation.
|
||||||
A conditional indicating whether this Post should be opened in a new window.
|
A conditional indicating whether this Post should be opened in a new window.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
<b>userDefined1, userDefined2, userDefined3, userDefined4, userDefined5</b><br>
|
||||||
|
You can use up to 5 user defined fields. The fields are
|
||||||
|
called "userDefined1" through "userDefined5". In the
|
||||||
|
Post Form template you can use those variables like
|
||||||
|
this to collect data:
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<tmpl_var userDefined1.form> (text)<br>
|
||||||
|
|
||||||
|
<tmpl_var userDefined1.form.yesNo> (yes / no) <br>
|
||||||
|
|
||||||
|
<tmpl_var userDefined1.form.textarea> (textarea) <br>
|
||||||
|
|
||||||
|
<tmpl_var userDefined1.form.htmlarea> (rich edit box) <br>
|
||||||
|
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
Then in the Thread and Main CS templates you can call
|
||||||
|
back the data with a simple <tmpl_var userDefined1>.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
|
||||||
|,
|
|,
|
||||||
lastUpdated => 1134670360,
|
lastUpdated => 1134670360,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue