Esempio n. 1
0
	<div class="block section">
		<h3 class="blue"><span>Screenshots</span></h3>

		<ul class="screenshots-list">
			<?php 
    foreach ($screenshots as $screenshot) {
        ?>
			<li><a href="<?php 
        echo url_for_screenshot($screenshot);
        ?>
" title="<?php 
        echo $screenshot->getTitle();
        ?>
" class="remooz"><?php 
        echo thumbnail_for($screenshot);
        ?>
</a></li>
			<?php 
    }
    ?>
		</ul>
	</div>
	<?php 
}
?>

	<hr class="clear" />

	<div class="block section">
		<h3 class="blue"><span>Discuss</span></h3>
Esempio n. 2
0
use_helper('Text');
?>
<li <?php 
if (isset($i) && ($i + 1) % 3 === 0) {
    echo 'style="margin-right: 0"';
}
?>
>
	<a href="<?php 
echo url_for('plugin', array('slug' => $plugin->getSlug()));
?>
">
		<span class="name"><?php 
echo highlight_text($plugin->getTitle(), isset($search) ? $search : '');
?>
 <?php 
if ($plugin->isOfficial()) {
    echo image_tag('/images/official.gif', 'alt=Official plugin title=Official plugin');
}
?>
</span>
		<span class="downloads" title="Downloads"><?php 
echo (int) $plugin->getDownloadsCount();
?>
</span>		
		<span class="project_thumb"><?php 
echo thumbnail_for($plugin);
?>
</span>
	</a>
</li>