Action -> Bulk Action for manage screens, props FFEMTcJ, fixes #8375

git-svn-id: http://svn.automattic.com/wordpress/trunk@10049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-12-04 21:57:56 +00:00
parent 6941ef0547
commit 0927fbcc0d
10 changed files with 18 additions and 18 deletions

View File

@ -180,7 +180,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
@ -220,7 +220,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />

View File

@ -109,7 +109,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
@ -163,7 +163,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />

View File

@ -210,7 +210,7 @@ if ( $page_links ) : ?>
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option> <option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
@ -249,7 +249,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option> <option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>

View File

@ -177,7 +177,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
@ -220,7 +220,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />

View File

@ -191,7 +191,7 @@ $page_links = paginate_links( array(
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option> <option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
@ -271,7 +271,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option> <option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>

View File

@ -100,7 +100,7 @@ if ( isset($_GET['deleted']) ) {
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
@ -255,7 +255,7 @@ if ( $links ) {
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />

View File

@ -319,7 +319,7 @@ function print_plugin_actions($context) {
?> ?>
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<?php if( 'active' != $context ) : ?> <?php if( 'active' != $context ) : ?>
<option value="activate-selected"><?php _e('Activate'); ?></option> <option value="activate-selected"><?php _e('Activate'); ?></option>
<?php endif; ?> <?php endif; ?>

View File

@ -241,7 +241,7 @@ if ( $page_links ) : ?>
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action" class="select-action"> <select name="action" class="select-action">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
<?php if ( isset($orphans) ) { ?> <?php if ( isset($orphans) ) { ?>
<option value="attach"><?php _e('Attach to a post'); ?></option> <option value="attach"><?php _e('Attach to a post'); ?></option>
@ -394,7 +394,7 @@ if ( $page_links )
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2" class="select-action"> <select name="action2" class="select-action">
<option value="-1" selected="selected"><?php _e('Actions'); ?></option> <option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
<?php if ( isset($orphans) ) { ?> <?php if ( isset($orphans) ) { ?>
<option value="attach"><?php _e('Attach to a post'); ?></option> <option value="attach"><?php _e('Attach to a post'); ?></option>

View File

@ -304,7 +304,7 @@ unset($role_links);
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action"> <select name="action">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
@ -370,7 +370,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
<div class="alignleft actions"> <div class="alignleft actions">
<select name="action2"> <select name="action2">
<option value="" selected="selected"><?php _e('Actions'); ?></option> <option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option> <option value="delete"><?php _e('Delete'); ?></option>
</select> </select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />

View File

@ -319,7 +319,7 @@ a.button-secondary {
.tablenav select[name="action"], .tablenav select[name="action"],
.tablenav select[name="action2"] { .tablenav select[name="action2"] {
width: 90px; width: 120px;
} }
.tablenav select[name="m"] { .tablenav select[name="m"] {