[Pyukiwiki-cvs 0006858] CVS update: PyukiWiki-Devel/plugin

Back to archive index

PyukiWiki CVS Commit pyuki****@lists*****
2012年 2月 27日 (月) 21:07:30 JST


Index: PyukiWiki-Devel/plugin/vote.inc.pl
diff -u PyukiWiki-Devel/plugin/vote.inc.pl:1.459 PyukiWiki-Devel/plugin/vote.inc.pl:1.460
--- PyukiWiki-Devel/plugin/vote.inc.pl:1.459	Mon Feb 27 20:30:44 2012
+++ PyukiWiki-Devel/plugin/vote.inc.pl	Mon Feb 27 21:07:30 2012
@@ -1,6 +1,6 @@
 ######################################################################
 # vote.inc.pl - This is PyukiWiki, yet another Wiki clone.
-# $Id: vote.inc.pl,v 1.459 2012/02/27 11:30:44 papu Exp $
+# $Id: vote.inc.pl,v 1.460 2012/02/27 12:07:30 papu Exp $
 #
 # "PyukiWiki" version 0.2.0-p2-preview4 $$
 # Author: Nekyo http://nekyo.qp.land.to/
@@ -203,10 +203,14 @@
 			if (/^(.+)\[(\d+)\]$/) {
 				$total++ if(lc $1 ne "add");
 				$totalvotes += $2+0 if($2+0 > 0);
-				$complete=1 if(lc $1 eq "complete");
+				$complete=1 if(lc $_ eq "complete");
+				$complete=1 if(lc $_ eq "end");
+				$complete=1 if(lc $_ eq "close");
 			} else {
 				$total++ if(lc $_ ne "add");
 				$complete=1 if(lc $_ eq "complete");
+				$complete=1 if(lc $_ eq "end");
+				$complete=1 if(lc $_ eq "close");
 			}
 		}
 



Pyukiwiki-cvs メーリングリストの案内
Back to archive index