Changeset 798318
- Timestamp:
- 11/04/2013 12:01:27 AM (12 years ago)
- Location:
- simplr-registration-form/trunk
- Files:
-
- 1 added
- 3 edited
-
lib/sreg.class.php (added)
-
readme.txt (modified) (1 diff)
-
simplr_form_functions.php (modified) (2 diffs)
-
simplr_reg_page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simplr-registration-form/trunk/readme.txt
r776128 r798318 148 148 -Fix "undefined" notices 149 149 -Fix incompatibility with login_message filter 150 151 = 2.2.5 = 152 -fix backwar compatibility and sreg.class.php error -
simplr-registration-form/trunk/simplr_form_functions.php
r776128 r798318 323 323 if( !in_array('username',$fields) OR empty($custom->fields->custom['username']) ) { 324 324 $form .= '<div class="simplr-field '.apply_filters('username_error_class','') .'">'; 325 $form .= '<label for="username" class="left">' . esc_attr(@$label_username ).' <span class="required">*</span></label>';326 $form .= '<input type="text" name="username" class="right" value="'. esc_attr(@$data['username']) .'" /><br/>';325 $form .= '<label for="username" class="left">' .@esc_attr($label_username ).' <span class="required">*</span></label>'; 326 $form .= '<input type="text" name="username" class="right" value="'.@esc_attr($data['username']) .'" /><br/>'; 327 327 $form .= '</div><div class="simplr-clr"></div>'; 328 328 } … … 437 437 438 438 function sreg_basic($atts) { 439 require_once __DIR__.'/lib/sreg.class.php';439 require_once dirname(__FILE__).'/lib/sreg.class.php'; 440 440 //Check if the user is logged in, if so he doesn't need the registration page 441 441 if ( is_user_logged_in() AND !current_user_can('administrator') ) { -
simplr-registration-form/trunk/simplr_reg_page.php
r776128 r798318 2 2 /* 3 3 Plugin Name: Simplr User Registration Form Plus 4 Version: 2.2. 44 Version: 2.2.5 5 5 Description: This a simple plugin for adding a custom user registration form to any post or page using shortcode. 6 6 Author: Mike Van Winkle
Note: See TracChangeset
for help on using the changeset viewer.