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
|
JView :: loadHelper('BrowseHelper');
|
10
|
|
11
|
?>
|
12
|
|
13
|
<div class="quickViewSelections">
|
14
|
<h4 class="datasource_icon"><?php echo(JText :: _('DATASOURCES')); ?></h4>
|
15
|
<div class="flowWrapper">
|
16
|
<?php if ($this -> result == NULL) { ?>
|
17
|
<div class="error"><?php echo(JText :: _('ERROR_RETRIEVING_DATASOURCE_STATISTICS')); ?></div>
|
18
|
<?php } else {
|
19
|
foreach ($this -> result as $datasourceStatistic) {
|
20
|
echo(BrowseHelper :: formatStatistic($datasourceStatistic, 'index.php?option=com_openaire&view=browsedatasources&Itemid=' . $this -> itemId));
|
21
|
}
|
22
|
} ?>
|
23
|
</div>
|
24
|
</div>
|
25
|
|