[xoops-cvslog 290] CVS update: xoops2jp/html/modules/sections

Back to archive index

onokazu onoka****@users*****
2005年 8月 3日 (水) 21:39:15 JST


Index: xoops2jp/html/modules/sections/index.php
diff -u xoops2jp/html/modules/sections/index.php:1.3 xoops2jp/html/modules/sections/index.php:1.4
--- xoops2jp/html/modules/sections/index.php:1.3	Sat Jun 11 11:32:49 2005
+++ xoops2jp/html/modules/sections/index.php	Wed Aug  3 21:39:15 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: index.php,v 1.3 2005/06/11 02:32:49 onokazu Exp $
+// $Id: index.php,v 1.4 2005/08/03 12:39:15 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -49,7 +49,7 @@
             echo "<tr>";
             $count = 0;
         }
-        echo "<td><a href='index.php?op=listarticles&secid=$secid'><img src='images/$image' border='0' alt='$secname' /></a>";
+        echo "<td><a href='index.php?op=listarticles&amp;secid=$secid'><img src='images/$image' border='0' alt='$secname' /></a>";
         $count++;
         if ( $count == 2 ) {
             echo "</tr>";
@@ -76,9 +76,9 @@
     while ( list($artid, $secid, $title, $content, $counter) = $xoopsDB->fetchRow($result) ) {
         $title = $myts->makeTboxData4Show($title);
         $content = $myts->makeTareaData4Show($content);
-        echo "<tr><td align='left'>&nbsp;&nbsp;<strong><big>&middot;</big></strong>&nbsp;<a href='index.php?op=viewarticle&artid=$artid'>$title</a>";
+        echo "<tr><td align='left'>&nbsp;&nbsp;<strong><big>&middot;</big></strong>&nbsp;<a href='index.php?op=viewarticle&amp;artid=$artid'>$title</a>";
         printf(" (read: %s times)",$counter);
-        echo "<a href='index.php?op=printpage&artid=$artid'>&nbsp;&nbsp;<img src='".XOOPS_URL."/modules/sections/images/print.gif' border='0' alt='' . _MD_PRINTERPAGE.' /></a></td></tr>";
+        echo "<a href='index.php?op=printpage&amp;artid=$artid'>&nbsp;&nbsp;<img src='".XOOPS_URL."/modules/sections/images/print.gif' border='0' alt='" . _MD_PRINTERPAGE."' /></a></td></tr>";
     }
     echo "</table><br /><br /><br />[ <a href=index.php>"._MD_RETURN2INDEX."</a> ]</div>";
     include '../../footer.php';
@@ -116,19 +116,19 @@
         $next_page = '<a href="index.php">' ._MD_RETURN2INDEX.'</a>';
     } else {
         $next_pagenumber = $page + 1;
-        $next_page = "<a href='index.php?op=viewarticle&artid=$artid&page=$next_pagenumber'>"._MD_NEXTPAGE." ".sprintf("(%s/%s)",$next_pagenumber,$pageno)." >></a>";
+        $next_page = "<a href='index.php?op=viewarticle&amp;artid=$artid&amp;page=$next_pagenumber'>"._MD_NEXTPAGE." ".sprintf("(%s/%s)",$next_pagenumber,$pageno)." >></a>";
     }
     if( $page <= 1 ) {
         $previous_page = '<a href="index.php">' ._MD_RETURN2INDEX.'</a>';
     } else {
         $previous_pagenumber = $page -1;
-        $previous_page = "<a href='index.php?op=viewarticle&artid=$artid&page=$previous_pagenumber'><< "._MD_PREVPAGE." ".sprintf("(%s/%s)",$previous_pagenumber,$pageno)."</a>";
+        $previous_page = "<a href='index.php?op=viewarticle&amp;artid=$artid&amp;page=$previous_pagenumber'><< "._MD_PREVPAGE." ".sprintf("(%s/%s)",$previous_pagenumber,$pageno)."</a>";
     }
     echo ($contentpages[$arrayelement]);
     echo "<br /><table width='100%' border='0' cellspacing='0' cellpadding='2'><tr><td>$previous_page</td>        <td align='right'>$next_page</td></tr></table>";
     echo "</td></tr>
-    <tr><td align='center'>[ <a href='index.php?op=listarticles&secid=$secid'>".sprintf(_MD_BACK2SEC,$secname)."</a> |
-        <a href='index.php'>"._MD_RETURN2INDEX."</a> | <a href='index.php?op=printpage&artid=$artid'><img src='".XOOPS_URL."/modules/sections/images/print.gif' border='0' alt='" . _MD_PRINTERPAGE."' /></a>]</td></tr></table>";
+    <tr><td align='center'>[ <a href='index.php?op=listarticles&amp;secid=$secid'>".sprintf(_MD_BACK2SEC,$secname)."</a> |
+        <a href='index.php'>"._MD_RETURN2INDEX."</a> | <a href='index.php?op=printpage&amp;artid=$artid'><img src='".XOOPS_URL."/modules/sections/images/print.gif' border='0' alt='" . _MD_PRINTERPAGE."' /></a>]</td></tr></table>";
     include '../../footer.php';
 }
 
@@ -155,7 +155,7 @@
         printf(_MD_COMESFROM, htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES));
         echo "<br /><a href='".XOOPS_URL."'>".XOOPS_URL."</a><br /><br />";
         echo _MD_URLFORTHIS."<br />
-        <a href='".XOOPS_URL."/modules/sections/index.php?op=viewarticle&artid=$artid'>".XOOPS_URL."/modules/sections/index.php?op=viewarticle&artid=$artid</a>
+        <a href='".XOOPS_URL."/modules/sections/index.php?op=viewarticle&amp;artid=$artid'>".XOOPS_URL."/modules/sections/index.php?op=viewarticle&amp;artid=$artid</a>
         </td></tr></table>
         </body>
         </html>";


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