7 array(
'label' =>
UserModule::t(
'Create User'),
'url' => array(
'create')),
8 array(
'label' =>
UserModule::t(
'Manage Profile Field'),
'url' => array(
'profileField/admin')),
9 array(
'label' =>
UserModule::t(
'Rights'),
'url' => array(
'//rights')),
10 array(
'label' =>
UserModule::t(
'Accounts'),
'url' => array(
'//account/account')),
11 array(
'label' =>
UserModule::t(
'Jobs'),
'url' => array(
'//job/Jobs')),
14 Yii::app()->clientScript->registerScript(
'search',
"
15 $('.search-button').click(function(){
16 $('.search-form').toggle();
19 $('.search-form form').submit(function(){
20 $.fn.yiiGridView.update('user-grid', {
21 data: $(this).serialize()
30 <p><?php echo
UserModule::t(
"You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b> or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done."); ?></p>
32 <?php echo CHtml::link(
UserModule::t(
'Advanced Search'),
'#', array(
'class' =>
'search-button')); ?>
33 <div
class=
"search-form" style=
"display:none">
34 <?php $this->renderPartial(
'_search', array(
37 </div><!-- search-form -->
39 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
41 'dataProvider' => $model->search(),
47 'value' =>
'CHtml::link(CHtml::encode($data->id),array("admin/update","id"=>$data->id))',
52 'value' =>
'CHtml::link(UHtml::markSearch($data,"username"),array("admin/view","id"=>$data->id))',
57 'value' =>
'CHtml::link(UHtml::markSearch($data,"email"), "mailto:".$data->email)',
62 'name' =>
'superuser',
63 'value' =>
'User::itemAlias("AdminStatus",$data->superuser)',
68 'value' =>
'User::itemAlias("UserStatus",$data->status)',
72 'class' =>
'CButtonColumn',
73 'template' =>
'{view}{update}{delete}',
76 'visible' =>
'GRI::buttonByUsername($data->username)',
79 'visible' =>
'GRI::buttonByUsername($data->username)',