public function executePopular() { $this->tags = QuestionTagPeer::getPopularTags(40); $this->getResponse()->setTitle('askeet! » popular tags'); }
use_helper('Global'); ?> <div id="add_question"> <?php echo link_to_login(__('ask a new question'), '@add_question'); ?> </div> <h2><?php echo __('popular tags'); ?> </h2> <?php echo include_partial('tag/tag_cloud', array('tags' => QuestionTagPeer::getPopularTags(20))); ?> <div class="right" style="padding-top: 5px"><?php echo link_to(__('more popular tags') . ' »', '@popular_tags'); ?> </div> <h2><?php echo __('find it'); ?> </h2> <?php echo include_partial('question/search'); ?> <h2><?php