'{$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){ // 啟動連貼機能
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++){
// 取出討論串編號
$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">';
// 換頁判斷