Abstract quicktag code and don't show if it's Safari.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -34,14 +34,7 @@ window.onload = focusit;
|
||||
<br />
|
||||
<fieldset id="postdiv">
|
||||
<legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with page field') ?>"><?php _e('Page') ?></a></legend>
|
||||
<div id="quicktags">
|
||||
<?php
|
||||
if ('bookmarklet' != $mode) {
|
||||
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)) {
|
||||
|
||||
Reference in New Issue
Block a user