Changeset 3210
- Timestamp:
- 05/24/2011 11:00:20 PM (15 years ago)
- Location:
- branches/plugin/bbp-themes/bbp-twentyten/bbpress
- Files:
-
- 2 edited
-
form-reply.php (modified) (2 diffs)
-
form-topic.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-reply.php
r3207 r3210 31 31 <?php endif; ?> 32 32 33 <?php if ( current_user_can( 'unfiltered_html' ) ) : ?> 34 35 <div class="bbp-template-notice"> 36 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> 37 </div> 38 39 <?php endif; ?> 40 33 41 <?php do_action( 'bbp_template_notices' ); ?> 34 42 … … 48 56 </p> 49 57 50 <p class="form-allowed-tags"> 51 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> 52 <code><?php bbp_allowed_tags(); ?></code> 53 </p> 58 <?php if ( !current_user_can( 'unfiltered_html' ) ) : ?> 59 60 <p class="form-allowed-tags"> 61 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> 62 <code><?php bbp_allowed_tags(); ?></code> 63 </p> 64 65 <?php endif; ?> 54 66 55 67 <p> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-topic.php
r3207 r3210 40 40 <?php endif; ?> 41 41 42 <?php if ( current_user_can( 'unfiltered_html' ) ) : ?> 43 44 <div class="bbp-template-notice"> 45 <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> 46 </div> 47 48 <?php endif; ?> 49 42 50 <?php do_action( 'bbp_template_notices' ); ?> 43 51 … … 61 69 </p> 62 70 63 <p class="form-allowed-tags"> 64 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> 65 <code><?php bbp_allowed_tags(); ?></code> 66 </p> 71 <?php if ( !current_user_can( 'unfiltered_html' ) ) : ?> 72 73 <p class="form-allowed-tags"> 74 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> 75 <code><?php bbp_allowed_tags(); ?></code> 76 </p> 77 78 <?php endif; ?> 67 79 68 80 <p>
Note: See TracChangeset
for help on using the changeset viewer.