1
|
<?php
|
2
|
|
3
|
defined('_JEXEC') or die('Access denied');
|
4
|
|
5
|
jimport('joomla.environment.uri');
|
6
|
jimport('joomla.html.html');
|
7
|
jimport('joomla.methods');
|
8
|
|
9
|
JHtml :: _('behavior.mootools');
|
10
|
$document = JFactory :: getDocument();
|
11
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/tooltip.js'));
|
12
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/search.js'));
|
13
|
$document -> addStyleSheet(JRoute :: _(JURI :: base() . 'components/com_openaire/css/tooltip/tooltip1.css'));
|
14
|
$document -> addStyleSheet(JRoute :: _(JURI :: base() . 'templates/' . JFactory :: getApplication() -> getTemplate() . '/styles/openaire/css/tooltip.css'));
|
15
|
JView :: loadHelper('FilterHelper');
|
16
|
JView :: loadHelper('StatisticHelper');
|
17
|
JView :: loadHelper('BrowseHelper');
|
18
|
|
19
|
?>
|
20
|
|
21
|
<div id="system">
|
22
|
<?php if (($this -> keyword != NULL) && ($this -> result != NULL) && ($this -> result -> totalDatasets > 0)) { ?>
|
23
|
<div id="left-column">
|
24
|
<div class="refineBox">
|
25
|
<?php $baseUrl = 'index.php?option=com_openaire&view=searchdatasets&Itemid=' . $this -> itemId . '&keyword=' . $this -> keyword . '&noscroll=true';
|
26
|
echo(FilterHelper :: formatFilters($this -> filters, $this -> result -> statistics, $baseUrl, ''));
|
27
|
echo(StatisticHelper :: formatStatistics($this -> result -> statistics, $this -> filters, $baseUrl, '')); ?>
|
28
|
</div>
|
29
|
</div>
|
30
|
<?php } ?>
|
31
|
<div id="right-column">
|
32
|
<?php echo($this -> loadTemplate('form'));
|
33
|
echo(($this -> keyword == NULL) ? BrowseHelper :: formatBrowse($this -> statistics, 'index.php?option=com_openaire&view=browsedatasets&Itemid=' . $this -> itemId) : $this -> loadTemplate('datasets')); ?>
|
34
|
</div>
|
35
|
</div>
|
36
|
|