Ticket #6054: 6054.diff
| File 6054.diff, 4.5 KB (added by , 18 years ago) |
|---|
-
wp-includes/js/autosave.js
103 103 } 104 104 105 105 function autosave_loading() { 106 jQuery('#autosave').html( '<div class="updated"><p>' + autosaveL10n.savingText + '</p></div>');106 jQuery('#autosave').html(autosaveL10n.savingText); 107 107 } 108 108 109 109 function autosave_enable_buttons() { -
wp-includes/script-loader.php
53 53 'previewPageText' => __('View this Page'), 54 54 'previewPostText' => __('View this Post'), 55 55 'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php', 56 'savingText' => __('Saving …')56 'savingText' => __('Saving Draft…') 57 57 ) ); 58 58 59 59 $this->add( 'wp-ajax', '/wp-includes/js/wp-ajax.js', array('prototype'), '20070306'); -
wp-admin/admin-ajax.php
484 484 $do_lock = true; 485 485 486 486 $data = ''; 487 $message = '<div class="updated"><p>' . sprintf( __('Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ) . '</p></div>';487 $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ); 488 488 489 489 $supplemental = array(); 490 490 -
wp-admin/wp-admin.css
1048 1048 margin-right: 8px; 1049 1049 } 1050 1050 1051 #poststuff #autosave {1052 margin: 0;1053 padding: 0;1054 }1055 1056 #poststuff #autosave div.updated, #poststuff #autosave div.error {1057 margin: 0 8px 10px 20px;1058 }1059 1060 1051 #poststuff .inside { 1061 1052 margin: 0 12px 15px; 1062 1053 font-size: 11px; -
wp-admin/edit-page-form.php
126 126 if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) ) 127 127 echo "<a href='" . wp_nonce_url("page.php?action=delete&post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete page') . "</a>"; 128 128 ?> 129 <br class="clear" /> 129 130 <?php if ($post_ID): ?> 130 <br />131 131 <?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> 132 132 <?php endif; ?> 133 <span id="autosave"></span> 133 134 </p> 134 135 135 136 <div class="side-info"> … … 169 170 <?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?> 170 171 </div> 171 172 172 <div id="autosave"></div>173 174 173 <?php do_meta_boxes('page', 'normal', $post); ?> 175 174 176 175 <?php do_action('edit_page_form'); ?> -
wp-admin/edit-form-advanced.php
148 148 if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) ) 149 149 echo "<a href='" . wp_nonce_url("post.php?action=delete&post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>"; 150 150 ?> 151 <br class="clear" /> 151 152 <?php if ($post_ID): ?> 152 <br />153 153 <?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> 154 154 <?php endif; ?> 155 <span id="autosave"></span> 155 156 </p> 156 157 157 158 <div class="side-info"> … … 197 198 <?php echo $form_pingback ?> 198 199 <?php echo $form_prevstatus ?> 199 200 200 <div id="autosave"></div>201 202 201 <div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>"> 203 202 <h3><?php _e('Tags'); ?></h3> 204 203 <div class="inside">