Changeset 4267 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 10/02/2006 06:34:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r4169 r4267 190 190 $delete_nonce = wp_create_nonce( 'delete-page_' . $post_ID ); 191 191 if ( current_user_can('delete_page', $post->ID) ) ?> 192 <input name="deletepost" class="button " type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), js_escape($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> />192 <input name="deletepost" class="button delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), js_escape($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> 193 193 <?php endif; ?> 194 194 </div>
Note: See TracChangeset
for help on using the changeset viewer.