6 Yii::t(
'app',
'Accounts') => array(
'//account/account'),
7 Yii::t(
'app',
'Account Types Limits') => array(
'index'),
8 Yii::t(
'app',
'Manage'),
12 array(
'label' => Yii::t(
'app',
'List AccountTypesLimits'),
'url' => array(
'index')),
13 array(
'label' => Yii::t(
'app',
'Create AccountTypesLimits'),
'url' => array(
'create')),
16 Yii::app()->clientScript->registerScript(
'search',
"
17 $('.search-button').click(function(){
18 $('.search-form').toggle();
21 $('.search-form form').submit(function(){
22 $('#account-types-limits-grid').yiiGridView('update', {
23 data: $(this).serialize()
30 <h1><?php echo Yii::t(
'app',
'Manage Account Types Limits') ?></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-types-limits-grid',
46 'dataProvider' => $model->search(),
51 'name' =>
'AccountTypeId',
52 'value' =>
'$data->AccountTypes->Type',
57 'class' =>
'CButtonColumn',
58 'template' =>
'{view}{update}{delete}',
61 'visible' =>
'GRI::buttonByType($data->AccountTypes->Type)',