PHP Code:
$_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(\'[url]\', \'[/url]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/link.gif" border="0" alt="' . $lang->quick_editor['link'] . '" title="' . $lang->quick_editor['link'] . '" /></a>
<a href="javascript:insert(\'[img]\', \'[/img]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/image.gif" border="0" alt="' . $lang->quick_editor['image'] . '" title="' . $lang->quick_editor['image'] . '" /></a>
<a href="javascript:insert(\'[email]\', \'[/email]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/email.gif" border="0" alt="' . $lang->quick_editor['email'] . '" title="' . $lang->quick_editor['email'] . '" /></a>
<a href="javascript:insert(\'<<<@!1!@>>>\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/quote.gif" border="0" alt="' . $lang->quick_editor['quote'] . '" title="' . $lang->quick_editor['quote'] . '" /></a>
<a href="javascript:insert(\'[code]\', \'[/code]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');"><img src="' . $BASEURL . '/' . $pic_base_url . 'codebuttons/code.gif" border="0" alt="' . $lang->quick_editor['code'] . '" title="' . $lang->quick_editor['code'] . '" /></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_ = '
<img src="pic/codebuttons/bold.gif" alt="Gras" onClick="insert(\'[b]\', \'[/b]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<img src="pic/codebuttons/italic.gif" alt="Italic" onClick="insert(\'[i]\', \'[/i]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<img src="pic/codebuttons/underline.gif" alt="Souligne" onClick="insert(\'[u]\', \'[/u]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<img src="pic/codebuttons/youtube.gif" alt="youtube" onClick="insert(\'[youtube]\', \'[/youtube]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
<img src="pic/codebuttons/image.gif" alt="Image" onClick="insert(\'[img]\', \'[/img]\', \'' . $TSformname . '\', \'' . $TStextareaname . '\');" />
';