6 Yii::t(
'app',
'Accounts') => array(
'//account/account'),
7 Yii::t(
'app',
'Account Users') => array(
'index'),
8 Yii::t(
'app',
'Manage'),
12 array(
'label' => Yii::t(
'app',
'List AccountUsers'),
'url' => array(
'index')),
16 Yii::app()->clientScript->registerScript(
'search',
"
17 $('.search-button').click(function(){
18 $('.search-form').toggle();
21 $('.search-form form').submit(function(){
22 $('#account-users-grid').yiiGridView('update', {
23 data: $(this).serialize()
30 <h1><?php echo Yii::t(
'app',
'Manage Account Users') ?></h1>
33 <?php echo Yii::t(
'app',
'You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b>
34 or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.') ?>
37 <?php echo CHtml::link(Yii::t(
'app',
'Advanced Search'),
'#', array(
'class' =>
'search-button')); ?>
38 <div
class=
"search-form" style=
"display:none">
39 <?php $this->renderPartial(
'_search', array(
42 </div><!-- search-form -->
44 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
45 'id' =>
'account-users-grid',
46 'dataProvider' => $model->search(),
51 'value' =>
'$data->User->username',
54 'name' =>
'AccountTypeId',
55 'value' =>
'$data->AccountTypes->Type',
58 'class' =>
'CButtonColumn',
59 'template' =>
'{view}{update}',
62 'visible' =>
'GRI::buttonByUsername($data->User->username)',