[xoops-cvslog 264] CVS update: xoops2jp/html

Back to archive index

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


Index: xoops2jp/html/admin.php
diff -u xoops2jp/html/admin.php:1.3 xoops2jp/html/admin.php:1.4
--- xoops2jp/html/admin.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/admin.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: admin.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: admin.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/banners.php
diff -u xoops2jp/html/banners.php:1.3 xoops2jp/html/banners.php:1.4
--- xoops2jp/html/banners.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/banners.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: banners.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: banners.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/edituser.php
diff -u xoops2jp/html/edituser.php:1.3 xoops2jp/html/edituser.php:1.4
--- xoops2jp/html/edituser.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/edituser.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: edituser.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: edituser.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/footer.php
diff -u xoops2jp/html/footer.php:1.3 xoops2jp/html/footer.php:1.4
--- xoops2jp/html/footer.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/footer.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: footer.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: footer.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -59,11 +59,12 @@
             ob_end_clean();
         }
         if (!headers_sent()) {
-            header('Content-Type:text/html; charset='._CHARSET);
-            header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
-            //header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
-            header('Cache-Control: private, no-cache');
-            header('Pragma: no-cache');
+            header('Content-Type:text/html; charset='._CHARSET);
+            header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
+            header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
+            header('Cache-Control: no-store, no-cache, must-revalidate');
+            header('Cache-Control: post-check=0, pre-check=0', false);
+            header('Pragma: no-cache');
         }
         $xoopsTpl->xoops_setCaching(0);
         $xoopsTpl->display($xoopsConfig['theme_set'].'/theme.html');
Index: xoops2jp/html/header.php
diff -u xoops2jp/html/header.php:1.3 xoops2jp/html/header.php:1.4
--- xoops2jp/html/header.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/header.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: header.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: header.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -87,7 +87,7 @@
     // get all blocks and assign to smarty
     $xoopsblock = new XoopsBlock();
     $block_arr = array();
-    if ($xoopsUser != '') {
+    if (is_object($xoopsUser)) {
         $xoopsTpl->assign(array('xoops_isuser' => true, 'xoops_userid' => $xoopsUser->getVar('uid'), 'xoops_uname' => $xoopsUser->getVar('uname'), 'xoops_isadmin' => $xoopsUserIsAdmin));
         if (!empty($xoopsModule)) {
             // set page title
@@ -109,7 +109,7 @@
         $xoopsTpl->assign(array('xoops_isuser' => false, 'xoops_isadmin' => false));
         if (!empty($xoopsModule)) {
             // set page title
-            $xoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getVar('name'), 'xoops_modulename' => $xoopsModule->getVar('name'), 'xoops_moduledir' => $xoopsModule->getVar('dirname')));
+            $xoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getVar('name'), 'xoops_modulename' => $xoopsModule->getVar('name'), 'xoops_dirname' => $xoopsModule->getVar('dirname')));
             if (preg_match("/index\.php$/i", xoops_getenv('PHP_SELF')) && $xoopsConfig['startpage'] == $xoopsModule->getVar('dirname')) {
                 $block_arr =& $xoopsblock->getAllByGroupModule(XOOPS_GROUP_ANONYMOUS, $xoopsModule->getVar('mid'), true, XOOPS_BLOCK_VISIBLE);
             } else {
Index: xoops2jp/html/image.php
diff -u xoops2jp/html/image.php:1.3 xoops2jp/html/image.php:1.4
--- xoops2jp/html/image.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/image.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: image.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: image.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/imagemanager.php
diff -u xoops2jp/html/imagemanager.php:1.3 xoops2jp/html/imagemanager.php:1.4
--- xoops2jp/html/imagemanager.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/imagemanager.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: imagemanager.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: imagemanager.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/lostpass.php
diff -u xoops2jp/html/lostpass.php:1.2 xoops2jp/html/lostpass.php:1.3
--- xoops2jp/html/lostpass.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/lostpass.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: lostpass.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $
+// $Id: lostpass.php,v 1.3 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/misc.php
diff -u xoops2jp/html/misc.php:1.3 xoops2jp/html/misc.php:1.4
--- xoops2jp/html/misc.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/misc.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: misc.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: misc.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/pda.php
diff -u xoops2jp/html/pda.php:1.3 xoops2jp/html/pda.php:1.4
--- xoops2jp/html/pda.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/pda.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: pda.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: pda.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/pmlite.php
diff -u xoops2jp/html/pmlite.php:1.3 xoops2jp/html/pmlite.php:1.4
--- xoops2jp/html/pmlite.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/pmlite.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: pmlite.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: pmlite.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/register.php
diff -u xoops2jp/html/register.php:1.3 xoops2jp/html/register.php:1.4
--- xoops2jp/html/register.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/register.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: register.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: register.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/search.php
diff -u xoops2jp/html/search.php:1.3 xoops2jp/html/search.php:1.4
--- xoops2jp/html/search.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/search.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: search.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: search.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -194,7 +194,7 @@
                 if ( $count == 5 ) {
                     $search_url = XOOPS_URL.'/search.php?query='.urlencode(stripslashes(implode(' ', $queries)));
                     $search_url .= "&mid=$mid&action=showall&andor=$andor";
-                    echo '<br /><a href="'.$search_url.'">'._SR_SHOWALLR.'</a></p>';
+                    echo '<br /><a href="'.htmlspecialchars($search_url).'">'._SR_SHOWALLR.'</a></p>';
                 }
             }
         }
Index: xoops2jp/html/user.php
diff -u xoops2jp/html/user.php:1.3 xoops2jp/html/user.php:1.4
--- xoops2jp/html/user.php:1.3	Sat Jun 11 11:32:38 2005
+++ xoops2jp/html/user.php	Wed Aug  3 21:39:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: user.php,v 1.3 2005/06/11 02:32:38 onokazu Exp $
+// $Id: user.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/xmlrpc.php
diff -u xoops2jp/html/xmlrpc.php:1.2 xoops2jp/html/xmlrpc.php:1.3
--- xoops2jp/html/xmlrpc.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/xmlrpc.php	Wed Aug  3 21:39:11 2005
@@ -30,42 +30,42 @@
 include_once XOOPS_ROOT_PATH.'/class/xml/rpc/xmlrpctag.php';
 include_once XOOPS_ROOT_PATH.'/class/xml/rpc/xmlrpcparser.php';
 $response = new XoopsXmlRpcResponse();
-$parser = new XoopsXmlRpcParser($GLOBALS['HTTP_RAW_POST_DATA']);
+$parser = new XoopsXmlRpcParser(rawurldecode($GLOBALS['HTTP_RAW_POST_DATA']));
 if (!$parser->parse()) {
-	$response->add(new XoopsXmlRpcFault(102));
+    $response->add(new XoopsXmlRpcFault(102));
 } else {
-	$module_handler =& xoops_gethandler('module');
-	$module =& $module_handler->getByDirname('news');
-	if (!is_object($module)) {
-		$response->add(new XoopsXmlRpcFault(110));
-	} else {
-		$methods = explode('.', $parser->getMethodName());
-		switch ($methods[0]) {
-		case 'blogger':
-			include_once XOOPS_ROOT_PATH.'/class/xml/rpc/bloggerapi.php';
-			$rpc_api = new BloggerApi($parser->getParam(), $response, $module);
-			break;
-		case 'metaWeblog':
-			include_once XOOPS_ROOT_PATH.'/class/xml/rpc/metaweblogapi.php';
-			$rpc_api = new MetaWeblogApi($parser->getParam(), $response, $module);
-			break;
-		case 'mt':
-			include_once XOOPS_ROOT_PATH.'/class/xml/rpc/movabletypeapi.php';
-			$rpc_api = new MovableTypeApi($parser->getParam(), $response, $module);
-			break;
-		case 'xoops':
-		default:
-			include_once XOOPS_ROOT_PATH.'/class/xml/rpc/xoopsapi.php';
-			$rpc_api = new XoopsApi($parser->getParam(), $response, $module);
-			break;
-		}
-		$method = $methods[1];
-		if (!method_exists($rpc_api, $method)) {
-			$response->add(new XoopsXmlRpcFault(107));
-		} else {
-			$rpc_api->$method();
-		}
-	}
+    $module_handler =& xoops_gethandler('module');
+    $module =& $module_handler->getByDirname('news');
+    if (!is_object($module)) {
+        $response->add(new XoopsXmlRpcFault(110));
+    } else {
+        $methods = explode('.', $parser->getMethodName());
+        switch ($methods[0]) {
+        case 'blogger':
+            include_once XOOPS_ROOT_PATH.'/class/xml/rpc/bloggerapi.php';
+            $rpc_api = new BloggerApi($parser->getParam(), $response, $module);
+            break;
+        case 'metaWeblog':
+            include_once XOOPS_ROOT_PATH.'/class/xml/rpc/metaweblogapi.php';
+            $rpc_api = new MetaWeblogApi($parser->getParam(), $response, $module);
+            break;
+        case 'mt':
+            include_once XOOPS_ROOT_PATH.'/class/xml/rpc/movabletypeapi.php';
+            $rpc_api = new MovableTypeApi($parser->getParam(), $response, $module);
+            break;
+        case 'xoops':
+        default:
+            include_once XOOPS_ROOT_PATH.'/class/xml/rpc/xoopsapi.php';
+            $rpc_api = new XoopsApi($parser->getParam(), $response, $module);
+            break;
+        }
+        $method = $methods[1];
+        if (!method_exists($rpc_api, $method)) {
+            $response->add(new XoopsXmlRpcFault(107));
+        } else {
+            $rpc_api->$method();
+        }
+    }
 }
 $payload =& $response->render();
 //$fp = fopen(XOOPS_CACHE_PATH.'/xmllog.txt', 'w');


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