[xoops-cvslog 72] CVS update: xoops2jp/html/modules/newbb/admin

Back to archive index

onokazu onoka****@users*****
2005年 6月 2日 (木) 14:17:31 JST


Index: xoops2jp/html/modules/newbb/admin/admin_forums.php
diff -u xoops2jp/html/modules/newbb/admin/admin_forums.php:1.2.6.4 xoops2jp/html/modules/newbb/admin/admin_forums.php:1.2.6.5
--- xoops2jp/html/modules/newbb/admin/admin_forums.php:1.2.6.4	Thu Jun  2 14:04:39 2005
+++ xoops2jp/html/modules/newbb/admin/admin_forums.php	Thu Jun  2 14:17:30 2005
@@ -6,7 +6,7 @@
     copyright            : (C) 2001 The phpBB Group
     email                : suppo****@phpbb*****
 
-    $Id: admin_forums.php,v 1.2.6.4 2005/06/02 05:04:39 onokazu Exp $
+    $Id: admin_forums.php,v 1.2.6.5 2005/06/02 05:17:30 onokazu Exp $
  ***************************************************************************/
 
 /***************************************************************************
@@ -180,7 +180,7 @@
         <?php
         $sql = "SELECT u.uname, u.uid FROM ".$xoopsDB->prefix("users")." u, ".$xoopsDB->prefix("bb_forum_mods")." f WHERE f.forum_id = $forum AND u.uid = f.user_id";
         if ( !$r = $xoopsDB->query($sql) ) {
-            echo"</td></tr></table>";
+            echo"</td></tr></table></td></tr></table></form></td></tr></table>";
             xoops_cp_footer();
             exit();
         }
@@ -205,7 +205,7 @@
         }
         $sql .= "ORDER BY uname";
         if ( !$r = $xoopsDB->query($sql) ) {
-            echo"</td></tr></table>";
+            echo"</td></tr></table></td></tr></table></form></td></tr></table>";
             xoops_cp_footer();
             exit();
         }
@@ -304,7 +304,7 @@
         <td><input type='text' name='ppp' size='3' maxlength='3' value='".$myrow['posts_per_page']."' /></td></tr>
         <tr class='bg1' align='left'><td><span class='fg2'>". _MD_A_TOPICPERFORUM ."</span><br /><span class='fg2'><i>". _MD_A_TITNOTPFTWBDPPOAF ."</i></span></td><td><input type='text' name='tpp' size='3' maxlength='3' value='". $myrow['topics_per_page'] ."' /></td></tr>";
         echo "<tr class='bg3' align='left'><td align='center' colspan='2'><input type='hidden' name='mode' value='editforum' /><input type='hidden' name='forum' value='$forum' /><input type='submit' name='save' value='". _MD_A_SAVECHANGES ."' />&nbsp;&nbsp;<input type='reset' value='". _MD_A_CLEAR ."' /></td></tr>";
-        echo "</tr></table></td></tr></table>";
+        echo "</table></td></tr></table></form>";
     }
     if ( !isset($_POST['submit']) && !isset($_POST['save']) ) {
         xoops_cp_header();
@@ -313,13 +313,13 @@
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
         <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
-        <table border="0" cellpadding="1" cellspacing="0" align='center' Valign="TOP" width="95%"><tr><td class='bg2'>
+        <table border="0" cellpadding="1" cellspacing="0" align='center' valign="TOP" width="95%"><tr><td class='bg2'>
         <table border="0" cellpadding="1" cellspacing="1" width="100%">
         <tr class='bg3' align='left'>
         <td align='center' colspan="2"><span class='fg2'><b><?php echo _MD_A_SELECTFORUMEDIT;?></b><span class='fg2'></td>
         </tr>
         <tr class='bg1' align='left'>
-        <td align='center' colspan="2"><select name='forum' SIZE="0">
+        <td align='center' colspan="2"><select name='forum' size="0">
         <?php
         $sql = "SELECT forum_name, forum_id FROM ".$xoopsDB->prefix("bb_forums")." ORDER BY forum_id";
         if ( $result = $xoopsDB->query($sql) ) {
@@ -343,8 +343,7 @@
         <input type='submit' name='submit' value="<?php echo _MD_A_EDIT;?>" />&nbsp;&nbsp;
         </td>
         </tr>
-        </tr>
-        </table></td></tr></table>
+        </table></td></tr></table></form>
         <?php
     }
     break;
@@ -392,8 +391,7 @@
         <input type='submit' name='submit' value="<?php echo _MD_A_SAVECHANGES;?>" />
         </td>
         </tr>
-        </tr>
-        </table></td></tr></table>
+        </table></td></tr></table></form>
         <?php
     } else {
         $sql = "SELECT cat_id, cat_title FROM ".$xoopsDB->prefix("bb_categories")." ORDER BY cat_order";
@@ -419,15 +417,14 @@
             echo "<option value=\"".$cat_data["cat_id"]."\">".$myts->makeTboxData4Show($cat_data["cat_title"])."</option>\n";
         }
         ?>
-        </select></td>
+        </select></td></tr>
         <tr class='bg3' align='left'>
         <td align='center' colspan="2">
         <input type="hidden" name='mode' value="editcat" />
         <input type='submit' name='submit' value="<?php echo _MD_A_EDIT;?>" />&nbsp;&nbsp;
         </td>
         </tr>
-        </tr>
-        </table></td></tr></table>
+        </table></td></tr></table></form>
         <?php
     }
     break;
@@ -475,7 +472,7 @@
         <tr class='bg3'>
         <td align='center' colspan="2"><span class='fg2'>
         <input type="submit" name="submit" value="<?php echo _MD_A_REMOVECATEGORY;?>" /></td></tr>
-        </table></table></form>
+        </table></td></tr></table></form>
         <?php
     }
     break;
@@ -520,8 +517,7 @@
         <input type="reset" value="<?php echo _MD_A_CLEAR;?>" />
         </td>
         </tr>
-        </tr>
-        </table></td></tr></table>
+        </table></td></tr></table></form>
         <?php
     }
     break;
@@ -694,8 +690,7 @@
         <input type="reset" value="<?php echo _MD_A_CLEAR;?>" />
         </td>
         </tr>
-        </tr>
-        </table></td></tr></table>
+        </table></td></tr></table></form>
         <?php
     }
     break;
@@ -788,7 +783,7 @@
         $last_id = $m['cat_id'];
     }
     ?>
-    </table></table>
+    </table></td></tr></table></form>
     <?php
     break;
 case 'sync':


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