From: <Wil...@nt...> - 2005-12-24 00:38:29
|
Author: WillNorris Date: 2005-12-23 16:37:22 -0800 (Fri, 23 Dec 2005) New Revision: 7915 Modified: twiki/branches/DEVELOP/twikiplugins/VotePlugin/lib/TWiki/Plugins/VotePlugin.pm Log: Item1225: VotePlugin wasn't taking %SCRIPTSUFFIX% into account Modified: twiki/branches/DEVELOP/twikiplugins/VotePlugin/lib/TWiki/Plugins/VotePlugin.pm =================================================================== --- twiki/branches/DEVELOP/twikiplugins/VotePlugin/lib/TWiki/Plugins/VotePlugin.pm 2005-12-24 00:31:13 UTC (rev 7914) +++ twiki/branches/DEVELOP/twikiplugins/VotePlugin/lib/TWiki/Plugins/VotePlugin.pm 2005-12-24 00:37:22 UTC (rev 7915) @@ -102,8 +102,8 @@ # compute the result my $result = "<div class=\"Vote\">"; - $result .= "<form action=\"" . &TWiki::Func::getScriptUrlPath() . - "/vote/$web/$topic\" method=\"post\">\n"; + $result .= "<form action=\"" . &TWiki::Func::getScriptUrl( $web, $topic, 'vote' ) + . "\" method=\"post\">\n"; $result .= "<input type=\"hidden\" name=\"id\" value=\"$theId\"/>\n"; $result .= "<table class=\"VoteSelect\">\n"; |