[xoops-cvslog 238] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2005年 6月 30日 (木) 19:23:35 JST


Index: xoops2jp/html/include/comment_post.php
diff -u xoops2jp/html/include/comment_post.php:1.2.6.3.2.4 xoops2jp/html/include/comment_post.php:1.2.6.3.2.5
--- xoops2jp/html/include/comment_post.php:1.2.6.3.2.4	Thu Jun 30 19:00:57 2005
+++ xoops2jp/html/include/comment_post.php	Thu Jun 30 19:23:35 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_post.php,v 1.2.6.3.2.4 2005/06/30 10:00:57 minahito Exp $
+// $Id: comment_post.php,v 1.2.6.3.2.5 2005/06/30 10:23:35 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -97,6 +97,7 @@
     $dohtml = (isset($_POST['dohtml']) && intval($_POST['dohtml']) > 0) ? 1 : 0;
     $doimage = (isset($_POST['doimage']) && intval($_POST['doimage']) > 0) ? 1 : 0;
     $com_icon = isset($_POST['com_icon']) ? trim($_POST['com_icon']) : '';
+    $noname = isset($_POST['noname']) ? intval($_POST['noname']) : 0;
 } else {
     exit();
 }
@@ -123,7 +124,6 @@
         }
     }
     $p_comment =& $myts->previewTarea($_POST['com_text'], $dohtml, $dosmiley, $doxcode, $doimage, $dobr);
-    $noname = isset($_POST['noname']) ? intval($_POST['noname']) : 0;
     $com_text = $myts->htmlSpecialChars($myts->stripSlashesGPC($_POST['com_text']));
     if ($xoopsModule->getVar('dirname') != 'system') {
         include XOOPS_ROOT_PATH.'/header.php';
@@ -221,7 +221,6 @@
                     break;
                 }
             }
-            $noname = isset($_POST['noname']) ? intval($_POST['noname']) : '';
             if (!empty($xoopsModuleConfig['com_anonpost']) && !empty($noname)) {
                 $uid = 0;
             } else {


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