Пример #1
0
?>
			
			
	<?php 
// add new account fields
if ($model->isNewRecord) {
    echo $form->textFieldRow($accountProfileModel, 'account_profile_company_name', array('size' => 60, 'maxlength' => 255) + (isset($_GET['ajax']) ? $iframe_input_style : array()));
    echo $form->textFieldRow($accountProfileModel, 'account_profile_given_name', array('size' => 60, 'maxlength' => 255) + (isset($_GET['ajax']) ? $iframe_input_style : array()));
    echo $form->textFieldRow($accountProfileModel, 'account_profile_surname', array('size' => 60, 'maxlength' => 255) + (isset($_GET['ajax']) ? $iframe_input_style : array()));
    echo $form->passwordFieldRow($model, 'account_password', array('size' => 60, 'maxlength' => 255) + (isset($_GET['ajax']) ? $iframe_input_style : array()));
    echo $form->hiddenField($model, 'account_timezone');
} else {
    // showing fields for updating account
    /**echo $form->textFieldRow($model,'account_timezone',
    			array('size'=>60,'maxlength'=>255));**/
    echo $form->dropDownListRow($model, 'account_timezone', LBApplication::getTimeZoneListSource());
    echo $form->textFieldRow($model, 'account_language', array('size' => 60, 'maxlength' => 255));
}
?>
	

	<!--  div class="row">
		<?php 
//echo $form->labelEx($model,'account_timezone');
?>
		<?php 
//echo $form->textField($model,'account_timezone',array('size'=>60,'maxlength'=>255));
?>
		<?php 
//echo $form->error($model,'account_timezone');
?>