OSDN Git Service

BugTrack/181
authorpanda <panda>
Thu, 19 Dec 2002 11:33:49 +0000 (20:33 +0900)
committerpanda <panda>
Thu, 19 Dec 2002 11:33:49 +0000 (20:33 +0900)
plugin/article.inc.php
plugin/insert.inc.php
plugin/memo.inc.php
plugin/vote.inc.php

index ea76cf8..9b31ae6 100644 (file)
@@ -19,7 +19,7 @@
  -Åê¹ÆÆâÍƤΥ᡼¥ë¼«Æ°ÇÛ¿®Àè
  ¤òÀßÄê¤Î¾å¡¢¤´»ÈÍѤ¯¤À¤µ¤¤¡£
 
- $Id: article.inc.php,v 1.6 2002/11/29 00:09:01 panda Exp $
+ $Id: article.inc.php,v 1.7 2002/12/19 11:33:49 panda Exp $
  
  */
 
@@ -220,8 +220,9 @@ function plugin_article_action()
 }
 function plugin_article_convert()
 {
-       global $script,$article_no,$vars,$digest;
+       global $script,$vars,$digest;
        global $_btn_article,$_btn_name,$_btn_subject,$vars;
+       static $article_no = 0;
 
        if((arg_check("read")||$vars["cmd"] == ""||arg_check("unfreeze")||arg_check("freeze")||$vars["write"]||$vars["article"]))
                $button = "<input type=\"submit\" name=\"article\" value=\"$_btn_article\" />\n";
index 0c80d0a..f26fdfb 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: insert.inc.php,v 1.5 2002/11/29 00:09:01 panda Exp $
+// $Id: insert.inc.php,v 1.6 2002/12/19 11:33:49 panda Exp $
 
 /////////////////////////////////////////////////
 // ¥Æ¥­¥¹¥È¥¨¥ê¥¢¤Î¥«¥é¥à¿ô
@@ -103,8 +103,9 @@ function plugin_insert_action()
 }
 function plugin_insert_convert()
 {
-       global $script,$insert_no,$vars,$digest;
+       global $script,$vars,$digest;
        global $_btn_insert,$vars;
+       static $insert_no = 0;
 
        if((arg_check("read")||$vars["cmd"] == ""||arg_check("unfreeze")||arg_check("freeze")||$vars["write"]||$vars["insert"]))
                $button = "<input type=\"submit\" name=\"insert\" value=\"$_btn_insert\" />\n";
index 5ce3f11..c5fe600 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: memo.inc.php,v 1.4 2002/11/29 00:09:01 panda Exp $
+// $Id: memo.inc.php,v 1.5 2002/12/19 11:33:49 panda Exp $
 
 /////////////////////////////////////////////////
 // ¥Æ¥­¥¹¥È¥¨¥ê¥¢¤Î¥«¥é¥à¿ô
@@ -103,8 +103,9 @@ function plugin_memo_action()
 }
 function plugin_memo_convert()
 {
-       global $script,$memo_no,$vars,$digest;
+       global $script,$vars,$digest;
        global $_btn_memo_update,$vars;
+       static $memo_no = 0;
 
        if(func_num_args())
                $aryargs = func_get_args();
index e05e8a9..23a6c5b 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: vote.inc.php,v 1.9 2002/12/19 09:53:18 panda Exp $
+// $Id: vote.inc.php,v 1.10 2002/12/19 11:33:49 panda Exp $
 
 function plugin_vote_init()
 {
@@ -107,8 +107,9 @@ function plugin_vote_action()
 }
 function plugin_vote_convert()
 {
-       global $script,$vars,$vote_no,$digest;
+       global $script,$vars,$digest;
        global $_vote_plugin_choice, $_vote_plugin_votes;
+       static $vote_no = 0;
 
        $args = func_get_args();