Changeset 4210 for trunk/wp-includes/general-template.php
- Timestamp:
- 09/22/2006 10:24:50 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r4206 r4210 736 736 } 737 737 738 function user_can_richedit() { 739 $can = true; 740 741 if ( 'true' != get_user_option('rich_editing') || preg_match('!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT']) ) 742 $can = false; 743 744 return apply_filters('user_can_richedit', $can); 745 } 746 738 747 function the_editor($content, $id = 'content', $prev_id = 'title') { 739 748 $rows = get_option('default_post_edit_rows'); … … 748 757 // The following line moves the border so that the active button "attaches" to the toolbar. Only IE needs it. 749 758 ?> 750 < !--[if IE]><style type="text/css">759 <style type="text/css"> 751 760 #postdivrich table, #postdivrich #quicktags {border-top: none;} 752 761 #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;} 753 762 #edButtons {border-bottom: 1px solid #ccc;} 754 </style> <![endif]-->763 </style> 755 764 <div id='edButtons' style='display:none;'> 756 765 <div class='zerosize'><input accesskey='e' type='button' onclick='switchEditors("<?php echo $id; ?>")' /></div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)