[xoops-cvslog 357] CVS update: xoops2jp/html/modules/news

Back to archive index

NobuNobu nobun****@users*****
2005年 8月 21日 (日) 13:16:54 JST


Index: xoops2jp/html/modules/news/archive.php
diff -u xoops2jp/html/modules/news/archive.php:1.2 xoops2jp/html/modules/news/archive.php:1.2.12.1
--- xoops2jp/html/modules/news/archive.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/news/archive.php	Sun Aug 21 13:16:54 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: archive.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: archive.php,v 1.2.12.1 2005/08/21 04:16:54 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -40,8 +40,8 @@
 
 $months_arr = array(1 => _CAL_JANUARY, 2 => _CAL_FEBRUARY, 3 => _CAL_MARCH, 4 => _CAL_APRIL, 5 => _CAL_MAY, 6 => _CAL_JUNE, 7 => _CAL_JULY, 8 => _CAL_AUGUST, 9 => _CAL_SEPTEMBER, 10 => _CAL_OCTOBER, 11 => _CAL_NOVEMBER, 12 => _CAL_DECEMBER);
 
-$fromyear = (isset($HTTP_GET_VARS['year'])) ? intval ($HTTP_GET_VARS['year']): 0;
-$frommonth = (isset($HTTP_GET_VARS['month'])) ? intval($HTTP_GET_VARS['month']) : 0;
+$fromyear = (isset($_GET['year'])) ? intval ($_GET['year']): 0;
+$frommonth = (isset($_GET['month'])) ? intval($_GET['month']) : 0;
 
 $useroffset = "";
 if($xoopsUser){
Index: xoops2jp/html/modules/news/comment_new.php
diff -u xoops2jp/html/modules/news/comment_new.php:1.2 xoops2jp/html/modules/news/comment_new.php:1.2.12.1
--- xoops2jp/html/modules/news/comment_new.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/news/comment_new.php	Sun Aug 21 13:16:54 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_new.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: comment_new.php,v 1.2.12.1 2005/08/21 04:16:54 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -26,7 +26,7 @@
 //  ------------------------------------------------------------------------ //
 include '../../mainfile.php';
 include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php';
-$com_itemid = isset($HTTP_GET_VARS['com_itemid']) ? intval($HTTP_GET_VARS['com_itemid']) : 0;
+$com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0;
 if ($com_itemid > 0) {
 	$article = new NewsStory($com_itemid);
 	$com_replytext = _POSTEDBY.'&nbsp;<b>'.$article->uname().'</b>&nbsp;'._DATE.'&nbsp;<b>'.formatTimestamp($article->published()).'</b><br /><br />'.$article->hometext();
Index: xoops2jp/html/modules/news/index.php
diff -u xoops2jp/html/modules/news/index.php:1.2 xoops2jp/html/modules/news/index.php:1.2.12.1
--- xoops2jp/html/modules/news/index.php:1.2	Fri Mar 18 21:52:25 2005
+++ xoops2jp/html/modules/news/index.php	Sun Aug 21 13:16:54 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: index.php,v 1.2 2005/03/18 12:52:25 onokazu Exp $
+// $Id: index.php,v 1.2.12.1 2005/08/21 04:16:54 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -29,13 +29,13 @@
 include XOOPS_ROOT_PATH.'/header.php';
 include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php';
 
-if (isset($HTTP_GET_VARS['storytopic'])) {
-	$xoopsOption['storytopic'] = intval($HTTP_GET_VARS['storytopic']);
+if (isset($_GET['storytopic'])) {
+	$xoopsOption['storytopic'] = intval($_GET['storytopic']);
 } else {
 	$xoopsOption['storytopic'] = 0;
 }
-if ( isset($HTTP_GET_VARS['storynum']) ) {
-	$xoopsOption['storynum'] = intval($HTTP_GET_VARS['storynum']);
+if ( isset($_GET['storynum']) ) {
+	$xoopsOption['storynum'] = intval($_GET['storynum']);
 	if ($xoopsOption['storynum'] > 30) {
 		$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];
 	}
@@ -43,8 +43,8 @@
 	$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];
 }
 
-if ( isset($HTTP_GET_VARS['start']) ) {
-	$start = intval($HTTP_GET_VARS['start']);
+if ( isset($_GET['start']) ) {
+	$start = intval($_GET['start']);
 } else {
 	$start = 0;
 }
Index: xoops2jp/html/modules/news/print.php
diff -u xoops2jp/html/modules/news/print.php:1.4 xoops2jp/html/modules/news/print.php:1.4.2.1
--- xoops2jp/html/modules/news/print.php:1.4	Wed Aug  3 21:39:14 2005
+++ xoops2jp/html/modules/news/print.php	Sun Aug 21 13:16:54 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: print.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
+// $Id: print.php,v 1.4.2.1 2005/08/21 04:16:54 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -26,7 +26,7 @@
 //  ------------------------------------------------------------------------ //
 include '../../mainfile.php';
 
-$storyid = isset($HTTP_GET_VARS['storyid']) ? intval($HTTP_GET_VARS['storyid']) : 0;
+$storyid = isset($_GET['storyid']) ? intval($_GET['storyid']) : 0;
 if ( empty($storyid) ) {
     redirect_header("index.php");
 }


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