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

Back to archive index

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


Index: xoops2jp/html/modules/newbb/delete.php
diff -u xoops2jp/html/modules/newbb/delete.php:1.4 xoops2jp/html/modules/newbb/delete.php:1.5
--- xoops2jp/html/modules/newbb/delete.php:1.4	Tue Jun 28 16:45:06 2005
+++ xoops2jp/html/modules/newbb/delete.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: delete.php,v 1.4 2005/06/28 07:45:06 onokazu Exp $
+// $Id: delete.php,v 1.5 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -53,12 +53,12 @@
 if ( $xoopsUser ) {
     if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
         if ( !is_moderator($forum, $xoopsUser->uid()) ) {
-            redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_DELNOTALLOWED);
+            redirect_header("viewtopic.php?topic_id=$topic_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum", 2, _MD_DELNOTALLOWED);
             exit();
         }
     }
 } else {
-    redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_DELNOTALLOWED);
+    redirect_header("viewtopic.php?topic_id=$topic_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum", 2, _MD_DELNOTALLOWED);
     exit();
 }
 
@@ -75,7 +75,7 @@
         redirect_header("viewforum.php?forum=$forum", 2, _MD_POSTSDELETED);
         exit();
     } else {
-        redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_POSTSDELETED);
+        redirect_header("viewtopic.php?topic_id=$topic_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum", 2, _MD_POSTSDELETED);
         exit();
     }
 } else {
Index: xoops2jp/html/modules/newbb/edit.php
diff -u xoops2jp/html/modules/newbb/edit.php:1.2 xoops2jp/html/modules/newbb/edit.php:1.3
--- xoops2jp/html/modules/newbb/edit.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/newbb/edit.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: edit.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: edit.php,v 1.3 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -61,7 +61,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewtopic.php?topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewtopic.php?topic_id=$topic_id&amp;post_id=$post_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
 	} else {
@@ -80,7 +80,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewtopic.php?topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewtopic.php?topic_id=$topic_id&amp;post_id=$post_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
     }
@@ -98,7 +98,7 @@
 		}
 	}
 	if ( $editerror ) {
-		redirect_header("viewtopic.php?topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum",2,_MD_NORIGHTTOPOST);
+		redirect_header("viewtopic.php?topic_id=$topic_id&amp;post_id=$post_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 		exit();
 	}
 	$nohtml = $forumpost->nohtml();
Index: xoops2jp/html/modules/newbb/index.php
diff -u xoops2jp/html/modules/newbb/index.php:1.3 xoops2jp/html/modules/newbb/index.php:1.4
--- xoops2jp/html/modules/newbb/index.php:1.3	Sat Jun 11 11:32:46 2005
+++ xoops2jp/html/modules/newbb/index.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: index.php,v 1.3 2005/06/11 02:32:46 onokazu Exp $
+// $Id: index.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/modules/newbb/newtopic.php
diff -u xoops2jp/html/modules/newbb/newtopic.php:1.2 xoops2jp/html/modules/newbb/newtopic.php:1.3
--- xoops2jp/html/modules/newbb/newtopic.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/newbb/newtopic.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: newtopic.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: newtopic.php,v 1.3 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -59,7 +59,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewforum.php?order=$order&viewmode=$viewmode&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewforum.php?order=$order&amp;viewmode=$viewmode&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
 		// Ok, looks like we're good.
@@ -79,7 +79,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewforum.php?order=$order&viewmode=$viewmode&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewforum.php?order=$order&amp;viewmode=$viewmode&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
     }
Index: xoops2jp/html/modules/newbb/post.php
diff -u xoops2jp/html/modules/newbb/post.php:1.3 xoops2jp/html/modules/newbb/post.php:1.4
--- xoops2jp/html/modules/newbb/post.php:1.3	Sat Jun 11 11:32:46 2005
+++ xoops2jp/html/modules/newbb/post.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: post.php,v 1.3 2005/06/11 02:32:46 onokazu Exp $
+// $Id: post.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -66,7 +66,7 @@
         }
 
         if ( $accesserror == 1 ) {
-            redirect_header("viewforum.php?order=".$order."&viewmode=".$viewmode."&forum=".$forum,2,_MD_NORIGHTTOPOST);
+            redirect_header("viewforum.php?order=".$order."&amp;viewmode=".$viewmode."&amp;forum=".$forum,2,_MD_NORIGHTTOPOST);
             exit();
         }
     } else {
@@ -85,7 +85,7 @@
             $accesserror = 1;
         }
         if ( $accesserror == 1 ) {
-            redirect_header("viewforum.php?order=".$order."&viewmode=".$viewmode."&forum=".$forum,2,_MD_NORIGHTTOPOST);
+            redirect_header("viewforum.php?order=".$order."&amp;viewmode=".$viewmode."&amp;forum=".$forum,2,_MD_NORIGHTTOPOST);
             exit();
         }
     }
@@ -122,7 +122,7 @@
                 $editerror = 1;
             }
             if ( $editerror == 1 ) {
-                redirect_header("viewtopic.php?topic_id=".$topic_id."&post_id=".$post_id."&order=".$order."&viewmode=".$viewmode."&pid=".$pid."&forum=".$forum,2,_MD_EDITNOTALLOWED);
+                redirect_header("viewtopic.php?topic_id=".$topic_id."&amp;post_id=".$post_id."&amp;order=".$order."&amp;viewmode=".$viewmode."&amp;pid=".$pid."&amp;forum=".$forum,2,_MD_EDITNOTALLOWED);
                 exit();
             }
             $editor = $xoopsUser->getVar("uname");
@@ -138,7 +138,7 @@
                     $uid = 0;
                 } else {
                     if ( !empty($topic_id) ) {
-                        redirect_header("viewtopic.php?topic_id=".$topic_id."&order=".$order."&viewmode=".$viewmode."&pid=".$pid."&forum=".$forum,2,_MD_ANONNOTALLOWED);
+                        redirect_header("viewtopic.php?topic_id=".$topic_id."&amp;order=".$order."&amp;viewmode=".$viewmode."&amp;pid=".$pid."&amp;forum=".$forum,2,_MD_ANONNOTALLOWED);
                     } else {
                         redirect_header("viewforum.php?forum=".$forum,2,_MD_ANONNOTALLOWED);
                     }
@@ -178,7 +178,7 @@
         // Define tags for notification message
         $tags = array();
         $tags['THREAD_NAME'] = $HTTP_POST_VARS['subject'];
-        $tags['THREAD_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->dirname() . '/viewtopic.php?forum=' . $forum . '&post_id='.$postid.'&topic_id=' . $forumpost->topic();
+        $tags['THREAD_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->dirname() . '/viewtopic.php?forum=' . $forum . '&amp;post_id='.$postid.'&amp;topic_id=' . $forumpost->topic();
         $tags['POST_URL'] = $tags['THREAD_URL'] . '#forumpost' . $postid;
         include_once 'include/notification.inc.php';
         $forum_info = newbb_notify_iteminfo ('forum', $forum);
Index: xoops2jp/html/modules/newbb/reply.php
diff -u xoops2jp/html/modules/newbb/reply.php:1.2 xoops2jp/html/modules/newbb/reply.php:1.3
--- xoops2jp/html/modules/newbb/reply.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/newbb/reply.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: reply.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: reply.php,v 1.3 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -40,11 +40,11 @@
 	redirect_header("viewforum.php?forum=$forum", 2, _MD_ERRORTOPIC);
 	exit();
 } elseif ( empty($post_id) ) {
-	redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_ERRORPOST);
+	redirect_header("viewtopic.php?topic_id=$topic_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum", 2, _MD_ERRORPOST);
 	exit();
 } else {
 	if ( is_locked($topic_id) ) {
-		redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_TOPICLOCKED);
+		redirect_header("viewtopic.php?topic_id=$topic_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum", 2, _MD_TOPICLOCKED);
 		exit();
 	}
 	$sql = "SELECT forum_type, forum_name, forum_access, allow_html, allow_sig, posts_per_page, hot_threshold, topics_per_page FROM ".$xoopsDB->prefix("bb_forums")." WHERE forum_id = $forum";
@@ -68,7 +68,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewtopic.php?topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewtopic.php?topic_id=$topic_id&amp;post_id=$post_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
 		// Ok, looks like we're good.
@@ -88,7 +88,7 @@
 			$accesserror = 1;
 		}
 		if ( $accesserror == 1 ) {
-			redirect_header("viewtopic.php?topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum",2,_MD_NORIGHTTOPOST);
+			redirect_header("viewtopic.php?topic_id=$topic_id&amp;post_id=$post_id&amp;order=$order&amp;viewmode=$viewmode&amp;pid=$pid&amp;forum=$forum",2,_MD_NORIGHTTOPOST);
 			exit();
 		}
     }
Index: xoops2jp/html/modules/newbb/viewforum.php
diff -u xoops2jp/html/modules/newbb/viewforum.php:1.2 xoops2jp/html/modules/newbb/viewforum.php:1.3
--- xoops2jp/html/modules/newbb/viewforum.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/newbb/viewforum.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: viewforum.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: viewforum.php,v 1.3 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -228,7 +228,7 @@
 			if ( $i > 3 && $i < $totalpages ) {
 				$pagination .= "...";
 			} else {
-				$addlink = '&start='.(($i - 1) * $forumdata['posts_per_page']);
+				$addlink = '&amp;start='.(($i - 1) * $forumdata['posts_per_page']);
 				$pagination .= '[<a href="'.$topiclink.$addlink.'">'.$i.'</a>]';
 			}
 		}


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