Example #1
0
?>
</a>
<div class="modal hide fade" id="how-to-use-filters">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <h3>How to use filters</h3>
  </div>
  <div class="modal-body">
    <p>To see all search results for your keywords, leave all these filters disabled or disable a filter if it is already enabled. If you want to hide some results based on some criteria, choose the filter for your criteria, and select the options that match what you want to see. Search results that are not defined for a filter will show only if the filter is disabled (default).</p>
  </div>
  <div class="modal-footer">
    <a href="#" class="btn" data-dismiss="modal">Close</a>
  </div>
</div>-->
<!-- <?php 
echo MyHtml::beginForm('/search/index', 'GET', array('id' => 'filter_form'));
echo MyHtml::hiddenField("keyword", $model->keyword);
echo MyHtml::hiddenField("tab", $model->tab, array('id' => 'filter_tab'));
echo MyHtml::hiddenField("exclude", $model->exclude);
echo MyHtml::submitButton(Yii::t('app', 'Apply Filters'), array('class' => 'span2 btn-green filter'));
?>
 -->

<!-- FILTERS FOR DATASETS -->
    <div id="dataset_filter">
        <div class="filter">
            <h4 class='heading'><?php 
echo Yii::t('app', 'Type');
?>
</h4>
            <div class='filter-content' style="<?php 
Example #2
0
<div class="row">
    <div class="span12">

    <? if (Yii::app()->user->hasFlash('keyword')) { ?>
        <div>
        <?php 
echo Yii::app()->user->getFlash('keyword');
?>
        </div>
    <? } ?>

    <?php 
echo MyHtml::beginForm('/search/new', 'GET', array('class' => 'form-search well', 'onsubmit' => 'return validateForm(this);'));
?>
    <?php 
echo MyHtml::errorSummary($model);
?>

    <?php 
if (isset($previous_doi)) {
    ?>
        <a class="carousel-doi gigadb-arrow-button left" href="/dataset/<?php 
    echo $previous_doi;
    ?>
">&lsaquo;</a>
    <?php 
}
?>
    
    <?php