]> 4ch.mooo.com Git - test.git/commitdiff
modified: lib/lib_common.php
authorsparky4 <sparky4@4ch.irc.su>
Thu, 17 Mar 2011 07:05:10 +0000 (02:05 -0500)
committersparky4 <sparky4@4ch.irc.su>
Thu, 17 Mar 2011 07:05:10 +0000 (02:05 -0500)
modified:   yotsubanome.php

lib/lib_common.php
yotsubanome.php

index c2cb6630f08f0370184c35b4f05b4d943e412364..895cb7692044e98649258fc49a23e411ddb99868 100755 (executable)
@@ -98,14 +98,14 @@ function form(&$dat, $resno, $iscollapse=true, $retURL=PHP_SELF, $name='', $mail
                '{$ADDITION_INFO}' => $ADDITION_INFO,
                '{$FORM_NOTICE_NOSCRIPT}' => _T('form_notice_noscript'));
        $PMS->useModuleMethods('PostForm', array(&$pte_vals['{$FORM_EXTRA_COLUMN}'])); // "PostForm" Hook Point
-       if(!$isedit && (RESIMG || !$resno)){
+       /*if(!$isedit && (RESIMG || !$resno)){
                $pte_vals += array('{$FORM_ATTECHMENT_TEXT}' => _T('form_attechment'),
                        '{$FORM_ATTECHMENT_FIELD}' => '<input class="inputtext" type="file" name="upfile" id="fupfile" size="35" /><input class="hide" type="checkbox" name="reply" value="yes" />');
                        if(!NO_TEXTONLY || NO_TEXTONLY == 1){
                                $pte_vals += array('{$FORM_NOATTECHMENT_TEXT}' => _T('form_noattechment'),
                                '{$FORM_NOATTECHMENT_FIELD}' => '<input type="checkbox" name="noimg" id="noimg" value="on" />');
                        }
-       }
+       }*/
        if(OPTION){ //++++ more options will be added on later
                $pte_vals['{$FORM_OPTION1_TEXT}'] = _T('form_option1');
                if(USE_UPSERIES){ // 啟動連貼機能
index 43f8add668f87d5a0792f75f5e23908ed3b702bf..cec6ae790713d8c4394601fe03b49a523494f823 100755 (executable)
@@ -197,7 +197,7 @@ function updatelog($resno=0,$page_num=-1,$single_page=false){
        for($page = $page_start; $page <= $page_end; $page++){
                $dat = ''; $pte_vals['{$THREADS}'] = '';
                head($dat, $resno);
-               form($dat, $resno);
+               //temperarly moved form($dat, $resno);
                // 輸出討論串內容
                for($i = 0; $i < $inner_for_count; $i++){
                        // 取出討論串編號
@@ -218,6 +218,7 @@ function updatelog($resno=0,$page_num=-1,$single_page=false){
                        $posts_img = $PIO->fetchPosts($tree); // o++
                        $pte_vals['{$THREADS}'] .= arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno, $arr_kill, $arr_old, $kill_sensor, $old_sensor, true, $adminMode, $hiddenImage, $hiddenImagP, $hiddenImagRP, $posts_img); // 交給這個函式去搞討論串印出
                }
+                form($dat, $resno); //you can delete this line and move it back if you want to
                $pte_vals['{$PAGENAV}'] = '<div id="page_switch">';
 
                // 換頁判斷