Установка:
Заходим в ПУ » Управление дизайном » Мини-чат » Вид материалов и заменяем все на:
Code
<div style="padding:0px 4px 0px 3px;">
<div style="float:right;font-size:9px;" title="$DATE$">$TIME$</div>
<?if($USERNAME$)?><a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='<strong>$USERNAME$</strong>, '" title="Цитировать $USERNAME$">
<?if($USER_ID$=1)?><span style="color:#B22222;">$USERNAME$</span><?else?><span>$USERNAME$</span><?endif?>
</a><?endif?>
<div class="cMessage" style="margin:0px 0px 5px 0px;border-bottom: #e5e5e5 1px solid;">$MESSAGE$
<div style="padding:1px"></div>
</div>
</div>
Далее, Заходим в ПУ » Управление дизайном » Мини-чат » Форма добавления сообщений и заменяем все на:
Code
<div style="margin:5px 0px 0px 0px;text-align:center;">
<nobr>
<?if($BBCODES_URI$)?>
<a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[b][/b]'" title="Жирный"> <img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/1.gif" width="16" height="16"></a>
<a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[i][/i]'" title="Курсив"> <img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/2.gif" width="16" height="16"></a>
<a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[u][/u]'" title="Подчеркнутый"> <img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/3.gif" width="16" height="16"></a>
<a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[url][/url]'" title="Вставить ссылку"> <img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/4.gif" width="16" height="16"></a>
<a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[quote][/quote]'" title="Вставить цитату"> <img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/5.gif" width="16" height="16"></a>
<?endif?>
<?if($SMILES_URI$)?><a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); return false;" title="Смайлики"><img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/6.gif" width="16" height="16"></a><?endif?>
<?if($BBCODES_URI$)?><a class="noun" target="cbbcodes" href="javascript:void('BB-codes')" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0'); return false;" title="BB-Коды"><img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/7.gif" width="16" height="16"></a><?endif?>
<a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/8.gif" width="16" height="16"></a>
<a class="noun" href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить"><img border="0" align="absmiddle" src="http://csdm.moy.su/uCoz/7_uCoz-chat/2/9.gif" width="16" height="16"></a>
</nobr>
<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="display:none;width:0px;margin:10;padding:1px;border:0px solid black;height:0px">
<textarea name="message" maxlength="$MAX_MESSAGE_LEN$" class="mchat" id="mchatMsgF" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="$STR_MESSAGE$" cols="30" rows="2" style="width:169px;margin:3px 0px 3px 0px;padding:1px;border:#e5e5e5 1px solid;"></textarea>
<input type="submit" class="mchat" value="Отправить" id="mchatBtn" onclick="return checkform(this.form);">
</div>