Changeset 7145
- Timestamp:
- 03/03/2008 09:15:34 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
wp-admin/admin-ajax.php (modified) (1 diff)
-
wp-admin/edit-form-advanced.php (modified) (2 diffs)
-
wp-admin/edit-page-form.php (modified) (2 diffs)
-
wp-admin/wp-admin.css (modified) (1 diff)
-
wp-includes/js/autosave.js (modified) (1 diff)
-
wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r7139 r7145 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(); -
trunk/wp-admin/edit-form-advanced.php
r7130 r7145 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 … … 197 198 <?php echo $form_pingback ?> 198 199 <?php echo $form_prevstatus ?> 199 200 <div id="autosave"></div>201 200 202 201 <div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>"> -
trunk/wp-admin/edit-page-form.php
r7130 r7145 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 … … 170 171 </div> 171 172 172 <div id="autosave"></div>173 174 173 <?php do_meta_boxes('page', 'normal', $post); ?> 175 174 -
trunk/wp-admin/wp-admin.css
r7142 r7145 1046 1046 margin-bottom: 10px; 1047 1047 margin-right: 8px; 1048 }1049 1050 #poststuff #autosave {1051 margin: 0;1052 padding: 0;1053 }1054 1055 #poststuff #autosave div.updated, #poststuff #autosave div.error {1056 margin: 0 8px 10px 20px;1057 1048 } 1058 1049 -
trunk/wp-includes/js/autosave.js
r7143 r7145 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 -
trunk/wp-includes/script-loader.php
r7130 r7145 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
Note: See TracChangeset
for help on using the changeset viewer.