예제 #1
0
echo $this->providerName;
?>
" />
                <?php 
echo JHTML::_('form.token');
?>
                </fieldset>
            </form>
        </div>
    </div>

    <div style="clear:both;"></div>

    <?php 
if ($this->configModel->getSetting('show_powered_by_link')) {
    $link = SCSocialUtilities::getAffiliateLink($this->configModel->getSetting('affiliate_id'), EXT_JFBCONNECT);
    ?>
        <div id="powered-by"><?php 
    echo JText::_('COM_JFBCONNECT_POWERED_BY');
    ?>
 <a target="_blank"
                                                                                     href="<?php 
    echo $link;
    ?>
"
                                                                                     title="Joomla Facebook Integration">JFBConnect</a>
        </div>
    <?php 
}
?>
예제 #2
0
<?php

/**
 * @package         JFBConnect
 * @copyright (c)   2009-2015 by SourceCoast - All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @version         Release v6.4.2
 * @build-date      2015/08/24
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
jimport('sourcecoast.utilities');
//Powered By
$showPoweredBy = $params->get('showPoweredByLink');
$showJfbcPoweredBy = $showPoweredBy == '2' && JFBCFactory::config()->get('show_powered_by_link') || $showPoweredBy == '1';
if ($showJfbcPoweredBy) {
    //Affiliate ID
    $link = SCSocialUtilities::getAffiliateLink(JFBCFactory::config()->get('affiliate_id'), EXT_JFBCONNECT);
    SCStringUtilities::loadLanguage('com_jfbconnect');
    echo '<div class="powered-by">' . JText::_('COM_JFBCONNECT_POWERED_BY') . ' <a target="_blank" href="' . $link . '" title="Facebook for Joomla">JFBConnect</a></div>';
}