- Timestamp:
- 01/17/2011 05:26:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/form-bbp_topic_tag.php
r2768 r2810 2 2 3 3 /** 4 * Edit bbPress Topic Tag Form4 * Edit Topic Tag 5 5 * 6 6 * @package bbPress 7 * @subpackage Theme s7 * @subpackage Theme 8 8 */ 9 9 10 //@todo - remove $term variable references 10 11 $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); 11 12 12 13 ?> 13 14 14 <?php if ( current_user_can( 'edit_topic_tags' ) ) : ?> 15 15 … … 36 36 <div class="alignleft"> 37 37 <label for="tag-name"><?php _e( 'Name:', 'bbpress' ); ?></label> 38 <input type="text" name="tag-name" size="20" maxlength="40" tabindex=" 2" value="<?php echo esc_attr( $term->name ); ?>" />38 <input type="text" name="tag-name" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( $term->name ); ?>" /> 39 39 </div> 40 40 41 41 <div class="alignleft"> 42 42 <label for="tag-name"><?php _e( 'Slug:', 'bbpress' ); ?></label> 43 <input type="text" name="tag-slug" size="20" maxlength="40" tabindex=" 4" value="<?php echo esc_attr( apply_filters( 'editable_slug', $term->slug ) ); ?>" />43 <input type="text" name="tag-slug" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( apply_filters( 'editable_slug', $term->slug ) ); ?>" /> 44 44 </div> 45 45 46 46 <div class="alignright"> 47 <input type="submit" name="submit" tabindex=" 6" value="<?php esc_attr_e( 'Update', 'bbpress' ); ?>" /><br />47 <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php esc_attr_e( 'Update', 'bbpress' ); ?>" /><br /> 48 48 49 49 <input type="hidden" name="tag-id" value="<?php echo esc_attr( $term->term_id ); ?>" /> … … 69 69 <div class="alignleft"> 70 70 <label for="tag-name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label> 71 <input type="text" name="tag-name" size="22" tabindex=" 8" maxlength="40" />71 <input type="text" name="tag-name" size="22" tabindex="<?php bbp_tab_index(); ?>" maxlength="40" /> 72 72 </div> 73 73 74 74 <div class="alignright"> 75 <input type="submit" name="submit" tabindex=" 10" value="<?php esc_attr_e( 'Merge', 'bbpress' ); ?>"75 <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php esc_attr_e( 'Merge', 'bbpress' ); ?>" 76 76 onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), $term->name ) ); ?>');" /> 77 77 … … 102 102 103 103 <div class="alignright"> 104 <input type="submit" name="submit" tabindex=" 12" value="<?php _e( 'Delete', 'bbpress' ); ?>"104 <input type="submit" name="submit" tabindex="<?php bbp_tab_index(); ?>" value="<?php _e( 'Delete', 'bbpress' ); ?>" 105 105 onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to delete the "%s" tag? This is permanent and cannot be undone.', 'bbpress' ), $term->name ) ); ?>');" /> 106 106
Note: See TracChangeset
for help on using the changeset viewer.