Skip to content
Snippets Groups Projects
dbis-content.phtml 969 B
Newer Older
<!-- fid-adlr: dbis -->
<br/>
<h3><?= $this->translate('dbis_name') ?></h3>
<div class="dbis_description">
  <button class="title collapsed" data-toggle="collapse" href="#dbis_description"><?= $this->translate('dbis_hint') ?></button>
  <div id="dbis_description" class="collapse">
    <p><?= $this->translate('dbis_text') ?></p>
  </div>
</div>
<br/>
<div class="dbis_content" id="dbis_content"><i class="fa fa-spinner fa-spin"></i> <?= $this->transEsc("Loading") ?> ...
</div>
<?php
    $.ajax({
        dataType: 'json',
        method: 'GET',
        url: VuFind.path + '/AJAX/JSON?method=getDbis&bibId=$dbisId&map_bibid_to_dbis=$this->map_bibid_to_dbis'
    })
    .done(function(response) {
        $('#dbis_content').html(response.data.html);
    });
});";

echo $this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $dbisRequest, 'SET');
?>
<!-- fid-adlr: dbis - END -->