OSDN Git Service

array_search->in_array, $_navi_pagesをstaticに変更,etc.
authorpanda <panda>
Thu, 5 Dec 2002 06:38:58 +0000 (15:38 +0900)
committerpanda <panda>
Thu, 5 Dec 2002 06:38:58 +0000 (15:38 +0900)
plugin/navi.inc.php

index 8597c3d..f355742 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: navi.inc.php,v 1.4 2002/12/05 05:41:43 panda Exp $
+// $Id: navi.inc.php,v 1.5 2002/12/05 06:38:58 panda Exp $
 /*
 Last-Update:2002-12-05 rev.3
 
@@ -63,7 +63,9 @@ function plugin_navi_convert() {
                        closedir($dir);
                }
                // Ì¤ºîÀ®»þ¤Î¤¿¤á¤ÎÈÖʼ(¥×¥ì¥Ó¥å¡¼¤È¤«)
-               if (array_search($current,$pages) === FALSE) { $pages[] = $current; }
+               if (in_array($current,$pages) === FALSE)
+                       $pages[] = $current;
+               
                natcasesort($pages);
                $prev = $home;
                foreach ($pages as $page) {