mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Improved default chatbox template
This commit is contained in:
@@ -303,11 +303,13 @@ if(!$text = $e107cache->retrieve("nq_chatbox"))
|
|||||||
{
|
{
|
||||||
$tp->parseTemplate("{SETIMAGE: w=40}",true); // set thumbnail size.
|
$tp->parseTemplate("{SETIMAGE: w=40}",true); // set thumbnail size.
|
||||||
// FIXME - move to template
|
// FIXME - move to template
|
||||||
$CHATBOX_TEMPLATE['start'] = "<ul class='unstyled'>";
|
$CHATBOX_TEMPLATE['start'] = "<ul class='media-list unstyled'>";
|
||||||
$CHATBOX_TEMPLATE['item'] = "<li>
|
$CHATBOX_TEMPLATE['item'] = "<li class='media'>
|
||||||
{CB_AVATAR} <b>{USERNAME}</b>
|
<span class='media-object pull-left'>{CB_AVATAR}</span>
|
||||||
|
<div class='media-body'><b>{USERNAME}</b>
|
||||||
<small class='muted smalltext'>{TIMEDATE}</small><br />
|
<small class='muted smalltext'>{TIMEDATE}</small><br />
|
||||||
<p style='margin-left:50px'>{MESSAGE}</p>
|
<p>{MESSAGE}</p>
|
||||||
|
</div>
|
||||||
</li>\n";
|
</li>\n";
|
||||||
|
|
||||||
$CHATBOX_TEMPLATE['end'] = "</ul>";
|
$CHATBOX_TEMPLATE['end'] = "</ul>";
|
||||||
|
Reference in New Issue
Block a user