mirror of
https://github.com/e107inc/e107.git
synced 2025-08-24 15:13:04 +02:00
IP handler checks and fixes.
This commit is contained in:
@@ -327,6 +327,7 @@ if (!$forumList)
|
||||
$forum_string = '';
|
||||
$pVars = new e_vars;
|
||||
$frm = e107::getForm();
|
||||
|
||||
foreach ($forumList['parents'] as $parent)
|
||||
{
|
||||
$status = parse_parent($parent);
|
||||
@@ -391,7 +392,6 @@ function parse_forum($f, $restricted_string = '')
|
||||
|
||||
if(USER && is_array($newflag_list) && in_array($f['forum_id'], $newflag_list))
|
||||
{
|
||||
|
||||
$fVars->NEWFLAG = "<a href='".$e107->url->create('forum/forum/mfar', $f)."'>".IMAGE_new.'</a>';
|
||||
}
|
||||
elseif(empty($f['forum_replies']) && defined('IMAGE_noreplies'))
|
||||
|
@@ -530,7 +530,7 @@ if ($forum->checkPerm($thread->threadInfo['thread_forum_id'], 'post') && $thread
|
||||
$url = e107::url('forum','post', null, array('query'=>$urlParms));; // ."?f=rp&id=".$thread->threadInfo['thread_id']."&post=".$thread->threadInfo['thread_id'];
|
||||
|
||||
$tVars->QUICKREPLY = "
|
||||
<form action='" . $e107->url->create('forum/thread/reply', array('id' => $thread->threadId)) . "' method='post'>
|
||||
<form action='" . $url . "' method='post'>
|
||||
<div class='form-group'>
|
||||
<textarea cols='80' placeholder='".LAN_FORUM_2007."' rows='4' id='forum-quickreply-text' class='tbox input-xxlarge form-control' name='post' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user