]> 4ch.mooo.com Git - test.git/commitdiff
modified: lib/lib_common.php
authorsparky4 <sparky4@4ch.irc.su>
Wed, 23 Mar 2011 10:58:38 +0000 (05:58 -0500)
committersparky4 <sparky4@4ch.irc.su>
Wed, 23 Mar 2011 10:58:38 +0000 (05:58 -0500)
lib/lib_common.php

index 895cb7692044e98649258fc49a23e411ddb99868..c2cb6630f08f0370184c35b4f05b4d943e412364 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
                '{$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" />');
                        }
                $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){ // 啟動連貼機能
        if(OPTION){ //++++ more options will be added on later
                $pte_vals['{$FORM_OPTION1_TEXT}'] = _T('form_option1');
                if(USE_UPSERIES){ // 啟動連貼機能