File:  [mozdev] / cdn / www / b2-include / b2quicktags.php
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Mar 7 08:55:17 2003 UTC (16 years, 7 months ago) by cdn
Branches: MAIN
CVS tags: HEAD
O

    1: <script src="/<?php echo $b2inc ?>/b2quicktags.js" language="JavaScript" type="text/javascript">
    2: </script><table border="0" cellspacing="0" cellpadding="0">
    3: <tr align="center" valign="middle">
    4: <td>
    5: <input type="button" class="quicktags" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(this.form,0)" />
    6: </td>
    7: <td>
    8: <input type="button" class="quicktags" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(this.form,2)" />
    9: </td>
   10: <td>
   11: <input type="button" class="quicktags" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(this.form,4)" />
   12: </td>
   13: <td>
   14: <input type="button" class="quicktags" accesskey="s" name="addbbcode6" value="strike" style="text-decoration: line-through;width: 50px" onClick="bbstyle(this.form,6)" />
   15: </td>
   16: <td>
   17: <input type="button" class="quicktags" accesskey="p" name="addbbcode10" value="&lt;p>" style="width: 40px" onClick="bbstyle(this.form,10)" />
   18: </td>
   19: <?php if (basename($HTTP_SERVER_VARS["SCRIPT_FILENAME"]) != "b2bookmarklet.php") { ?><td>
   20: <input type="button" class="quicktags" accesskey="l" name="addbbcode12" value="&lt;li>" style="width: 40px" onClick="bbstyle(this.form,12)" />
   21: </td><?php } ?>
   22: <?php if (basename($HTTP_SERVER_VARS["SCRIPT_FILENAME"]) != "b2bookmarklet.php") { ?><td>
   23: <input type="button" class="quicktags" accesskey="q" name="addbbcode8" value="b-quote" style="width: 60px" onClick="bbstyle(this.form,8)" />
   24: </td><?php } ?>
   25: <td>
   26: <input type="button" class="quicktags" accesskey="m" name="addbbcode14" value="image" title="insert an image" style="width: 40px"  onClick="bblink(this.form,14)" />
   27: </td>
   28: <td>
   29: <input type="button" class="quicktags" accesskey="h" name="addbbcode16" value="link" title="insert a link" style="text-decoration: underline; width: 40px" onClick="bblink(this.form,16)" />
   30: </td><td>
   31: <input type="button" class="quicktags" accesskey="c" name="closetags" value="X" title="Close all tags" style="width: 30px; font-weigh: bolder;"  onClick="bbstyle(document.post,-1)" /></td>
   32: </tr>
   33: </table>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>