* @author Gabriele Droege, Patricia Kelbert (BGBM, GGBN/DNA Bank Network) * @version yii 2.0.3 * @package View * @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org *
The contents of this file are subject to the Mozilla Public License Version 1.1 * @filesource * @license http://www.mozilla.org/MPL/ MPL */ use yii\helpers\Html; use yii\widgets\LinkPager; use app\controllers\SearchController; use yii\helpers\Url; use yii\web\View; if(isset($fq)){ $fq=$fq."&"; } else $fq=""; echo $facets["hierarchy"]; //++++++++++++++ //Added: 27.07.15 by Anne Hartebrodt: Save Search button and Subscribe button for logged-in Users if(!\Yii::$app->user->isGuest){ echo '
'; //Note: Pjax timeout was set to 10000 because of localhost's slow response: Might be reduced when migration to actual webserver. Pjax::begin([ 'enablePushState'=>false]); Yii::$app->session['search']=Yii::$app->request->url; Yii::$app->session['records']=$pages->totalCount; ?>

Subscribe to this search and get notified by email if new records are added to the database

'btn btn-success','data-pjax'=>'w0','timeout'=>'100000']) ?>

Save our search parameters without subscription

'btn btn-success','data-pjax'=>'w0','timeout'=>'100000']) ?>
'; } else{ echo '
Log in to save your search parameters!
'; } //+++++++++++++++ ?>

Browse data

Seeds collected in the wild. Family"; echo" "; // echo" "; ?> "; $tid=$lowestDoc[$elt->tripleidstoreid]; $title="Get the details for this specimen"; if($tid[0]!=$elt->unitID){ $title="Get the details for the corresponding DNA or tissue if available"; } $url=Url::to ( array_merge ( [ 'search/record'], ["unitID"=>$tid[0],"collectioncode"=>$tid[1],"institutioncode"=>$tid[2]] ) ); echo ""; echo ""; // echo ""; echo ""; echo ""; } echo""; echo "
ScientificnameUnitID
hierarchy)."\">".$elt->hierarchy."fullScientificName)."\">".$elt->fullScientificName."".$elt->familyName."unitID)."\">".$elt->unitID."
"; echo "
"; echo "
"; echo "
"; echo LinkPager::widget([ 'pagination' => $pages, ]); echo"
"; ?>