Last active
November 26, 2015 04:34
-
-
Save trepmal/05a73dcf50d1c7181a1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
// "K2 Tools" Module by JoomlaWorks for Joomla! 1.5.x - Version 2.1 | |
// Copyright (c) 2006 - 2009 JoomlaWorks Ltd. All rights reserved. | |
// Released under the GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
// More info at http://www.joomlaworks.gr and http://k2.joomlaworks.gr | |
// Designed and developed by the JoomlaWorks team | |
// *** Last update: September 9th, 2009 *** | |
*/ | |
//*****/ | |
//the key part is: `<?php echo str_replace(' ','+',$tag->link); ?>` | |
//*****/ | |
// no direct access | |
defined('_JEXEC') or die('Restricted access'); | |
?> | |
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2TagCloudBlock <?php echo $params->get('moduleclass_sfx'); ?>"> | |
<?php foreach ($tags as $tag): ?> | |
<?php if(!empty($tag->tag)): ?> | |
<a href="<?php echo str_replace(' ','+',$tag->link); ?>" style="font-size:<?php echo $tag->size; ?>%" title="<?php echo $tag->count.' '.JText::_('items tagged with').' '.$tag->tag; ?>"> | |
<?php echo $tag->tag; ?> | |
</a> | |
<?php endif; ?> | |
<?php endforeach; ?> | |
<div class="clr"></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment