mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -618,7 +618,7 @@ final class _WP_Editors {
|
||||
$dfw_width = get_user_setting( 'dfw_width', $width );
|
||||
$save = isset($post->post_status) && $post->post_status == 'publish' ? __('Update') : __('Save');
|
||||
?>
|
||||
<div id="wp-fullscreen-body">
|
||||
<div id="wp-fullscreen-body"<?php if ( is_rtl() ) echo ' class="rtl"'; ?>>
|
||||
<div id="fullscreen-topbar">
|
||||
<div id="wp-fullscreen-toolbar">
|
||||
<div id="wp-fullscreen-close"><a href="#" onclick="fullscreen.off();return false;"><?php _e('Exit fullscreen'); ?></a></div>
|
||||
@@ -669,7 +669,7 @@ final class _WP_Editors {
|
||||
|
||||
<div id="wp-fullscreen-save">
|
||||
<span><?php if ( $post->post_status == 'publish' ) _e('Updated.'); else _e('Saved.'); ?></span>
|
||||
<img src="images/wpspin_light.gif" alt="" />
|
||||
<img src="<?php echo admin_url('images/wpspin_light.gif'); ?>" alt="" />
|
||||
<input type="button" class="button-primary" value="<?php echo $save; ?>" onclick="fullscreen.save();" />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user