7 array(
'label' =>
UserModule::t(
'Create Profile Field'),
'url' => array(
'create')),
8 array(
'label' =>
UserModule::t(
'Manage Profile Field'),
'url' => array(
'admin')),
11 Yii::app()->clientScript->registerScript(
'search',
"
12 $('.search-button').click(function(){
13 $('.search-form').toggle();
16 $('.search-form form').submit(function(){
17 $.fn.yiiGridView.update('profile-field-grid', {
18 data: $(this).serialize()
25 <h1><?php echo
UserModule::t(
'Manage Profile Fields'); ?></h1>
27 <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>
29 <?php echo CHtml::link(
UserModule::t(
'Advanced Search'),
'#', array(
'class' =>
'search-button')); ?>
30 <div
class=
"search-form" style=
"display:none">
31 <?php $this->renderPartial(
'_search', array(
34 </div><!-- search-form -->
36 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
37 'dataProvider' => $model->search(),
44 'value' =>
'UHtml::markSearch($data,"varname")',
48 'value' =>
'UserModule::t($data->title)',
51 'name' =>
'field_type',
52 'value' =>
'$data->field_type',
59 'value' =>
'ProfileField::itemAlias("required",$data->required)',
70 'value' =>
'ProfileField::itemAlias("visible",$data->visible)',
75 'class' =>
'CButtonColumn',