Changeset 3463
- Timestamp:
- 08/27/2011 08:32:40 AM (13 years ago)
- Location:
- branches/plugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-functions.php
r3454 r3463 1588 1588 1589 1589 // No tag name was provided 1590 if ( empty( $_POST['tag- name'] ) || !$name = $_POST['tag-name'] ) {1590 if ( empty( $_POST['tag-existing-name'] ) || !$name = $_POST['tag-existing-name'] ) { 1591 1591 bbp_add_error( 'bbp_manage_topic_tag_merge_name', __( '<strong>ERROR</strong>: You need to enter a tag name.', 'bbpress' ) ); 1592 1592 return; -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-topic-tag.php
r3347 r3463 34 34 <div> 35 35 <label for="tag-name"><?php _e( 'Name:', 'bbpress' ); ?></label> 36 <input type="text" 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" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" /> 37 37 </div> 38 38 39 39 <div> 40 <label for="tag- name"><?php _e( 'Slug:', 'bbpress' ); ?></label>41 <input type="text" 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() ) ); ?>" />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() ) ); ?>" /> 42 42 </div> 43 43 … … 66 66 67 67 <div> 68 <label for="tag- name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label>69 <input type="text" name="tag-name" size="22" tabindex="<?php bbp_tab_index(); ?>" maxlength="40" />68 <label for="tag-existing-name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label> 69 <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" tabindex="<?php bbp_tab_index(); ?>" maxlength="40" /> 70 70 </div> 71 71
Note: See TracChangeset
for help on using the changeset viewer.