Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/gadget/tmpl/default.php
<?php defined('KOOWA') or die ?>

<?= @js('gadget.js') ?>

<?php foreach(@$gadget->javascripts() as $js) : ?>
	<?= @js("media/{@$gadget->getComponent()}/js/{$js}") ?>
<?php endforeach; ?>

<?php foreach(@$gadget->stylesheets() as $css) : ?>
	<?= @css("media/{@$gadget->getComponent()}/css/{$css}") ?>
<?php endforeach; ?>

<div id="an-se-gadget-<?=@$gadget->getId()?>" class="an-se-gadget an-se-rounded" src="<?=@$gadget->getContentUrl()?>"> 
	<div class="an-se-gadget-header an-se-rounded-top">
		<h3 class="an-se-gadget-title">
			<?php if(@$gadget->getIconUrl()): ?>
			<span class="an-se-gadget-icon" style="background-image:url(<?= KFactory::get('lib.joomla.uri')->base().@$gadget->getIconUrl()?>)"></span>
			<?php endif; ?>
			
			<?php if(@$gadget->getTitleUrl()) : ?>
			<a href="<?= @$gadget->getTitleUrl() ?>">
				<?=@$gadget->getTitle()?>
			</a>
			<?php else : ?>
				<?=@$gadget->getTitle()?>			
			<?php endif; ?>
		</h3>	
	</div>
	<div class="an-se-gadget-content"></div>
</div>


Return current item: Anahita Social Engine