6 'Sites'=>array(
'index'),
11 array(
'label'=>
'List Site',
'url'=>array(
'index')),
12 array(
'label'=>
'Create Site',
'url'=>array(
'create')),
15 Yii::app()->clientScript->registerScript(
'search',
"
16 $('.search-button').click(function(){
17 $('.search-form').toggle();
20 $('.search-form form').submit(function(){
21 $('#site-grid').yiiGridView('update', {
22 data: $(this).serialize()
32 You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b>
33 or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
36 <?php echo CHtml::link(
'Advanced Search',
'#',array(
'class'=>
'search-button')); ?>
37 <div
class=
"search-form" style=
"display:none">
38 <?php $this->renderPartial(
'_search',array(
41 </div><!-- search-form -->
43 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
45 'dataProvider'=>$model->search(),
53 'class'=>
'CButtonColumn',