Changeset 16066
- Timestamp:
- 10/29/2010 12:31:27 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r16061 r16066 134 134 </tr> 135 135 </table> 136 <p class="step">< ?php submit_button( __( 'Install WordPress' ), 'button', 'Submit', false ); ?></p>136 <p class="step"><input type="submit" name="Submit" value="<?php esc_attr_e( 'Install WordPress' ); ?>" class="button" /></p> 137 137 </form> 138 138 <?php -
trunk/wp-admin/setup-config.php
r16061 r16066 147 147 </table> 148 148 <?php if ( isset( $_GET['noapi'] ) ) { ?><input name="noapi" type="hidden" value="true" /><?php } ?> 149 <p class="step">< ?php submit_button( __( 'Submit' ), 'button', 'submit', false ); ?></p>149 <p class="step"><input name="submit" type="submit" value="Submit" class="button" /></p> 150 150 </form> 151 151 <?php -
trunk/wp-includes/comment-template.php
r16061 r16066 1573 1573 <?php echo $args['comment_notes_after']; ?> 1574 1574 <p class="form-submit"> 1575 < ?php submit_button( $args['label_submit'], 'button', 'submit', false, array( 'id' => $args['id_submit'] ) ); ?>1575 <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 1576 1576 <?php comment_id_fields(); ?> 1577 1577 </p> -
trunk/wp-includes/general-template.php
r16061 r16066 161 161 <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label> 162 162 <input type="text" value="' . get_search_query() . '" name="s" id="s" /> 163 ' . get_submit_button( __( 'Search' ), '', 'searchsubmit', false ) . '163 <input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" /> 164 164 </div> 165 165 </form>'; … … 284 284 ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever" tabindex="90"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . ' 285 285 <p class="login-submit"> 286 ' . get_submit_button( $args['label_log_in'], 'primary', 'wp-submit', false, array( 'id' => $args['id_submit'], 'tabindex' => 100 ) ) . '286 <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . '" tabindex="100" /> 287 287 <input type="hidden" name="redirect_to" value="' . esc_attr( $args['redirect'] ) . '" /> 288 288 </p> -
trunk/wp-includes/post-template.php
r16061 r16066 1026 1026 $output = '<form action="' . get_option('siteurl') . '/wp-pass.php" method="post"> 1027 1027 <p>' . __("This post is password protected. To view it please enter your password below:") . '</p> 1028 <p> 1029 <label for="' . $label . '">' . __("Password:") . ' 1030 <input name="post_password" id="' . $label . '" type="password" size="20" /> 1031 </label>' . get_submit_button( __( 'Submit' ), '', 'Submit', false ) . ' 1032 </p> 1028 <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> 1033 1029 </form> 1034 1030 '; … … 1213 1209 <div class="tablenav"> 1214 1210 <div class="alignleft"> 1215 < ?php submit_button( __( 'Compare Revisions' ), 'secondary', '', false ); ?>1211 <input type="submit" class="button-secondary" value="<?php esc_attr_e( 'Compare Revisions' ); ?>" /> 1216 1212 <input type="hidden" name="action" value="diff" /> 1217 1213 <input type="hidden" name="post_type" value="<?php echo esc_attr($post->post_type); ?>" /> -
trunk/wp-includes/post.php
r16061 r16066 5124 5124 5125 5125 $submit_fields = array( 5126 'save' => get_submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post', 'tabindex' => '%s' ) ),5126 'save' => '<input type="submit" name="save" id="save-post" class="button" tabindex="%s" value="'. esc_attr('Save Draft') .'" />', 5127 5127 'reset' => '<input type="reset" tabindex="%s" value="'. esc_attr( 'Reset' ).'" class="button" />', 5128 5128 ); … … 5131 5131 5132 5132 $publishing_fields = array( 5133 'submit' => get_submit_button( $publishing_action, 'primary', 'publish', false, array( 'accesskey' => 'p', 'tabindex' => '%s' ) ),5133 'submit' => '<input type="submit" name="publish" id="publish" accesskey="p" tabindex="%s" class="button-primary" value="' . $publishing_action . '" />', 5134 5134 /*'test' => '<input type="submit" name="publish" id="publish" accesskey="p" tabindex="%n" class="button-primary" value="'. esc_attr('Publish') .'" />', */ 5135 5135 -
trunk/wp-includes/theme-compat/comments-popup.php
r16061 r16066 96 96 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 97 97 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 98 < ?php submit_button( __( 'Say It!' ), '', 'submit', false, array( 'tabindex' => '5' ) ); ?>98 <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!' ); ?>" /> 99 99 </p> 100 100 <?php do_action('comment_form', $post->ID); ?> -
trunk/wp-includes/theme-compat/comments.php
r16061 r16066 90 90 <p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p> 91 91 92 <p>< ?php submit_button( __( 'Submit Comment' ), '', 'submit', false, array( 'tabindex' => '5' ) ); ?>92 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" /> 93 93 <?php comment_id_fields(); ?> 94 94 </p> -
trunk/wp-login.php
r16061 r16066 412 412 <?php do_action('lostpassword_form'); ?> 413 413 <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" /> 414 < ?php submit_button( __( 'Get New Password' ), 'primary', 'wp-submit', true, array( 'tabindex' => '100' ) ); ?>414 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" tabindex="100" /></p> 415 415 </form> 416 416 … … 468 468 469 469 <br class="clear" /> 470 < ?php submit_button( __( 'Reset Password' ), 'primary', 'wp-submit', true, array( 'tabindex' => '100' ) ); ?>470 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" tabindex="100" /></p> 471 471 </form> 472 472 … … 524 524 <br class="clear" /> 525 525 <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" /> 526 < ?php submit_button( __( 'Register' ), 'primary', 'wp-submit', true, array( 'tabindex' => '100' ) ); ?>526 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" tabindex="100" /></p> 527 527 </form> 528 528 … … 641 641 <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90"<?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p> 642 642 <p class="submit"> 643 < ?php submit_button( __( 'Log In' ), 'primary', 'wp-submit', false, array( 'tabindex' => '100' ) ); ?>643 <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" tabindex="100" /> 644 644 <?php if ( $interim_login ) { ?> 645 645 <input type="hidden" name="interim-login" value="1" /> -
trunk/wp-signup.php
r16061 r16066 192 192 <?php do_action( "signup_hidden_fields" ); ?> 193 193 <?php show_blog_form($blogname, $blog_title, $errors); ?> 194 < ?php submit_button( __( 'Create Site' ), 'submit', 'submit' ); ?>194 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p> 195 195 </form> 196 196 <?php … … 271 271 </p> 272 272 273 < ?php submit_button( __( 'Next' ), 'submit', 'submit' ); ?>273 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Next') ?>" /></p> 274 274 </form> 275 275 <?php … … 327 327 <?php do_action( "signup_hidden_fields" ); ?> 328 328 <?php show_blog_form($blogname, $blog_title, $errors); ?> 329 < ?php submit_button( __( 'Signup' ), 'submit', 'submit', true ); ?>329 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p> 330 330 </form> 331 331 <?php
Note: See TracChangeset
for help on using the changeset viewer.