Project

General

Profile

« Previous | Next » 

Revision 45946

Commiting changes for new refine fields #2337

View differences:

default_browse.php
66 66
		<h4 class="people_icon"><?php echo(JText :: _('PEOPLE')); ?></h4>
67 67
		<div class="flowWrapper">
68 68
			<?php if ($this -> people == NULL) { ?>
69
				<div class="error"><?php echo(JText :: _('ERROR_RETRIEVING_PEOPLE_STATISTICS')); ?></div>
70
			<?php } else {
71
				foreach ($this -> people as $peopleStatistic)
72
					echo(BrowseHelper :: formatStatistic($peopleStatistic, 'index.php?option=com_openaire&view=browsepeople&Itemid=' . $this -> itemId,"People"));
73
			} ?>
69
				<div class="info"><?php echo(JText :: _('NO_PEOPLE_STATISTICS')); ?></div>
70
			<?php }
71
			// else {
72
			// 	foreach ($this -> people as $peopleStatistic)
73
			// 		echo(BrowseHelper :: formatStatistic($peopleStatistic, 'index.php?option=com_openaire&view=browsepeople&Itemid=' . $this -> itemId,"People"));
74
			// }
75
			 ?>
74 76
		</div>
75 77
	</div>
76 78
	<div class="quickViewSelections">

Also available in: Unified diff