Changeset 1631
- Timestamp:
- 09/09/04 17:51:33 (4 years ago)
- Files:
-
- trunk/wp-admin/admin-functions.php (modified) (1 diff)
- trunk/wp-admin/edit-form-advanced.php (modified) (1 diff)
- trunk/wp-admin/edit-form-comment.php (modified) (1 diff)
- trunk/wp-admin/edit-form.php (modified) (1 diff)
- trunk/wp-admin/edit-page-form.php (modified) (1 diff)
- trunk/wp-admin/quicktags.php (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-functions.php
r1506 r1631 476 476 } 477 477 478 function the_quicktags () { 479 // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP 480 if ( !strstr($_SERVER['HTTP_USER_AGENT'], 'Safari') ) : 481 echo ' 482 <div id="quicktags"> 483 <a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: 484 <script src="quicktags.js" type="text/javascript"></script> 485 <script type="text/javascript">edToolbar();</script> 486 '; 487 echo '</div>'; 488 endif; 489 } 490 478 491 ?> trunk/wp-admin/edit-form-advanced.php
r1599 r1631 95 95 <fieldset id="postdiv"> 96 96 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend> 97 <div id="quicktags"> 98 <?php 99 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 100 include('quicktags.php'); 101 ?> 102 </div> 97 <?php the_quicktags(); ?> 103 98 <?php 104 99 $rows = get_settings('default_post_edit_rows'); trunk/wp-admin/edit-form-comment.php
r1599 r1631 40 40 <fieldset style="clear: both;"> 41 41 <legend><?php _e('Comment') ?></legend> 42 <div id="quicktags"> 43 <?php 44 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 45 include('quicktags.php'); 46 ?> 47 </div> 42 <?php the_quicktags(); ?> 48 43 <?php 49 44 $rows = get_settings('default_post_edit_rows'); trunk/wp-admin/edit-form.php
r1599 r1631 50 50 <fieldset id="postdiv"> 51 51 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend> 52 <div id="quicktags"> 53 <?php 54 if ('bookmarklet' != $mode) { 55 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 56 include('quicktags.php'); 57 } 58 ?> 59 </div> 52 <?php the_quicktags(); ?> 60 53 <?php 61 54 $rows = get_settings('default_post_edit_rows'); trunk/wp-admin/edit-page-form.php
r1599 r1631 35 35 <fieldset id="postdiv"> 36 36 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with page field') ?>"><?php _e('Page') ?></a></legend> 37 <div id="quicktags"> 38 <?php 39 if ('bookmarklet' != $mode) { 40 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 41 include('quicktags.php'); 42 } 43 ?> 44 </div> 37 <?php the_quicktags(); ?> 45 38 <?php 46 39 $rows = get_settings('default_post_edit_rows');
