Indefero

Indefero Commit Details


Date:2008-12-19 04:30:50 (16 years 3 days ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:d2323c6d9704d89a3fc53ab29e297f0340ff05d6
Parents: d11b107ce1923390f276901b574036dc9c0df553
Message:Added the language selection in the user account.

Changes:

File differences

src/IDF/Form/UserAccount.php
4949
5050
5151
52
53
54
55
56
57
58
59
60
61
62
63
5264
5365
5466
'size' => 20,
),
));
$this->fields['language'] = new Pluf_Form_Field_Varchar(
array('required' => true,
'label' => __('Language'),
'initial' => $this->user->language,
'widget' => 'Pluf_Form_Widget_SelectInput',
'widget_attrs' => array(
'choices' =>
Pluf_L10n::getInstalledLanguages()
),
));
$this->fields['password'] = new Pluf_Form_Field_Varchar(
array('required' => false,
'label' => __('Your password'),
src/IDF/templates/idf/user/myaccount.html
2828
2929
3030
31
32
33
34
35
36
3137
3238
3339
</td>
</tr>
<tr>
<th>{$form.f.language.labelTag}:</th>
<td>{if $form.f.language.errors}{$form.f.language.fieldErrors}{/if}
{$form.f.language|unsafe}
</td>
</tr>
<tr>
<th>{$form.f.password.labelTag}:</th>
<td>{if $form.f.password.errors}{$form.f.password.fieldErrors}{/if}
{$form.f.password|unsafe}<br />

Archive Download the corresponding diff file

Page rendered in 0.07168s using 13 queries.