bibb-theme/templates/search/home.phtml

117 lines
4.4 KiB
PHTML
Executable File

<?php
// Set page title.
$this->headTitle($this->translate('Search Home'));
// Disable top search box -- this page has a special layout.
$this->layout()->searchbox = false;
// Set default value if necessary:
if (!isset($this->searchClassId)) {
$this->searchClassId = 'Solr';
}
// Load search actions and settings (if any):
$options = $this->searchOptions($this->searchClassId);
$basicSearch = $options->getSearchAction();
$advSearch = $options->getAdvancedSearchAction();
$this->layout()->breadcrumbs = false;
?>
<!-- <div class="container" style="background:transparent;background-color:white;min-height:40px"> </div> -->
<div class="hero-container">
<div class="blue-layer clear">
<div class="container">
<div class="col-sm-5 col-md-5 col-lg-5" >
<h3 style=""><?=$this->transEsc("MainHeadLine")?></h3>
</div>
<div class="col-sm-1 col-md-1 col-lg-1" >
</div>
<div class="col-sm-6 col-md-6 col-lg-6" >
<p ><?=$this->transEsc("MainHeaderText")?></p><br>
</div>
</div>
</div>
</div>
<div class="searchHomeContent">
<?php
$ilsStatusScript = <<<JS
$(document).ready(function() {
$.ajax({
dataType: 'json',
method: 'GET',
data: {'offlineModeMsg':'ils_offline_home_message'},
url: VuFind.path + '/AJAX/JSON?method=getIlsStatus',
success: function(response) {
$('.searchHomeContent').prepend(response.data);
}
});
});
JS;
?>
<?=$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
<?=$this->context($this)->renderInContext("search/searchbox.phtml", ['ignoreHiddenFilterMemory' => true])?>
<?=$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
</div>
<div class="mainbody left">
<h4><?=$this->transEsc("HeadLineDescription")?></h4>
<p><?=$this->transEsc("DescriptionFirstParagraph")?></p><br>
<ul>
<li style="list-style-type:disc; margin-left:20px;">
<span style="font-weight:bold"><?=$this->transEsc("DescriptionResearchHeadline")?></span>
<?=$this->transEsc("DescriptionResearch")?>
</li> <br>
<li style="list-style-type:disc; margin-left:20px;">
<span style="font-weight:bold"><?=$this->transEsc("DescriptionSearchOptionsHeadline")?></span>
<?=$this->transEsc("DescriptionSearchOptions")?>
</li><br>
<li style="list-style-type:disc; margin-left:20px;">
<span style="font-weight:bold"><?=$this->transEsc("DescriptionPublishHeadline")?></span>
<?=$this->transEsc("DescriptionPublish")?>
<?php $ButtonLang = $this->transEsc("PublishButton"); ?>
<?php if($ButtonLang == "Publizieren") : ?>
<a href='https://www.bibb.de/repository' target='_blank' rel='noopener noreferrer'><span style="font-weight:bold;">„Publizieren im VET Repository“</span></a>.
<?php else : ?>
<a href='https://www.bibb.de/en/206230.php' target='_blank' rel='noopener noreferrer'><span style="font-weight:bold;">„Publishing in the VET Repository“</span></a>.
<?php endif; ?>
<?=$this->transEsc("DescriptionPublish2")?>
</li><br>
<li style="list-style-type:disc; margin-left:20px;">
<span style="font-weight:bold"><?=$this->transEsc("DescriptionLibraryUsageHeadline")?></span>
<?=$this->transEsc("DescriptionLibraryUsage")?>
</li>
</ul>
</div>
<div class="sidebar right">
<div>&nbsp;</div>
<div>&nbsp;</div>
<div class="row">
<a type="button" style="display:block;padding-top:5px;padding-bottom:5px;margin-bottom:5px;margin-right:7px;font-size:22px;font-weight:500;background-color:#44910d;color:white" class="btn list-group" href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl("https://lit.bibb.de/publizieren/index.html")))?>" target="_blank"><?=$this->transEsc("PublishButton")?></a>
</div>
<ul class="list-group contact-home">
<!-- <li class="list-group-item"> -->
<h4> <?=$this->transEsc("Contact") ?></h4>
<!-- <ul class="contact-list"> -->
<span class="at"><a target="_blank" href="https://www.bibb.de/dienst/kontakt/de/kontaktformular.php?maid=628"><?=$this->transEsc("Libraryteam")?></a></span>
<!-- </ul> -->
<!-- <ul class="contact-list"> -->
<span class="at"><a target="_blank" href="https://www.bibb.de/dienst/kontakt/de/kontaktformular.php?maid=4841"><?=$this->transEsc("Repositoryteam")?></a></span>
<!-- </ul> -->
<!-- </li> -->
</ul>
</div>