Exemplo n.º 1
0
			<image style="height:1.5em" src="http://blocklandglass.com/icon/icons32/inbox_upload.png" />
			<?php 
echo date("F j, g:i a", strtotime($addonObject->getUploadDate()));
?>
		</div>
		<div class="addoninforight">
			<?php 
echo $addonObject->getDownloads(0);
?>
			 <image style="height:1.5em" src="http://blocklandglass.com/icon/icons32/inbox_download.png" /><br />
			<br />
			<?php 
$tagIDs = TagManager::getTagsFromAddonID($addonObject->getId());
$tags = array();
foreach ($tagIDs as $tid) {
    $tags[] = TagManager::getFromId($tid);
}
foreach ($tags as $tag) {
    echo $tag->getHTML();
}
?>
		</div>
	</div>
	<hr />
	<p>
		<?php 
$Parsedown = new Parsedown();
$Parsedown->setBreaksEnabled(true);
$Parsedown->setMarkupEscaped(true);
//External links appearing in the description should open in a new tab and switch to that tab instead of replacing the current one
echo $Parsedown->text($addonObject->getDescription());