6 array(
'label' =>
UserModule::t(
'Edit'),
'url' => array(
'edit')),
7 array(
'label' =>
UserModule::t(
'Change password'),
'url' => array(
'changepassword')),
8 array(
'label' =>
UserModule::t(
'Logout'),
'url' => array(
'/user/logout')),
12 <?php
if (Yii::app()->user->hasFlash(
'profileMessage')): ?>
14 <?php echo Yii::app()->user->getFlash(
'profileMessage'); ?>
17 <table
class=
"dataGrid">
19 <th
class=
"label"><?php echo CHtml::encode($model->getAttributeLabel(
'username')); ?></th>
20 <td><?php echo CHtml::encode($model->username); ?></td>
29 <th
class=
"label"><?php echo CHtml::encode(
UserModule::t($field->title));
31 <td><?php echo(($field->widgetView($profile)) ? $field->widgetView($profile) : CHtml::encode((($field->range) ?
Profile::range($field->range, $profile->getAttribute($field->varname)) : $profile->getAttribute($field->varname))));
40 <th
class=
"label"><?php echo CHtml::encode($model->getAttributeLabel(
'email')); ?></th>
41 <td><?php echo CHtml::encode($model->email); ?></td>
44 <th
class=
"label"><?php echo CHtml::encode($model->getAttributeLabel(
'create_at')); ?></th>
45 <td><?php echo $model->create_at; ?></td>
48 <th
class=
"label"><?php echo CHtml::encode($model->getAttributeLabel(
'lastvisit_at')); ?></th>
49 <td><?php echo $model->lastvisit_at; ?></td>
52 <th
class=
"label"><?php echo CHtml::encode($model->getAttributeLabel(
'status')); ?></th>
53 <td><?php echo CHtml::encode(
User::itemAlias(
"UserStatus", $model->status)); ?></td>