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

アーカイブの一覧に戻る

onokazu onoka****@users*****
2005年 6月 11日 (土) 11:50:10 JST


Index: xoops2jp/html/header.php
diff -u xoops2jp/html/header.php:1.2.6.4 xoops2jp/html/header.php:1.2.6.4.2.1
--- xoops2jp/html/header.php:1.2.6.4	Sat May 28 08:42:07 2005
+++ xoops2jp/html/header.php	Sat Jun 11 11:50:10 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: header.php,v 1.2.6.4 2005/05/27 23:42:07 onokazu Exp $
+// $Id: header.php,v 1.2.6.4.2.1 2005/06/11 02:50:10 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -91,7 +91,7 @@
         $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
-            $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($xoopsUser->getGroups(), $xoopsModule->getVar('mid'), true, XOOPS_BLOCK_VISIBLE);
             } else {
@@ -203,6 +203,9 @@
         unset($bcontent);
     }
     //unset($block_arr);
+    if (!isset($show_lblock)) {
+        $xoopsTpl->assign('xoops_showlblock', 0);
+    }
     if (!isset($show_rblock)) {
         $xoopsTpl->assign('xoops_showrblock', 0);
     }
Index: xoops2jp/html/misc.php
diff -u xoops2jp/html/misc.php:1.2.6.3 xoops2jp/html/misc.php:1.2.6.3.2.1
--- xoops2jp/html/misc.php:1.2.6.3	Fri May 13 19:30:39 2005
+++ xoops2jp/html/misc.php	Sat Jun 11 11:50:10 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: misc.php,v 1.2.6.3 2005/05/13 10:30:39 minahito Exp $
+// $Id: misc.php,v 1.2.6.3.2.1 2005/06/11 02:50:10 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -83,7 +83,7 @@
         </script>
         </head><body>
         <h4><?php echo _MSC_AVAVATARS;?></h4>
-        <form name='avatars'>
+        <form name='avatars' action='<?php echo $_SERVER['PHP_SELF'];?>'>
         <table width='100%'><tr>
         <?php
         $avatar_handler =& xoops_gethandler('avatar');
@@ -103,7 +103,7 @@
         break;
     case "friend":
         if ( !isset($_POST['op']) || $_POST['op'] == "sendform" ) {
-        	$token=&XoopsMultiTokenHandler::quickCreate('misc_sendform');
+            $token=&XoopsMultiTokenHandler::quickCreate('misc_sendform');
             if (is_object($xoopsUser)) {
                 $yname = $xoopsUser->getVar("uname", 'e');
                 $ymail = $xoopsUser->getVar("email", 'e');


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る