diff options
| author | ccwn <tzur@ccwn.org> | 2012-04-21 09:52:18 +0200 |
|---|---|---|
| committer | ccwn <tzur@ccwn.org> | 2012-04-21 09:52:18 +0200 |
| commit | ed8e4f88f2877c7bed09662291711b7165e7455f (patch) | |
| tree | 549426a7302fbf80f92af33dbd2bb63276867735 /protected/views/common/_advanced_search.php | |
| parent | a8874be6fb5803231ecb3af2bb7c924d7ae42587 (diff) | |
common views hinzugefügt
standort views hinzugefügt
Diffstat (limited to 'protected/views/common/_advanced_search.php')
| -rw-r--r-- | protected/views/common/_advanced_search.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/protected/views/common/_advanced_search.php b/protected/views/common/_advanced_search.php new file mode 100644 index 0000000..78d3837 --- /dev/null +++ b/protected/views/common/_advanced_search.php @@ -0,0 +1,20 @@ +<?php +Yii::app()->clientScript->registerScript('search', " +$('.search-button').click(function(){ + $('.search-form').toggle(); + return false; +}); +$('.search-form form').submit(function(){ + $.fn.yiiGridView.update('angebot-grid', { + data: $(this).serialize() + }); + return false; +}); +"); +?> +<?php echo CHtml::link('Erweiterte Suche','#',array('class'=>'search-button')); ?> +<div class="search-form" style="display:none"> +<?php $this->renderPartial('_search',array( + 'model'=>$model, +)); ?> +</div><!-- search-form -->
\ No newline at end of file |
