Don't need no stinkin' tables.

git-svn-id: http://svn.automattic.com/wordpress/trunk@197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-06-10 19:27:08 +00:00
parent 0e07af22b6
commit 1aaef103e2
1 changed files with 24 additions and 33 deletions

View File

@ -1,33 +1,24 @@
<script src="b2quicktags.js" language="JavaScript" type="text/javascript">
</script><table border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="middle">
<td>
<input type="button" class="quicktags" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(this.form,0)" />
</td>
<td>
<input type="button" class="quicktags" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(this.form,2)" />
</td>
<td>
<input type="button" class="quicktags" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(this.form,4)" />
</td>
<td>
<input type="button" class="quicktags" accesskey="s" name="addbbcode6" value="strike" style="text-decoration: line-through;width: 50px" onClick="bbstyle(this.form,6)" />
</td>
<td>
<input type="button" class="quicktags" accesskey="p" name="addbbcode10" value="&lt;p>" style="width: 40px" onClick="bbstyle(this.form,10)" />
</td>
<?php if (basename($HTTP_SERVER_VARS["SCRIPT_FILENAME"]) != "b2bookmarklet.php") { ?><td>
<input type="button" class="quicktags" accesskey="l" name="addbbcode12" value="&lt;li>" style="width: 40px" onClick="bbstyle(this.form,12)" />
</td><?php } ?>
<?php if (basename($HTTP_SERVER_VARS["SCRIPT_FILENAME"]) != "b2bookmarklet.php") { ?><td>
<input type="button" class="quicktags" accesskey="q" name="addbbcode8" value="b-quote" style="width: 60px" onClick="bbstyle(this.form,8)" />
</td><?php } ?>
<td>
<input type="button" class="quicktags" accesskey="m" name="addbbcode14" value="image" title="insert an image" style="width: 40px" onClick="bblink(this.form,14)" />
</td>
<td>
<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)" />
</td><td>
<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>
</tr>
</table>
<script src="b2quicktags.js" language="JavaScript" type="text/javascript"></script>
<input type="button" class="quicktags" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(this.form,0)" />
<input type="button" class="quicktags" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(this.form,2)" />
<input type="button" class="quicktags" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(this.form,4)" />
<input type="button" class="quicktags" accesskey="s" name="addbbcode6" value="strike" style="text-decoration: line-through;width: 50px" onclick="bbstyle(this.form,6)" />
<input type="button" class="quicktags" accesskey="p" name="addbbcode10" value="&lt;p>" style="width: 40px" onclick="bbstyle(this.form,10)" />
<?php if (basename($HTTP_SERVER_VARS['SCRIPT_FILENAME']) != 'b2bookmarklet.php') { ?>
<input type="button" class="quicktags" accesskey="l" name="addbbcode12" value="&lt;li>" style="width: 40px" onclick="bbstyle(this.form,12)" />
<?php } ?>
<?php if (basename($HTTP_SERVER_VARS['SCRIPT_FILENAME']) != 'b2bookmarklet.php') { ?>
<input type="button" class="quicktags" accesskey="q" name="addbbcode8" value="b-quote" style="width: 60px" onclick="bbstyle(this.form,8)" />
<?php } ?>
<input type="button" class="quicktags" accesskey="m" name="addbbcode14" value="image" title="Insert an image" style="width: 40px" onclick="bblink(this.form,14)" />
<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)" />
<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)" />