mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-06 08:28:07 +01:00
Make deletes hover red, rawr.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df492283e6
commit
c9b93dc282
@ -135,7 +135,7 @@ endif; ?>
|
|||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-categories'); ?>
|
<?php wp_nonce_field('bulk-categories'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -15,10 +15,6 @@ div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers,
|
|||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover {
|
|
||||||
color: #f00;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.dashboard-widget-error {
|
div.dashboard-widget-error {
|
||||||
background-color: #c43;
|
background-color: #c43;
|
||||||
}
|
}
|
||||||
@ -182,7 +178,7 @@ ul.widget-control-list .sorthelper {
|
|||||||
border-bottom-color: #dadada;
|
border-bottom-color: #dadada;
|
||||||
}
|
}
|
||||||
|
|
||||||
.side-info ul, a.delete {
|
.side-info ul {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -493,3 +489,7 @@ ul.widget-control-list .sorthelper {
|
|||||||
#wphead h1, #dashmenu a.current:hover {
|
#wphead h1, #dashmenu a.current:hover {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover, .delete:hover {
|
||||||
|
color: #f00;
|
||||||
|
}
|
@ -167,7 +167,7 @@ if ( $page_links )
|
|||||||
<?php if ( 'moderated' != $comment_status ): ?>
|
<?php if ( 'moderated' != $comment_status ): ?>
|
||||||
<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php do_action('manage_comments_nav', $comment_status); ?>
|
<?php do_action('manage_comments_nav', $comment_status); ?>
|
||||||
<?php wp_nonce_field('bulk-comments'); ?>
|
<?php wp_nonce_field('bulk-comments'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -82,7 +82,7 @@ if ( $page_links )
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-link-categories'); ?>
|
<?php wp_nonce_field('bulk-link-categories'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
|
if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
|
||||||
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>";
|
echo "<a class='submitdelete' 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>";
|
||||||
?>
|
?>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
<?php if ($post_ID): ?>
|
<?php if ($post_ID): ?>
|
||||||
|
@ -112,7 +112,7 @@ endif;
|
|||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-pages'); ?>
|
<?php wp_nonce_field('bulk-pages'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ if ( $page_links )
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-tags'); ?>
|
<?php wp_nonce_field('bulk-tags'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ if ( $page_links )
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-posts'); ?>
|
<?php wp_nonce_field('bulk-posts'); ?>
|
||||||
<?php
|
<?php
|
||||||
if ( !isset( $_GET['p'] ) ) {
|
if ( !isset( $_GET['p'] ) ) {
|
||||||
|
@ -89,7 +89,7 @@ if ( isset($_GET['deleted']) ) {
|
|||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php
|
<?php
|
||||||
$categories = get_terms('link_category', "hide_empty=1");
|
$categories = get_terms('link_category', "hide_empty=1");
|
||||||
$select_cat = "<select name=\"cat_id\">\n";
|
$select_cat = "<select name=\"cat_id\">\n";
|
||||||
|
@ -136,7 +136,7 @@ if ( $page_links )
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<?php wp_nonce_field('bulk-media'); ?>
|
<?php wp_nonce_field('bulk-media'); ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ unset($role_links);
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<select name="new_role"><option value=''><?php _e('Change role to…') ?></option>"<?php wp_dropdown_roles(); ?></select>
|
<select name="new_role"><option value=''><?php _e('Change role to…') ?></option>"<?php wp_dropdown_roles(); ?></select>
|
||||||
<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
|
||||||
<?php wp_nonce_field('bulk-users'); ?>
|
<?php wp_nonce_field('bulk-users'); ?>
|
||||||
|
@ -160,7 +160,7 @@ form#upload #post_content {
|
|||||||
-khtml-border-radius: 3px;
|
-khtml-border-radius: 3px;
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
cursor: pointer;
|
cursor: default;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user