mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
final fix for https://github.com/e107inc/e107/issues/1514
This commit is contained in:
@@ -211,7 +211,11 @@ if((isset($_POST['chat_submit']) || e_AJAX_REQUEST) && $_POST['cmessage'] != '')
|
||||
if(!USER && !$pref['anon_post']){
|
||||
if($pref['user_reg'])
|
||||
{
|
||||
$texta = "<div style='text-align:center'>".CHATBOX_L3."</div><br /><br />";
|
||||
$text1 = str_replace(array('[',']'), array("<a href='".e_LOGIN."'>", "</a>"), CHATBOX_L3);
|
||||
if($pref['user_reg'] == 1 ){
|
||||
$text1 .= str_replace(array('[',']'), array("<a href='".e_SIGNUP."'>", "</a>"), CHATBOX_L3b);
|
||||
}
|
||||
$texta = "<div style='text-align:center'>".$text1."</div><br /><br />";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user