Example #1
0
						<div id="authorslist">
							<?php 
        echo \Components\Publications\Helpers\Html::showContributors($this->publication->_authors, true, false, false, false, $this->publication->params->get('format_authors', 0));
        ?>
						</div>
					<?php 
    }
    ?>

					<p class="ataglance"><?php 
    echo $this->publication->description ? \Hubzero\Utility\String::truncate(stripslashes($this->publication->description), 250) : '';
    ?>
</p>

					<?php 
    echo \Components\Publications\Helpers\Html::showSubInfo($this->publication);
    // Show published date and category
    ?>
				</div><!-- / .overviewcontainer -->
				<div class="col span4 omega launcharea">
					<?php 
    // Sort out primary files and draw a launch button
    if ($this->tab != 'play') {
        // Get primary elements
        $elements = $this->publication->_curationModel->getElements(1);
        // Get attachment type model
        $attModel = new \Components\Publications\Models\Attachments($this->database);
        if ($elements) {
            $element = $elements[0];
            // Draw button
            $launcher = $attModel->drawLauncher($element->manifest->params->type, $this->publication, $element, $elements, $this->publication->access('view-all'));