* @author Sebastian Siedentopf * @version 0.6 * @link http://www.pmwiki.org/wiki/Cookbook/RyeVoting http://www.pmwiki.org/wiki/Cookbook/RyeVoting * @copyright by the respective authors 2004-2005 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License * @package ryevote */ /* needs 2.1beta 15 For Developers ============== Version History --------------- * 0.6 - Tobias Thelen, Clemens Gruber ** [feature] multiple answers per question (checkboxes) ** [feature] message after vote (instead of vote form) $RyeVoteAfterVoteMsg, and color of bars $RyeVoteBarColor, customizable * 0.5 - Schlaefer ** [feature] multiple button fields in form * 0.4.4 - 2006-02-01 - Schlaefer ** [change] removed unnecessary function addone() * 0.4.2 - 2006-01-23 - Schlaefer ** [bugfix] changed drawing for better IE compatibility * 0.4.1 - 2005-10-23 - Schlaefer ** [bugfix] use {$PageUrl} for complete URI in form */ define(RYEVOTE, '0.6'); SDVA($PmWikiAutoUpdate['RyeVote'] , array( 'version' => RYEVOTE, 'updateurl' => "http://pmwiki.org/wiki/Cookbook/RyeVoting" )); SDV($HandleActions['ryevote'], 'HandleRyeVote'); SDV($HandleAuth['ryevote'], 'read'); SDV($RyeVoteHideAfterVote, 1); SDV($RyeVoteRestrictions, 1); SDV($RyeVoteAfterVoteMsg, "Thank you for your opinion! You have already voted."); SDV($RyeVoteBarColor, "silver"); SDV($RyeVoteCookie, $CookiePrefix.'ryevote'); SDV($RyeVoteExpires, $Now +60 * 60 * 24 * 30); SDV($RyeVoteDBPName, "Site.RyeVoteDB"); SDV($RyeVoteDir, '/'); Markup('showryevote', '