Changeset 5688 for trunk/src/templates/default/bbpress/form-topic-tag.php
- Timestamp:
- 04/19/2015 04:27:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-topic-tag.php
r5563 r5688 16 16 <fieldset class="bbp-form" id="bbp-edit-topic-tag"> 17 17 18 <legend><?php printf( __( 'Manage Tag: "%s"', 'bbpress' ), bbp_get_topic_tag_name() ); ?></legend>18 <legend><?php printf( esc_html__( 'Manage Tag: "%s"', 'bbpress' ), bbp_get_topic_tag_name() ); ?></legend> 19 19 20 20 <fieldset class="bbp-form" id="tag-rename"> 21 21 22 <legend><?php _e( 'Rename', 'bbpress' ); ?></legend>22 <legend><?php esc_html_e( 'Rename', 'bbpress' ); ?></legend> 23 23 24 24 <div class="bbp-template-notice info"> 25 25 <ul> 26 <li><?php _e( 'Leave the slug empty to have one automatically generated.', 'bbpress' ); ?></li>26 <li><?php esc_html_e( 'Leave the slug empty to have one automatically generated.', 'bbpress' ); ?></li> 27 27 </ul> 28 28 </div> … … 30 30 <div class="bbp-template-notice"> 31 31 <ul> 32 <li><?php _e( 'Changing the slug affects its permalink. Any links to the old slug will stop working.', 'bbpress' ); ?></li>32 <li><?php esc_html_e( 'Changing the slug affects its permalink. Any links to the old slug will stop working.', 'bbpress' ); ?></li> 33 33 </ul> 34 34 </div> … … 37 37 38 38 <div> 39 <label for="tag-name"><?php _e( 'Name:', 'bbpress' ); ?></label>39 <label for="tag-name"><?php esc_html_e( 'Name:', 'bbpress' ); ?></label> 40 40 <input type="text" id="tag-name" name="tag-name" size="20" maxlength="40" value="<?php echo esc_attr( bbp_get_topic_tag_name() ); ?>" /> 41 41 </div> 42 42 43 43 <div> 44 <label for="tag-slug"><?php _e( 'Slug:', 'bbpress' ); ?></label>44 <label for="tag-slug"><?php esc_html_e( 'Slug:', 'bbpress' ); ?></label> 45 45 <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() ) ); ?>" /> 46 46 </div> 47 47 48 48 <div> 49 <label for="tag-description"><?php _e( 'Description:', 'bbpress' ); ?></label>49 <label for="tag-description"><?php esc_html_e( 'Description:', 'bbpress' ); ?></label> 50 50 <input type="text" id="tag-description" name="tag-description" size="20" value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" /> 51 51 </div> … … 66 66 <fieldset class="bbp-form" id="tag-merge"> 67 67 68 <legend><?php _e( 'Merge', 'bbpress' ); ?></legend>68 <legend><?php esc_html_e( 'Merge', 'bbpress' ); ?></legend> 69 69 70 70 <div class="bbp-template-notice"> 71 71 <ul> 72 <li><?php _e( 'Merging tags together cannot be undone.', 'bbpress' ); ?></li>72 <li><?php esc_html_e( 'Merging tags together cannot be undone.', 'bbpress' ); ?></li> 73 73 </ul> 74 74 </div> … … 77 77 78 78 <div> 79 <label for="tag-existing-name"><?php _e( 'Existing tag:', 'bbpress' ); ?></label>79 <label for="tag-existing-name"><?php esc_html_e( 'Existing tag:', 'bbpress' ); ?></label> 80 80 <input type="text" id="tag-existing-name" name="tag-existing-name" size="22" maxlength="40" /> 81 81 </div> 82 82 83 83 <div class="bbp-submit-wrapper"> 84 <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>84 <button type="submit" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( esc_html__( '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> 85 85 86 86 <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" /> … … 97 97 <fieldset class="bbp-form" id="delete-tag"> 98 98 99 <legend><?php _e( 'Delete', 'bbpress' ); ?></legend>99 <legend><?php esc_html_e( 'Delete', 'bbpress' ); ?></legend> 100 100 101 101 <div class="bbp-template-notice info"> 102 102 <ul> 103 <li><?php _e( 'This does not delete your topics. Only the tag itself is deleted.', 'bbpress' ); ?></li>103 <li><?php esc_html_e( 'This does not delete your topics. Only the tag itself is deleted.', 'bbpress' ); ?></li> 104 104 </ul> 105 105 </div> 106 106 <div class="bbp-template-notice"> 107 107 <ul> 108 <li><?php _e( 'Deleting a tag cannot be undone.', 'bbpress' ); ?></li>109 <li><?php _e( 'Any links to this tag will no longer function.', 'bbpress' ); ?></li>108 <li><?php esc_html_e( 'Deleting a tag cannot be undone.', 'bbpress' ); ?></li> 109 <li><?php esc_html_e( 'Any links to this tag will no longer function.', 'bbpress' ); ?></li> 110 110 </ul> 111 111 </div> … … 114 114 115 115 <div class="bbp-submit-wrapper"> 116 <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>116 <button type="submit" class="button submit" onclick="return confirm('<?php echo esc_js( sprintf( esc_html__( '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> 117 117 118 118 <input type="hidden" name="tag-id" value="<?php bbp_topic_tag_id(); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.