OSDN Git Service

BugTrack2/106: Inserted BugTrack no to the comments
authorhenoheno <henoheno>
Tue, 4 Oct 2005 13:41:03 +0000 (22:41 +0900)
committerhenoheno <henoheno>
Tue, 4 Oct 2005 13:41:03 +0000 (22:41 +0900)
lib/file.php
lib/html.php
plugin/recent.inc.php
plugin/rss.inc.php
rules.ini.php

index d44c459..ffe5a7d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: file.php,v 1.39 2005/10/02 16:15:05 henoheno Exp $
+// $Id: file.php,v 1.40 2005/10/04 13:41:03 henoheno Exp $
 // Copyright (C)
 //   2002-2005 PukiWiki Developers Team
 //   2001-2002 Originally written by yu-ji
@@ -297,7 +297,7 @@ function put_lastmodified()
        flock($fp, LOCK_EX);
        rewind($fp);
 
-       // Only variables can be passed by reference from PHP 5.0.5
+       // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
        $tmp_array = array_keys($recent_pages); // with array_splice()
 
        foreach (array_splice($tmp_array, 0, $maxshow) as $page) {
index 6f8fd05..9a742ed 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: html.php,v 1.45 2005/10/02 16:26:12 henoheno Exp $
+// $Id: html.php,v 1.46 2005/10/04 13:41:03 henoheno Exp $
 // Copyright (C)
 //   2002-2005 PukiWiki Developers Team
 //   2001-2002 Originally written by yu-ji
@@ -120,7 +120,7 @@ function catbody($title, $page, $body)
                $body = '<div class="small">' . $_msg_word . htmlspecialchars($vars['word']) .
                        '</div>' . $hr . "\n" . $body;
 
-               // Only variables can be passed by reference from PHP 5.0.5
+               // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
                // with array_splice(), array_flip()
                $tmp_array = preg_split('/\s+/', $vars['word'], -1, PREG_SPLIT_NO_EMPTY);
                $tmp_array = array_splice($tmp_array, 0, 10);
index 075122d..a731342 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: recent.inc.php,v 1.17 2005/10/02 16:15:06 henoheno Exp $
+// $Id: recent.inc.php,v 1.18 2005/10/04 13:41:03 henoheno Exp $
 // Copyright (C)
 //   2002-2005 PukiWiki Developers Team
 //   2002      Y.MASUI http://masui.net/pukiwiki/ masui@masui.net
@@ -46,7 +46,7 @@ function plugin_recent_convert()
 
        // Get latest N changes
        if (file_exists(PLUGIN_RECENT_CACHE)) {
-               // Only variables can be passed by reference from PHP 5.0.5
+               // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
                $file_array = file(PLUGIN_RECENT_CACHE); // with array_splice()
                $lines      = array_splice($file_array, 0, $recent_lines);
        } else {
index 2f63a7a..f864014 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone
-// $Id: rss.inc.php,v 1.16 2005/10/02 16:15:06 henoheno Exp $
+// $Id: rss.inc.php,v 1.17 2005/10/04 13:41:03 henoheno Exp $
 //
 // RSS plugin: Publishing RSS of RecentChanges
 //
@@ -36,7 +36,7 @@ function plugin_rss_action()
        // Creating <item>
        $items = $rdf_li = '';
 
-       // Only variables can be passed by reference from PHP 5.0.5
+       // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
        $file_array = file($recent); // with array_splice()
 
        foreach (array_splice($file_array, 0, $rss_max) as $line) {
index ba42de7..3e2eeb7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: rules.ini.php,v 1.8 2005/10/02 16:15:05 henoheno Exp $
+// $Id: rules.ini.php,v 1.9 2005/10/04 13:41:03 henoheno Exp $
 // Copyright (C)
 //   2003-2005 PukiWiki Developers Team
 //   2001-2002 Originally written by yu-ji
@@ -26,7 +26,7 @@ $datetime_rules = array(
 //  ¹ÔËö»ØÄê¤Ï $ ¤ò¸å¤í¤Ë¡£
 //
 
-// Only variables can be passed by reference from PHP 5.0.5
+// BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
 $page_array = explode('/', $vars['page']); // with array_pop()
 
 $str_rules = array(
@@ -40,6 +40,7 @@ $str_rules = array(
        '&fpage;'       => $vars['page'],
        '&t;'           => "\t",
 );
+
 unset($page_array);
 
 ?>