<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<ul class="popular_tags">
  <?php
  $url = $this->url(array(),'core_hashtags','true')."?search=";
  for ($i = 0; $i < engine_count($this->hashtags); $i++): ?>
    <li>
      <a href='<?php echo $url.urlencode(trim($this->hashtags[$i]['tagName'], '#')); ?>'>
        <?php echo $this->hashtags[$i]['tagName']; ?>
      </a>
      <span class="font_color_light"><?php echo $this->translate(array('%s people talking about this.', '%s peoples talking about this.', $this->hashtags[$i]['tagCount']), $this->locale()->toNumber($this->hashtags[$i]['tagCount']))?></span>
    </li>
  <?php endfor;?>
</ul>
