diff options
Diffstat (limited to 'protected/views/common')
| -rw-r--r-- | protected/views/common/_advanced_search.php | 20 | ||||
| -rw-r--r-- | protected/views/common/_comparison_text.php | 4 | ||||
| -rw-r--r-- | protected/views/common/_required_fields_text.php | 1 |
3 files changed, 25 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 diff --git a/protected/views/common/_comparison_text.php b/protected/views/common/_comparison_text.php new file mode 100644 index 0000000..f2a0b2c --- /dev/null +++ b/protected/views/common/_comparison_text.php @@ -0,0 +1,4 @@ +<p> +Die optionale Eingabe von Vergleichsoperatoren (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b> +or <b>=</b>) zu Beginn eines Suchwertes dient der Spezifikation, wie der Vergleich erfolgen soll. +</p>
\ No newline at end of file diff --git a/protected/views/common/_required_fields_text.php b/protected/views/common/_required_fields_text.php new file mode 100644 index 0000000..8b2ca71 --- /dev/null +++ b/protected/views/common/_required_fields_text.php @@ -0,0 +1 @@ +<p class="note">Mit <span class="required">*</span> gekennzeichnete Felder sind Pflichtfelder.</p>
\ No newline at end of file |
