1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00
This commit is contained in:
Jimmi08
2016-04-30 11:17:15 +02:00
parent 7b4d3963b9
commit 5123859d32
3 changed files with 8 additions and 3 deletions

View File

@@ -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