mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 10:01:56 +02:00
Change display options in forum thread and chatbox
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chat.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-01-28 13:51:45 $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2007-04-30 20:17:05 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -111,7 +111,7 @@ foreach ($chatList as $row)
|
||||
{
|
||||
$CHAT_TABLE_DATESTAMP = $obj2->convert_date($row['cb_datestamp'], "long");
|
||||
$CHAT_TABLE_NICK = preg_replace("/[0-9]+\./", "", $row['cb_nick']);
|
||||
$cb_message = $tp->toHTML($row['cb_message'], TRUE,'BODY');
|
||||
$cb_message = $tp->toHTML($row['cb_message'], TRUE,'USER_BODY');
|
||||
if($row['cb_blocked'])
|
||||
{
|
||||
$cb_message .= "<br />".CHATBOX_L25;
|
||||
|
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-01-28 14:08:25 $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2007-04-30 20:17:05 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -190,13 +190,13 @@ if(!$text = $e107cache->retrieve("nq_chatbox"))
|
||||
}
|
||||
else
|
||||
{
|
||||
$cb_nick = $tp -> toHTML($cb_nick,FALSE,'emotes_off, no_make_clickable');
|
||||
$cb_nick = $tp -> toHTML($cb_nick,FALSE,'USER_TITLE, emotes_off, no_make_clickable');
|
||||
$cb_nick = str_replace("Anonymous", LAN_ANONYMOUS, $cb_nick);
|
||||
}
|
||||
|
||||
$datestamp = $obj2->convert_date($cb['cb_datestamp'], "short");
|
||||
if(!$pref['cb_wordwrap']) { $pref['cb_wordwrap'] = 30; }
|
||||
$emotes_active = $pref['cb_emote'] ? 'BODY, emotes_on' : 'BODY, emotes_off';
|
||||
$emotes_active = $pref['cb_emote'] ? 'USER_BODY, emotes_on' : 'USER_BODY, emotes_off';
|
||||
|
||||
$cb_message = $tp -> toHTML($cb['cb_message'], FALSE, $emotes_active, $cb_uid, $pref['menu_wordwrap']);
|
||||
|
||||
|
@@ -22,7 +22,7 @@ SC_END
|
||||
SC_BEGIN POST
|
||||
global $post_info, $tp, $iphost;
|
||||
$ret = "";
|
||||
$ret = $tp->toHTML($post_info["thread_thread"], TRUE, "BODY", 'class:'.$post_info["user_class"]);
|
||||
$ret = $tp->toHTML($post_info["thread_thread"], TRUE, "USER_BODY", 'class:'.$post_info["user_class"]);
|
||||
if (ADMIN && $iphost) {
|
||||
$ret .= "<br />".$iphost;
|
||||
}
|
||||
|
Reference in New Issue
Block a user