[wp-cvs] wordpress/wp-admin edit-form-advanced.php, 1.45,
1.46 wp-admin.css, 1.73, 1.74
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Dec 13 16:42:24 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23123/wp-admin
Modified Files:
edit-form-advanced.php wp-admin.css
Log Message:
Make delete button more buttony.
Index: wp-admin.css
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/wp-admin.css,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** wp-admin.css 9 Dec 2004 04:12:20 -0000 1.73
--- wp-admin.css 13 Dec 2004 16:42:22 -0000 1.74
***************
*** 174,178 ****
}
! .submit input, .submit input:focus {
background: url(../wp-images/fade-butt.png);
border: 3px double #999;
--- 174,178 ----
}
! .submit input, .submit input:focus, .button {
background: url(../wp-images/fade-butt.png);
border: 3px double #999;
***************
*** 183,187 ****
}
! .submit input:active {
background: #f4f4f4;
border: 3px double #ccc;
--- 183,187 ----
}
! .submit input:active, .button:active {
background: #f4f4f4;
border: 3px double #ccc;
***************
*** 315,318 ****
--- 315,323 ----
}
+ #deletepost:hover {
+ background: #ce0000;
+ color: #fff;
+ }
+
#ed_del {
text-decoration: line-through;
Index: edit-form-advanced.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-form-advanced.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** edit-form-advanced.php 12 Dec 2004 20:41:14 -0000 1.45
--- edit-form-advanced.php 13 Dec 2004 16:42:22 -0000 1.46
***************
*** 175,179 ****
<th scope="row"><?php _e('Delete'); ?>:</th>
<td><?php if ('edit' == $action) : ?>
! <input name="deletepost" class="delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title) ) . "')\""; ?> />
<?php endif; ?></td>
</tr>
--- 175,179 ----
<th scope="row"><?php _e('Delete'); ?>:</th>
<td><?php if ('edit' == $action) : ?>
! <input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title) ) . "')\""; ?> />
<?php endif; ?></td>
</tr>
More information about the cvs
mailing list