Exemplo n.º 1
0
if ($this->name == 'curator') {
    echo $this->pub->_curationModel->drawCurationNotice($curatorStatus, $props, 'curator', $elName);
}
?>
		<?php 
if (count($this->attachments) > 0) {
    ?>
		<div class="list-wrapper">
			<ul class="itemlist">
		<?php 
    $i = 1;
    ?>
				<?php 
    foreach ($this->attachments as $att) {
        // Collect data
        $data = $modelAttach->buildDataObject($this->type, $att, $this, $i);
        if ($data) {
            $i++;
            // Draw attachment
            echo $modelAttach->drawAttachment($att->type, $data, $this->manifest->params->typeParams, $handler);
        }
    }
    ?>
			</ul>
		</div>
		<?php 
} else {
    ?>
			<p class="noresults"><?php 
    echo $this->name == 'curator' ? Lang::txt('No user input') : Lang::txt('No items attached');
    ?>