Changeset 38
- Timestamp:
- 04/10/07 05:14:29
- Files:
-
- FreakAuth/trunk/www/system/application/controllers/admin/admins.php (modified) (2 diffs)
- FreakAuth/trunk/www/system/application/controllers/admin/users.php (modified) (2 diffs)
- FreakAuth/trunk/www/system/application/controllers/auth.php (modified) (8 diffs)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/change_password.php (modified) (5 diffs)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/forgotten_password.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/login.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/register.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/email/activation_email.php (modified) (1 diff)
- FreakAuth/trunk/www/system/language/english/freakauth_lang.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
FreakAuth/trunk/www/system/application/controllers/admin/admins.php
r27 r38 647 647 if (($query != null) && ($query->num_rows() > 0)) 648 648 { 649 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered. If you have forgotten your login details you can get them here');649 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_user_email_duplicate')); 650 650 651 651 $query->free_result(); … … 655 655 if (($query_temp != null) && ($query_temp->num_rows() > 0)) 656 656 { 657 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered and is waiting for activation. If this is your e-mail address please check your e-mail inbox and activate your ');657 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_usertemp_email_duplicate')); 658 658 659 659 $query_temp->free_result(); FreakAuth/trunk/www/system/application/controllers/admin/users.php
r27 r38 642 642 if (($query != null) && ($query->num_rows() > 0)) 643 643 { 644 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered. If you have forgotten your login details you can get them here');644 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_user_email_duplicate')); 645 645 646 646 $query->free_result(); … … 650 650 if (($query_temp != null) && ($query_temp->num_rows() > 0)) 651 651 { 652 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered and is waiting for activation. If this is your e-mail address please check your e-mail inbox and activate your ');652 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_usertemp_email_duplicate')); 653 653 654 654 $query_temp->free_result(); FreakAuth/trunk/www/system/application/controllers/auth.php
r27 r38 70 70 { 71 71 // Display user name and an 'already logged in' flash message... 72 $msg = $this->db_session->userdata('username').', you have already logged in!';72 $msg = $this->db_session->userdata('username').', '.$this->lang->line('FAL_already_logged_in_msg'); 73 73 $this->db_session->set_flashdata('flashMessage', $msg, 1); 74 74 … … 128 128 { 129 129 //page title 130 $data['heading'] ='login';130 $data['heading'] = $this->lang->line('FAL_login_label'); 131 131 132 132 if ($this->config->item('FAL_use_security_code_login')) … … 225 225 226 226 //displays the view 227 $data['heading'] = 'register';227 $data['heading'] = $this->lang->line('FAL_register_label'); 228 228 $data['page'] = $this->config->item('FAL_register_view'); 229 229 … … 293 293 if ($this->validation->run() && $this->freakauth_light->forgotten_password()) 294 294 { 295 $data['heading'] = 'Remember password';295 $data['heading'] = $this->lang->line('FAL_forgotten_password_label'); 296 296 $data['page'] = $this->config->item('FAL_forgotten_password_success_view'); 297 297 … … 314 314 315 315 //display the form 316 $data['heading'] = 'Remember password';316 $data['heading'] = $this->lang->line('FAL_forgotten_password_label'); 317 317 $data['page'] = $this->config->item('FAL_forgotten_password_view'); 318 318 … … 398 398 { 399 399 //page title 400 $data['heading'] = 'Change password';400 $data['heading'] = $this->lang->line('FAL_change_password_label'); 401 401 //page content 402 402 $data['page'] = $this->config->item('FAL_change_password_view'); … … 616 616 if (($query != null) && ($query->num_rows() > 0)) 617 617 { 618 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered. If you have forgotten your login details you can get them here');618 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_user_email_duplicate')); 619 619 return false; 620 620 } … … 622 622 if (($query_temp != null) && ($query_temp->num_rows() > 0)) 623 623 { 624 $this->validation->set_message('_email_duplicate_check', 'A user with this e-mail has already registered and is waiting for activation. If this is your e-mail address please check your e-mail inbox and activate your ');625 return false;624 $this->validation->set_message('_email_duplicate_check', $this->lang->line('FAL_usertemp_email_duplicate')); 625 return false; 626 626 } 627 627 FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/change_password.php
r37 r38 3 3 <legend><?=$heading?></legend> 4 4 <?=form_open('auth/changepassword')?> 5 <p><label for="user_name"> user name</label>5 <p><label for="user_name"><?=$this->lang->line('FAL_user_name_label');?>:</label> 6 6 7 7 <?=form_input(array('name'=>'user_name', … … 13 13 </p> 14 14 15 <p><label for="password"> old password</label>15 <p><label for="password"><?=$this->lang->line('FAL_old_password_label');?>:</label> 16 16 <?=form_password(array('name'=>'password', 17 17 'id'=>'password', … … 21 21 <span><?=(isset($this->validation) ? $this->validation->{'password'.'_error'} : '')?></span> 22 22 </p> 23 <p><label for="new_password"> new password</label>23 <p><label for="new_password"><?=$this->lang->line('FAL_new_password_label');?>:</label> 24 24 <?=form_password(array('name'=>'new_password', 25 25 'id'=>'new_password', … … 29 29 <span><?=(isset($this->validation) ? $this->validation->{'new_password'.'_error'} : '')?></span> 30 30 </p> 31 <p><label for="password_confirm"> retype new password</label>31 <p><label for="password_confirm"><?=$this->lang->line('FAL_retype_new_password_label');?>:</label> 32 32 <?=form_password(array('name'=>'password_confirm', 33 33 'id'=>'password_confirm', … … 37 37 <span><?=(isset($this->validation) ? $this->validation->{'password_confirm'.'_error'} : '')?></span> 38 38 </p> 39 <input type="submit" name="Submit" value=" Submit" class="submit"/>40 <input type="reset" name="Reset" value=" reset" />39 <input type="submit" name="Submit" value="<?=$this->lang->line('FAL_submit')?>" class="submit"/> 40 <input type="reset" name="Reset" value="<?=$this->lang->line('FAL_reset')?>" /> 41 41 </form> 42 42 </fieldset> FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/forgotten_password.php
r37 r38 24 24 <!-- END CAPTCHA (security image)--> 25 25 <p><?=form_submit(array('name'=>'submit', 26 27 'value'=>$this->lang->line('FAL_submit_label')))?> 26 'value'=>$this->lang->line('FAL_submit')))?> 28 27 </p> 29 28 <?=form_close()?> FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/login.php
r37 r38 1 <fieldset><legend accesskey="D" tabindex="1"> login</legend>1 <fieldset><legend accesskey="D" tabindex="1"><?=$heading?></legend> 2 2 <?=form_open('auth/')?> 3 3 <!--USERNAME--> FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/register.php
r37 r38 1 1 <div id="register"> 2 <fieldset><legend accesskey="D" tabindex="1"> register</legend>2 <fieldset><legend accesskey="D" tabindex="1"><?=$heading?></legend> 3 3 <?=form_open('auth/register')?> 4 4 <!--USERNAME--> FreakAuth/trunk/www/system/application/views/FreakAuth_light/email/activation_email.php
r2 r38 8 8 9 9 10 username: <?=$user_name?>10 <?=$this->lang->line('FAL_user_name_label')?>: <?=$user_name?> 11 11 12 password: <?=$password?>12 +<?=$this->lang->line('FAL_user_password_label')?>: <?=$password?> 13 13 14 14 FreakAuth/trunk/www/system/language/english/freakauth_lang.php
r37 r38 31 31 $lang['FAL_continue_label'] = 'Continue'; 32 32 $lang['FAL_donotagree_label'] = 'I Do Not Agree'; 33 $lang['FAL_forgotten_password_label'] = 'Forgotten Password ?';33 $lang['FAL_forgotten_password_label'] = 'Forgotten Password'; 34 34 $lang['FAL_register_label'] = 'Register'; 35 $lang['FAL_ submit_label'] = 'Submit';35 $lang['FAL_change_password_label'] = 'Change Password'; 36 36 37 37 $lang['FAL_citation_message'] = 'Thank You!'; 38 $lang['FAL_already_logged_in_msg'] = 'you have already logged in!'; 38 39 39 40 //------------------------------------------------------------------ … … 93 94 $lang['FAL_in_use_validation_message'] = 'The %s is already in use.'; 94 95 $lang['FAL_country_validation_message'] = 'Please choose the country where you live'; 95 96 $lang['FAL_user_email_duplicate'] = 'A user with this e-mail has already registered. If you have forgotten your login details you can get them here.'; 97 $lang['FAL_usertemp_email_duplicate'] = 'A user with this e-mail has already registered and is waiting for activation. If this is your e-mail address please check your e-mail inbox and activate your account.'; 98 96 99 //------------------------------------------------------------------ 97 100 //CHANGE PASSWORD 98 101 //------------------------------------------------------------------ 99 102 $lang['FAL_change_password_success'] = 'Your password has been successfully changed'; 100 101 102 103 $lang['FAL_old_password_label'] = 'old password'; 104 $lang['FAL_new_password_label'] = 'new password'; 105 $lang['FAL_retype_new_password_label'] = 'retype new password'; 106 $lang['FAL_submit'] = 'submit'; 107 $lang['FAL_reset'] = 'reset'; 108 103 109 //------------------------------------------------------------------ 104 110 //FORGOTTEN PASSWORD
