[xoops-cvslog 240] CVS update: xoops2jp/html

Back to archive index

onokazu onoka****@users*****
2005年 7月 2日 (土) 23:40:23 JST


Index: xoops2jp/html/search.php
diff -u xoops2jp/html/search.php:1.2.6.2.2.2 xoops2jp/html/search.php:1.2.6.2.2.3
--- xoops2jp/html/search.php:1.2.6.2.2.2	Sat Jul  2 23:27:16 2005
+++ xoops2jp/html/search.php	Sat Jul  2 23:40:23 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: search.php,v 1.2.6.2.2.2 2005/07/02 14:27:16 onokazu Exp $
+// $Id: search.php,v 1.2.6.2.2.3 2005/07/02 14:40:23 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -193,8 +193,8 @@
                 }
                 if ( $count == 5 ) {
                     $search_url = XOOPS_URL.'/search.php?query='.urlencode(stripslashes(implode(' ', $queries)));
-                    $search_url .= "&amp;mid=$mid&amp;action=showall&amp;andor=$andor";
-                    echo '<br /><a href="'.$search_url.'">'._SR_SHOWALLR.'</a></p>';
+                    $search_url .= "&mid=$mid&action=showall&andor=$andor";
+                    echo '<br /><a href="'.htmlspecialchars($search_url).'">'._SR_SHOWALLR.'</a></p>';
                 }
             }
         }
@@ -263,7 +263,7 @@
             $prev = $start - 20;
             echo '<td align="left">
             ';
-            $search_url_prev = $search_url."&amp;start=$prev";
+            $search_url_prev = $search_url."&start=$prev";
             echo '<a href="'.htmlspecialchars($search_url_prev).'">'._SR_PREVIOUS.'</a></td>
             ';
         }


xoops-cvslog メーリングリストの案内
Back to archive index