Changeset 206
- Timestamp:
- 12/25/08 10:33:52 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/preferences/language/english/preferences_lang.php
r202 r206 26 26 $lang['preference_desc_autologin_period'] = 'Number of days for which the user will be logged in automaticaly'; 27 27 $lang['preference_desc_login_field'] = 'What way to allow users to login to the system using'; 28 29 $lang['preference_field_activation_method_none'] = 'No activation required'; 30 $lang['preference_field_activation_method_email'] = 'Self activation by email'; 31 $lang['preference_field_activation_method_admin'] = 'Manual activation by an administrator'; 28 32 29 33 // Security Preferences trunk/system/application/controllers/admin/settings.php
r204 r206 29 29 parent::Admin_Controller(); 30 30 31 $this->lang->module_load('preferences','preferences'); 32 31 33 log_message('debug','BackendPro : Settings class loaded'); 32 34 } … … 52 54 53 55 $config['field']['allow_user_registration'] = array('type'=>'boolean'); 54 $config['field']['activation_method'] = array('type'=>'dropdown','params'=>array('options'=>array('none'=> 'No activation required','email'=>'Self activation by email','admin'=>'Manual activation by an administrator')));56 $config['field']['activation_method'] = array('type'=>'dropdown','params'=>array('options'=>array('none'=>$this->lang->line('preference_field_activation_method_none'),'email'=>$this->lang->line('preference_field_activation_method_email'),'admin'=>$this->lang->line('preference_field_activation_method_admin')))); 55 57 $config['field']['account_activation_time'] = array('rules'=>'trim|required|numeric'); 56 58 $config['field']['autologin_period'] = array('rules'=>'trim|required|numeric'); 57 59 $config['field']['default_user_group'] = array('type'=>'dropdown','params'=>array('options'=>$this->access_control_model->buildACLDropdown('group','id'))); 58 60 $config['field']['allow_user_profiles'] = array('type'=>'boolean'); 59 $config['field']['login_field'] = array('type'=>'dropdown','params'=>array('options'=>array('email'=> 'Email','username'=>'Username','either'=>'Either')));61 $config['field']['login_field'] = array('type'=>'dropdown','params'=>array('options'=>array('email'=>$this->lang->line('userlib_email'),'username'=>$this->lang->line('userlib_username'),'either'=>$this->lang->line('userlib_email_username')))); 60 62 61 63 $config['field']['use_login_captcha'] = array('type'=>'boolean'); trunk/user_guide/general/changelog.html
r205 r206 56 56 <h3>Additions</h3> 57 57 <ul> 58 <li> Status Classi18n Support - The status class language strings are now contained within a language file, See <a href="http://trac2.assembla.com/backendpro/ticket/75">Enhancement #75</a></li>58 <li>i18n Support - The status class language strings are now contained within a language file, See <a href="http://trac2.assembla.com/backendpro/ticket/75">Enhancement #75</a></li> 59 59 <li>CI Profiler Intergration - The CI profiler is now intergrated into the admin control panel. When turned on in the <a href="../features/preferences.html#page_debug">system settings</a> rather than some of the output being hidden it is now clearly visible, See <a href="http://trac2.assembla.com/backendpro/ticket/41">Enhancement #41</a></li> 60 60 <li>Login Selection - It is now possible to select how a user can login, either with their email, username or either.</li> … … 62 62 <h3>Modifications</h3> 63 63 <ul> 64 <li>Added some extra language strings for the dropdown options inside <var>application/controllers/admin/settings.php</var>, See <a href="http://trac2.assembla.com/backendpro/ticket/73">Enhancement #73</a></li> 64 65 <li>Updated the Page Module so it uses the functions in the <a href="http://codeigniter.com/user_guide/helpers/html_helper.html">CodeIgniter HTML helper</a>, See <a href="http://trac2.assembla.com/backendpro/ticket/36">Enhancement #36</a></li> 65 66 <li>Changed the MY_Controller so the charset header and metatag value is taken from the CI config file, See <a href="http://trac2.assembla.com/backendpro/ticket/74">Enhancement #74</a></li>