Changeset 5561 for trunk/src/templates/default/bbpress/form-topic-tag.php
- Timestamp:
- 11/10/2014 11:21:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-topic-tag.php
r5310 r5561 34 34 <div> 35 35 <label for="tag-name"><?php _e( 'Name:', 'bbpress' ); ?></label> 36 <input type="text" id="tag-name" name="tag-name" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>"value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" />36 <input type="text" id="tag-name" name="tag-name" size="20" maxlength="40" value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" /> 37 37 </div> 38 38 39 39 <div> 40 40 <label for="tag-slug"><?php _e( 'Slug:', 'bbpress' ); ?></label> 41 <input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>"value="<?php echo esc_attr( apply_filters( 'editable_slug', bbp_get_topic_tag_slug() ) ); ?>" />41 <input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" value="<?php echo esc_attr( apply_filters( 'editable_slug', bbp_get_topic_tag_slug() ) ); ?>" /> 42 42 </div> 43 43 44 44 <div> 45 45 <label for="tag-description"><?php _e( 'Description:', 'bbpress' ); ?></label> 46 <input type="text" id="tag-description" name="tag-description" size="20" tabindex="<?php bbp_tab_index(); ?>"value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" />46 <input type="text" id="tag-description" name="tag-description" size="20" value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" /> 47 47 </div> 48 48 49 49 <div class="bbp-submit-wrapper"> 50 <button type="submit" tabindex="<?php bbp_tab_index(); ?>"class="button submit"><?php esc_attr_e( 'Update', 'bbpress' ); ?></button>50 <button type="submit" class="button submit"><?php esc_attr_e( 'Update', 'bbpress' ); ?></button> 51 51 52 52 <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" /> … … 72 72 <div> 73 73 <label for="tag-existing-name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label> 74 <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" tabindex="<?php bbp_tab_index(); ?>"maxlength="40" />74 <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" maxlength="40" /> 75 75 </div> 76 76 77 77 <div class="bbp-submit-wrapper"> 78 <button type="submit" tabindex="<?php bbp_tab_index(); ?>"class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Merge', 'bbpress' ); ?></button>78 <button type="submit" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( __( 'Are you sure you want to merge the "%s" tag into the tag you specified?', 'bbpress' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Merge', 'bbpress' ); ?></button> 79 79 80 80 <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" /> … … 104 104 105 105 <div class="bbp-submit-wrapper"> 106 <button type="submit" tabindex="<?php bbp_tab_index(); ?>"class="button submit" 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' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Delete', 'bbpress' ); ?></button>106 <button type="submit" class="button submit" 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' ), bbp_get_topic_tag_name() ) ); ?>');"><?php esc_attr_e( 'Delete', 'bbpress' ); ?></button> 107 107 108 108 <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.