Changeset 7965 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 02/22/2014 03:50:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r7915 r7965 958 958 <h3><?php _e( 'Field Description', 'buddypress' ); ?></h3> 959 959 <div class="inside"> 960 <textarea name="description" id="description" rows="8" cols="60"><?php echo esc_ attr( $this->description ); ?></textarea>960 <textarea name="description" id="description" rows="8" cols="60"><?php echo esc_textarea( $this->description ); ?></textarea> 961 961 </div> 962 962 </div> … … 971 971 <input type="hidden" name="field_order" id="field_order" value="<?php echo esc_attr( $this->field_order ); ?>" /> 972 972 <div id="publishing-action"> 973 <input type="submit" value="<?php _e( 'Save', 'buddypress' ); ?>" name="saveField" id="saveField" style="font-weight: bold" class="button-primary" />973 <input type="submit" value="<?php esc_attr_e( 'Save', 'buddypress' ); ?>" name="saveField" id="saveField" style="font-weight: bold" class="button-primary" /> 974 974 </div> 975 975 <div id="delete-action"> … … 1042 1042 <div class="inside"> 1043 1043 <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)" style="width: 30%"> 1044 <optgroup label="<?php _e( 'Single Fields', 'buddypress' ); ?>">1044 <optgroup label="<?php esc_attr_e( 'Single Fields', 'buddypress' ); ?>"> 1045 1045 <option value="textbox" <?php selected( $this->type, 'textbox' ); ?>><?php _e( 'Text Box', 'buddypress' ); ?></option> 1046 1046 <option value="textarea" <?php selected( $this->type, 'textarea' ); ?>><?php _e( 'Multi-line Text Area', 'buddypress' ); ?></option> 1047 1047 <option value="datebox" <?php selected( $this->type, 'datebox' ); ?>><?php _e( 'Date Selector', 'buddypress' ); ?></option> 1048 1048 </optgroup> 1049 <optgroup label="<?php _e( 'Multi Fields', 'buddypress' ); ?>">1049 <optgroup label="<?php esc_attr_e( 'Multi Fields', 'buddypress' ); ?>"> 1050 1050 <option value="radio" <?php selected( $this->type, 'radio' ); ?>><?php _e( 'Radio Buttons', 'buddypress' ); ?></option> 1051 1051 <option value="selectbox" <?php selected( $this->type, 'selectbox' ); ?>><?php _e( 'Drop Down Select Box', 'buddypress' ); ?></option>
Note: See TracChangeset
for help on using the changeset viewer.