Changeset 15830
- Timestamp:
- 10/17/2010 06:24:34 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-activate.php
r15473 r15830 49 49 <br /><input type="text" name="key" id="key" value="" size="50" /> 50 50 </p> 51 <p class="submit"> 52 <input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e('Activate') ?>" /> 53 </p> 51 <?php submit_button( __('Activate'), 'submit' ); ?> 54 52 </form> 55 53 -
trunk/wp-admin/custom-background.php
r15564 r15830 304 304 305 305 <?php wp_nonce_field('custom-background'); ?> 306 < p class="submit"><input type="submit" class="button-primary" name="save-background-options" value="<?php esc_attr_e('Save Changes'); ?>" /></p>306 <?php submit_button( null, 'primary', 'save-background-options' ); ?> 307 307 </form> 308 308 -
trunk/wp-admin/custom-header.php
r15828 r15830 563 563 564 564 wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> 565 <p class="submit"><input type="submit" class="button-primary" name="save-header-options" value="<?php esc_attr_e( 'Save Changes' ); ?>" /></p> 565 566 <?php submit_button(); ?> 566 567 </form> 567 568 </div> … … 637 638 </div> 638 639 639 <p class="submit">640 640 <input type="hidden" name="x1" id="x1" value="0"/> 641 641 <input type="hidden" name="y1" id="y1" value="0"/> … … 645 645 <input type="hidden" name="oitar" id="oitar" value="<?php echo esc_attr( $oitar ); ?>" /> 646 646 <?php wp_nonce_field( 'custom-header-crop-image' ) ?> 647 <input type="submit" class="button-primary" value="<?php esc_attr_e( 'Crop and Publish' ); ?>" /> 647 648 <?php submit_button( __( 'Crop and Publish' ) ); ?> 648 649 </p> 649 650 </form> -
trunk/wp-admin/edit-tag-form.php
r15820 r15830 87 87 88 88 do_action($taxonomy . '_edit_form', $tag, $taxonomy); 89 90 submit_button( __('Update') ); 89 91 ?> 90 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr( __( 'Update' ) ); ?>" /></p>91 92 </form> 92 93 </div> -
trunk/wp-admin/export.php
r15307 r15830 137 137 </tr> 138 138 </table> 139 < p class="submit"><input type="submit" name="submit" class="button" value="<?php esc_attr_e('Download Export File'); ?>" />139 <?php submit_button( __('Download Export File'), 'secondary' ); ?> 140 140 <input type="hidden" name="download" value="true" /> 141 141 </p> -
trunk/wp-admin/includes/dashboard.php
r15746 r15830 153 153 echo '<form action="" method="post" class="dashboard-widget-control-form">'; 154 154 wp_dashboard_trigger_widget_control( $meta_box['id'] ); 155 echo '< p class="submit"><input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" /><input type="submit" value="' . esc_attr__( 'Submit' ) . '" /></p>';156 155 echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />'; 156 submit_button( __('Submit') ); 157 157 echo '</form>'; 158 158 } -
trunk/wp-admin/includes/template.php
r15810 r15830 844 844 <input type="hidden" name="max_file_size" value="<?php echo $bytes; ?>" /> 845 845 </p> 846 <p class="submit"> 847 <input type="submit" class="button" value="<?php esc_attr_e( 'Upload file and import' ); ?>" /> 848 </p> 846 <?php submit_button( __('Upload file and import'), 'secondary' ); ?> 849 847 </form> 850 848 <?php -
trunk/wp-admin/media.php
r14139 r15830 101 101 </div> 102 102 103 <p class="submit"> 104 <input type="submit" class="button-primary" name="save" value="<?php esc_attr_e('Update Media'); ?>" /> 103 <?php submit_button( __('Update Media') ); ?> 105 104 <input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? esc_attr($post_id) : ''; ?>" /> 106 105 <input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr($att_id); ?>" /> … … 108 107 <?php wp_original_referer_field(true, 'previous'); ?> 109 108 <?php wp_nonce_field('media-form'); ?> 110 </p> 109 111 110 </form> 112 111 -
trunk/wp-admin/network/edit.php
r15746 r15830 75 75 } 76 76 } 77 78 submit_button( __('Confirm Deletion'), 'delete' ); 77 79 ?> 78 <p class="submit"><input type="submit" class="button-secondary delete" value="<?php esc_attr_e( 'Confirm Deletion' ); ?>" /></p>79 80 </form> 80 81 <?php … … 503 504 <?php wp_nonce_field( $_GET['action2'], '_wpnonce', false ); ?> 504 505 <p><?php echo esc_html( stripslashes( $_GET['msg'] ) ); ?></p> 505 < p class="submit"><input class="button" type="submit" value="<?php _e( 'Confirm' ); ?>" /></p>506 <?php submit_button( __('Confirm'), 'secondary' ); ?> 506 507 </form> 507 508 </body> -
trunk/wp-admin/network/settings.php
r15746 r15830 274 274 <?php do_action( 'wpmu_options' ); // Add more options here ?> 275 275 276 < p class="submit"><input type="submit" class="button-primary" name="Submit" value="<?php esc_attr_e( 'Save Changes' ) ?>" /></p>276 <?php submit_button(); ?> 277 277 </form> 278 278 </div> -
trunk/wp-admin/options.php
r14650 r15830 210 210 ?> 211 211 </table> 212 <p class="submit"><input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /><input type="submit" name="Update" value="<?php esc_attr_e( 'Save Changes' ); ?>" class="button-primary" /></p> 212 213 <input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /> 214 215 <?php submit_button( __('Save Changes') ); ?> 216 213 217 </form> 214 218 </div> -
trunk/wp-admin/user-edit.php
r15780 r15830 385 385 <?php } ?> 386 386 387 < p class="submit">388 <input type="hidden" name="action" value="update" />389 <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" /> 390 <input type="submit" class="button-primary" value="<?php IS_PROFILE_PAGE ? esc_attr_e('Update Profile') : esc_attr_e('Update User') ?>" name="submit" />391 </p> 387 <input type="hidden" name="action" value="update" /> 388 <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" /> 389 390 <?php submit_button( IS_PROFILE_PAGE ? __('Update Profile') : __('Update User') ); ?> 391 392 392 </form> 393 393 </div> -
trunk/wp-admin/user-new.php
r15780 r15830 266 266 <?php } ?> 267 267 </table> 268 <p class="submit"> 269 <input name="adduser" type="submit" id="addusersub" class="button-primary" value="<?php esc_attr_e('Add User') ?>" /> 270 </p> 268 269 <?php submit_button( __('Add User'), 'primary', 'adduser' ); ?> 271 270 </form> 272 271 -
trunk/wp-admin/users.php
r15746 r15830 191 191 </ul></fieldset> 192 192 <input type="hidden" name="action" value="dodelete" /> 193 < p class="submit"><input type="submit" name="submit" value="<?php esc_attr_e('Confirm Deletion'); ?>" class="button-secondary" /></p>193 <?php submit_button( __('Confirm Deletion'), 'secondary' ); ?> 194 194 <?php else : ?> 195 195 <p><?php _e('There are no valid users selected for deletion.'); ?></p> … … 279 279 <?php if ( $go_remove ) : ?> 280 280 <input type="hidden" name="action" value="doremove" /> 281 < p class="submit"><input type="submit" name="submit" value="<?php esc_attr_e('Confirm Removal'); ?>" class="button-secondary" /></p>281 <?php submit_button( __('Confirm Removal'), 'secondary' ); ?> 282 282 <?php else : ?> 283 283 <p><?php _e('There are no valid users selected for removal.'); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.