Extending CActiveForm for some form display fixes and language tweaks

Comparing #3 with #4

Revision #4 was created by Trejder Trejder on Nov 8, 2010, 9:40:01 PM.

Fixed code bug: activePasswordField --> activeTextField

Content

[...]
$transl.= Yii::t('classes', 'MyActiveForm_textFieldEx_end');

$textFieldAdd = ' <span class="text_field_add">'.$transl.'</span>';
}

return CHtml::active
PasswordTextField($model, $attribute, $htmlOptions).$textFieldAdd;
}
```
This utilizes my own approach to Yii::t() where second parameter isn't English text (as in yii.php and zii.php files in original framework) but actually a placeholder, label or pattern to be exchanged. Therefore you have to create your own classes.php and put there something similar to:
[...]