1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 10:20:45 +02:00

Add files via upload

This commit is contained in:
rica-carv
2016-06-30 15:49:36 +01:00
committed by GitHub
parent e24805ecea
commit a7142dc9b0

View File

@@ -897,7 +897,7 @@ if ($forum->checkPerm($this->var['thread_forum_id'], 'post') && $this->var['thre
$ajaxInsert = ($thread->pages == $thread->page || $thread->pages == 0) ? 1 : 0; $ajaxInsert = ($thread->pages == $thread->page || $thread->pages == 0) ? 1 : 0;
// $ajaxInsert = 1; // $ajaxInsert = 1;
// echo "AJAX-INSERT=".$ajaxInsert ."(".$thread->pages." vs ".$thread->page.")"; // echo "AJAX-INSERT=".$ajaxInsert ."(".$thread->pages." vs ".$thread->page.")";
$frm = e107::getForm(); //Orphan $frm variable???? $frm = e107::getForm();
$urlParms = array('f'=>'rp','id'=>$this->var['thread_id'], 'post'=>$this->var['thread_id']); $urlParms = array('f'=>'rp','id'=>$this->var['thread_id'], 'post'=>$this->var['thread_id']);
$url = e107::url('forum','post', null, array('query'=>$urlParms));; // ."?f=rp&id=".$thread->threadInfo['thread_id']."&post=".$thread->threadInfo['thread_id']; $url = e107::url('forum','post', null, array('query'=>$urlParms));; // ."?f=rp&id=".$thread->threadInfo['thread_id']."&post=".$thread->threadInfo['thread_id'];
@@ -924,10 +924,10 @@ if ($forum->checkPerm($this->var['thread_forum_id'], 'post') && $this->var['thre
// Preview should be reserved for the full 'Post reply' page. <input type='submit' name='fpreview' value='" . Preview . "' /> &nbsp; // Preview should be reserved for the full 'Post reply' page. <input type='submit' name='fpreview' value='" . Preview . "' /> &nbsp;
} }
else //---- else
{ //---- {
return $forum_quickreply; return $forum_quickreply;
} //---- }
} }
} }