Changeset 5396
- Timestamp:
- 06/12/2014 09:40:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-reply.php
r5060 r5396 105 105 <?php endif; ?> 106 106 107 <?php if ( bbp_allow_revisions() && bbp_is_reply_edit() ) : ?> 108 109 <?php do_action( 'bbp_theme_before_reply_form_revisions' ); ?> 110 111 <fieldset class="bbp-form"> 112 <legend> 113 <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> 114 <label for="bbp_log_reply_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 115 </legend> 116 117 <div> 118 <label for="bbp_reply_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> 119 <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" /> 120 </div> 121 </fieldset> 122 123 <?php do_action( 'bbp_theme_after_reply_form_revisions' ); ?> 107 <?php if ( bbp_is_reply_edit() ) : ?> 108 109 <?php if ( current_user_can( 'moderate' ) ) : ?> 110 111 <?php do_action( 'bbp_theme_before_reply_form_reply_to' ); ?> 112 113 <p class="form-reply-to"> 114 <label for="bbp_reply_to"><?php _e( 'Reply To:', 'bbpress' ); ?></label><br /> 115 <?php bbp_reply_to_dropdown(); ?> 116 </p> 117 118 <?php do_action( 'bbp_theme_after_reply_form_reply_to' ); ?> 119 120 <?php endif; ?> 121 122 <?php if ( bbp_allow_revisions() ) : ?> 123 124 <?php do_action( 'bbp_theme_before_reply_form_revisions' ); ?> 125 126 <fieldset class="bbp-form"> 127 <legend> 128 <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> 129 <label for="bbp_log_reply_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 130 </legend> 131 132 <div> 133 <label for="bbp_reply_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> 134 <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" /> 135 </div> 136 </fieldset> 137 138 <?php do_action( 'bbp_theme_after_reply_form_revisions' ); ?> 139 140 <?php endif; ?> 124 141 125 142 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.