Hello, I added the bbcode "blink" in "functions_quick_editor.php" and not work!!!
PHP Code:
<?
/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/* DrNet - wWw.SpecialCoders.CoM */
/* Vinson - wWw.Decode4u.CoM */
/* MrDecoder - wWw.Fearless-Releases.CoM */
/* Fynnon - wWw.BvList.CoM */
/***********************************************/
function ts_show_bbcode_links ($TSformname = 'quickreply', $TStextareaname = 'message')
{
global $BASEURL;
global $pic_base_url;
global $lang;
$_links_ = '
<a href="javascript:insert(\'[b]\', \'[/b]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/bold.gif" border="0" alt="' . $lang->quick_editor['bold'] . '" title="' . $lang->quick_editor['bold'] . '" /></a>
<a href="javascript:insert(\'[i]\', \'[/i]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/italic.gif" border="0" alt="' . $lang->quick_editor['italic'] . '" title="' . $lang->quick_editor['italic'] . '" /></a>
<a href="javascript:insert(\'[u]\', \'[/u]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/underline.gif" border="0" alt="' . $lang->quick_editor['underline'] . '" title="' . $lang->quick_editor['underline'] . '" /></a>
<a href="javascript:insert(\'[blink]\', \'[/blink]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/bbcode_blink.gif" border="0" alt="' . $lang->quick_editor['blink'] . '" title="' . $lang->quick_editor['blink'] . '" /></a>
';
return $_links_;
}
function ts_show_shoutbox_bbcode_links ($TSformname = 'shoutbox', $TStextareaname = 'shoutbox')
{
$colors = array ('black' => '#000000', 'blue' => '#1818A0', 'green' => '#00FF00', 'orange' => '#FF8040', 'pink' => '#FF00FF', 'red' => '#FF0000', 'yellow' => '#FFFF00');
$_links_ = '
<input type="button" class="button" style="font-weight:bold" value="B" onClick="insert(\'[b]\', \'[/b]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<input type="button" class="button" style="font-style:italic" value="I" onClick="insert(\'[i]\', \'[/i]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<input type="button" class="button" style="text-decoration:underline" value="U" onClick="insert(\'[u]\', \'[/u]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<input type="button" class="button" style="font-weight:bold" value="Blink" onClick="insert(\'[blink]\', \'[/blink]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
';
return $_links_;
}
function ts_load_colors_shoutbox ($TSformname = 'shoutbox', $TStextareaname = 'shoutbox', $colors = array ('black' => '#000000', 'blue' => '#1818A0', 'green' => '#00FF00', 'orange' => '#FF8040', 'pink' => '#FF00FF', 'red' => '#FF0000', 'yellow' => '#FFFF00'))
{
global $lang;
global $BASEURL;
global $pic_base_url;
$showcolors = '
<div style="display: none; margin-right: 13px; margin-bottom: 3px;" id="show_TScolors">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="none" align="right">';
foreach ($colors as $colorname => $colorcode)
{
$showcolors .= '' . '<img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/' . $colorname . '.gif" class="Shighlightit" onClick="insert(\'[color=' . $colorcode . ']\', \'[/color]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\')" />';
}
$showcolors .= '
</td>
</tr>
</table>
</div>';
return $showcolors;
}
if (!defined ('IN_SCRIPT_TSSEv56'))
{
exit ('<font face=\'verdana\' size=\'2\' color=\'darkred\'><b>Error!</b> Direct initialization of this file is not allowed.</font>');
}
define ('Q_EDITOR', 'v0.6 by xam');
?>