Changeset 3143 for branches/1.2/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 07/22/2010 10:51:24 AM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-xprofile/bp-xprofile-classes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-xprofile/bp-xprofile-classes.php
r3064 r3143 190 190 <?php } ?> 191 191 192 <form action="<?php echo attribute_escape( $action ); ?>" method="post">192 <form action="<?php echo esc_attr( $action ); ?>" method="post"> 193 193 194 194 <div id="titlediv"> 195 195 <label for="group_name"><?php _e( "Field Group Name", 'buddypress') ?></label> 196 196 <div> 197 <input type="text" name="group_name" id="group_name" value="<?php echo attribute_escape( $this->name ) ?>" style="width:50%" />197 <input type="text" name="group_name" id="group_name" value="<?php echo esc_attr( $this->name ) ?>" style="width:50%" /> 198 198 </div> 199 199 </div> 200 200 201 201 <p class="submit" style="text-align: left"> 202 <input type="submit" name="saveGroup" value="<?php echo attribute_escape( $title ); ?> →" />202 <input type="submit" name="saveGroup" value="<?php echo esc_attr( $title ); ?> →" /> 203 203 </p> 204 204 … … 528 528 ?> 529 529 <p><?php _e('Option', 'buddypress') ?> <?php echo $j ?>: 530 <input type="text" name="<?php echo $type ?>_option[<?php echo $j ?>]" id="<?php echo $type ?>_option<?php echo $j ?>" value="<?php echo attribute_escape( $options[$i]->name ) ?>" />530 <input type="text" name="<?php echo $type ?>_option[<?php echo $j ?>]" id="<?php echo $type ?>_option<?php echo $j ?>" value="<?php echo esc_attr( $options[$i]->name ) ?>" /> 531 531 <input type="<?php echo $default_input ?>" name="isDefault_<?php echo $type ?>_option<?php echo $default_name ?>" <?php if ( (int) $options[$i]->is_default_option ) {?> checked="checked"<?php } ?> " value="<?php echo $j ?>" /> <?php _e( 'Default Value', 'buddypress' ) ?> 532 532 <?php if ( $j != 1 && … … 588 588 <h3><label for="title"><?php _e("Field Title", 'buddypress') ?> *</label></h3> 589 589 <div id="titlewrap"> 590 <input type="text" name="title" id="title" value="<?php echo attribute_escape( $this->name ) ?>" style="width:50%" />590 <input type="text" name="title" id="title" value="<?php echo esc_attr( $this->name ) ?>" style="width:50%" /> 591 591 </div> 592 592 </div>
Note: See TracChangeset
for help on using the changeset viewer.