Sites with a lot of simlies and fixed-width layouts occasionally run into the "smilie-box-stretch-outside-box" problem.
View attachment image to see what I mean.
With this template modification the smilie toolbar box will now display below the editing area NOT beside it.
FIND IN editor_toolbar_on template:
HTML Code:
Цитата:
<tr valign="top">
<td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
|
REPLACE WITH:
HTML Code:
Код:
<tr valign="top">
<td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
</tr>
<if condition="$smiliebox">
<tr>
<td class="controlbar">$smiliebox</td></td>
</tr>
</if>