pluf2

pluf2 Commit Details


Date:2009-11-13 05:18:43 (15 years 1 month ago)
Author:Loic d'Anterroches
Branch:master
Commit:7547e3e033f4411822e02e165ad7a76d33556760
Parents: a5af930af03149e0f744a40db043a98bafc6e148
Message:Fixed to use the project default language as default value for the user.

Changes:

File differences

src/Pluf/User.php
4141
4242
4343
44
4445
4546
4647
......
125126
126127
127128
128
129
129130
130131
131132
function init()
{
$langs = Pluf::f('languages', array('en'));
$this->_a['verbose'] = __('user');
$this->_a['table'] = 'users';
$this->_a['model'] = 'Pluf_User';
array(
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'default' => 'en',
'default' => $langs[0];
'size' => 5,
'verbose' => __('language'),
'help_text' => __('Prefered language of the user for the interface. Use the 2 or 5 letter code like "fr", "en", "fr_QC" or "en_US".')

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05848s using 13 queries.