function cn_modify_comm_smilies($e) { return insert_smilies('ncomm_' . $e['id']); }
?> <a href="#" title="Bold" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'b'));"><img src="skins/images/format-bold.png" /></a> <a href="#" title="Italic" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'i'));"><img src="skins/images/format-italic.png" /></a> <a href="#" title="Underline" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'u'));"><img src="skins/images/format-underline.png" /></a> <a href="#" title="Quote" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'quote'));"><img src="skins/images/format-quote.png" /></a> <a href="#" title="Insert image" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=media&opt=inline&imgopts=yes&callback=' . $callback . '&style=add', array('w' => 1000, 'h' => 640, 'l' => 'auto')); ?> " target="_blank"><img src="skins/images/format-insert_image.png" /> Image</a> <a href="#" title="BB-code" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help&action=code&target_id=' . $callback, array('w' => 480, 'h' => 320, 't' => 240, 'l' => 'auto')); ?> " target="_blank"><img src="skins/images/format-bb.png" /> bb-code</a> <?php echo insert_smilies($callback, 40, true);