merging bugfixes from 6.8.5

This commit is contained in:
Roy Johnson 2006-01-15 18:42:46 +00:00
parent b0ffb721b6
commit 9b867ab627
3 changed files with 27 additions and 0 deletions

View file

@ -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

View file

@ -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;
} }

View file

@ -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>
&lt;tmpl_var userDefined1.form&gt; (text)<br>
&lt;tmpl_var userDefined1.form.yesNo&gt; (yes / no) <br>
&lt;tmpl_var userDefined1.form.textarea&gt; (textarea) <br>
&lt;tmpl_var userDefined1.form.htmlarea&gt; (rich edit box) <br>
</blockquote>
Then in the Thread and Main CS templates you can call
back the data with a simple &lt;tmpl_var userDefined1&gt;.
<p>
|, |,
lastUpdated => 1134670360, lastUpdated => 1134670360,
}, },