| Current Path : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/media/zoo/elements/itemtag/tmpl/ |
| Current File : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/media/zoo/elements/itemtag/tmpl/submission.php |
<?php
/**
* @package com_zoo
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div id="tag-area">
<input type="text" value="<?php echo implode(', ', $tags) ?>" placeholder="<?php echo JText::_('Add tag') ?>" />
<p><?php echo JText::_('Choose from the most used tags') ?>:</p>
<?php if (count($most)) : ?>
<div class="tag-cloud">
<?php foreach ($most as $tag) : ?>
<a title="<?php echo $tag->items . ' item' . ($tag->items != 1 ? 's' : '') ?>"><?php echo $tag->name ?></a>
<?php endforeach ?>
</div>
<?php endif ?>
</div>
<script type="text/javascript">
jQuery(function($) {
$('#tag-area').Tag({url: '<?php echo $link ?>', inputName: '<?php echo $this->getControlName('value', true) ?>'});
});
</script>