| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/plugins/content/discussbot/tmpl/default/ |
Upload File : |
<?php
/**
* @var JFusionDiscussBotHelper $this
*/
foreach ($this->output['buttons'] AS $name => $html) :
echo '<a id="jfusionBtn' . ucfirst($name) . $this->article->id .'" class="readon jfusionButton" target="'.$html['target'].'" href="'.$html['href'].'"';
if(isset($html['js'])) :
foreach($html['js'] AS $func => $js) :
echo $func.' = "'.$js.'"';
endforeach;
endif;
//close opening a tag
echo '><span>';
echo $html['text'];
//add the number of replies to the discuss button html if set to do so
if($this->params->get('show_reply_num') && $name=='discuss') :
$post = ($this->reply_count==1) ? 'REPLY' : 'REPLIES';
if ($html['text']) {
echo ' ';
}
echo '['.$this->reply_count.' '.JText::_($post).']';
endif;
echo '</span></a>';
endforeach;