Abstract quicktag code and don't show if it's Safari.

git-svn-id: https://develop.svn.wordpress.org/trunk@1631 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-09-09 17:51:33 +00:00
parent 54cf4d7e78
commit 44de1ee11b
6 changed files with 17 additions and 30 deletions

View File

@@ -39,12 +39,7 @@ window.onload = focusit;
<fieldset style="clear: both;">
<legend><?php _e('Comment') ?></legend>
<div id="quicktags">
<?php
echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: ';
include('quicktags.php');
?>
</div>
<?php the_quicktags(); ?>
<?php
$rows = get_settings('default_post_edit_rows');
if (($rows < 3) || ($rows > 100)) {