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

Back to archive index

Minahito minah****@users*****
2005年 8月 25日 (木) 12:18:00 JST


Index: xoops2jp/html/modules/newbb/admin/admin_forums.php
diff -u xoops2jp/html/modules/newbb/admin/admin_forums.php:1.4 xoops2jp/html/modules/newbb/admin/admin_forums.php:1.4.2.1
--- xoops2jp/html/modules/newbb/admin/admin_forums.php:1.4	Wed Aug  3 21:39:13 2005
+++ xoops2jp/html/modules/newbb/admin/admin_forums.php	Thu Aug 25 12:18:00 2005
@@ -6,7 +6,7 @@
     copyright            : (C) 2001 The phpBB Group
     email                : suppo****@phpbb*****
 
-    $Id: admin_forums.php,v 1.4 2005/08/03 12:39:13 onokazu Exp $
+    $Id: admin_forums.php,v 1.4.2.1 2005/08/25 03:18:00 minahito Exp $
  ***************************************************************************/
 
 /***************************************************************************
@@ -157,7 +157,7 @@
         ."<tr><td class=\"odd\">";
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -312,7 +312,7 @@
         ."<tr><td class=\"odd\">";
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -373,7 +373,7 @@
         $cat_data = $xoopsDB->fetchArray($result);
         $cat_title = $myts->makeTboxData4Edit($cat_data["cat_title"]);
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -404,7 +404,7 @@
         ."<tr><td class=\"odd\">";
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -443,7 +443,7 @@
         ."<tr><td class=\"odd\">";
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('PHP_SELF'); ?>" method='post'>
         <table border="0" cellpadding="1" cellspacing="0" align='center' width="95%"><tr><td class='bg2'>
         <table border="0" cellpadding="1" cellspacing="1" width="100%">
         <tr class='bg3' align='left'>
@@ -500,7 +500,7 @@
         ."<tr><td class=\"odd\">";
         echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -603,7 +603,7 @@
             exit();
         }
         ?>
-        <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+        <form action="<?php echo xoops_getenv('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="1" width="100%">
         <tr class='bg3' align='left'>
@@ -750,7 +750,7 @@
         }
     }
     ?>
-    <form action="<?php echo $_SERVER['PHP_SELF'];?>" method='post'>
+    <form action="<?php echo xoops_getenv('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="1" width="100%">
     <tr class='bg3' align='left'>
@@ -768,7 +768,7 @@
     }
     while ( $m = $xoopsDB->fetchArray($r) ) {
         echo "<!-- New Row -->\n";
-        echo "<form action=\"".$_SERVER['PHP_SELF']."\" METHOD=\"POST\">\n";
+        echo "<form action=\"".xoops_getenv('PHP_SELF')."\" METHOD=\"POST\">\n";
         echo "<tr class='bg1' align='center'>\n";
         echo "<td>".$myts->makeTboxData4Show($m['cat_title'])."</td>\n";
         echo "<td><input type=\"hidden\" name=\"mode\" value=\"$mode\" />\n";
@@ -805,7 +805,7 @@
         <td><?php echo _MD_A_CLICKBELOWSYNC;?></td>
         </tr>
         <tr class='bg1' align='center'>
-        <td><form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
+        <td><form action="<?php echo xoops_getenv('PHP_SELF'); ?>" method="post">
         <input type="hidden" name="mode" value="<?php echo $mode?>" /><input type="submit" name="submit" value="<?php echo _MD_A_SYNCFORUM;?>" /></form></td>
         </td>
         </tr>
Index: xoops2jp/html/modules/newbb/admin/admin_priv_forums.php
diff -u xoops2jp/html/modules/newbb/admin/admin_priv_forums.php:1.4 xoops2jp/html/modules/newbb/admin/admin_priv_forums.php:1.4.2.1
--- xoops2jp/html/modules/newbb/admin/admin_priv_forums.php:1.4	Wed Aug  3 21:39:13 2005
+++ xoops2jp/html/modules/newbb/admin/admin_priv_forums.php	Thu Aug 25 12:18:00 2005
@@ -6,7 +6,7 @@
     copyright            : (C) 2001 The phpBB Group
     email                : suppo****@phpbb*****
 
-    $Id: admin_priv_forums.php,v 1.4 2005/08/03 12:39:13 onokazu Exp $
+    $Id: admin_priv_forums.php,v 1.4.2.1 2005/08/25 03:18:00 minahito Exp $
  ***************************************************************************/
 
 /***************************************************************************
@@ -37,7 +37,7 @@
         // No opcode passed. Show list of private forums.
 ?>
 
-    <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
+    <form action="<?php echo xoops_getenv('PHP_SELF'); ?>" method="post">
         <table border="0" cellpadding="1" cellspacing="0" align="center" width="95%">
             <tr>
                 <td class='bg2'>
@@ -206,7 +206,7 @@
              </tr>
              <tr>
              <td class='bg3' align='center' width='40%'>
-            <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
+            <form action="<?php echo xoops_getenv('PHP_SELF'); ?>" method="post">
                  <b><?php echo _MD_A_UWOA;?></b>
              </td>
              <td class='bg3' align='center' width='20%'>
@@ -265,7 +265,7 @@
                             <input type="submit" name="submit" value="<?php echo _MD_A_ADDUSERS;?>" />
                             </form><br />
 <?php
-                            $link = $_SERVER['PHP_SELF']."?forum=".$forum."&amp;op=clearusers";
+                            $link = xoops_getenv('PHP_SELF')."?forum=".$forum."&amp;op=clearusers";
                             echo myTextForm($link, _MD_A_CLEARALLUSERS);
 ?>
                         </td>


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