Пример #1
0
    <div class="<?php echo $params->get('displayLines');?>">
        <div class="<?php echo $params->get('displayIcons');?>">
        <?php if($params->get("displayDelicious")) {
          echo ItpSocialButtonsHelper::getDeliciousButton($title, $link, $stylePath);
        }
        if($params->get("displayDigg")) {
            echo ItpSocialButtonsHelper::getDiggButton($title, $link, $stylePath);
        }
        if($params->get("displayFacebook")) {
            echo ItpSocialButtonsHelper::getFacebookButton($title, $link, $stylePath);
        }
        if($params->get("displayGoogle")) {
            echo ItpSocialButtonsHelper::getGoogleButton($title, $link, $stylePath);
        }
        if($params->get("displaySumbleUpon")) {
            echo ItpSocialButtonsHelper::getStumbleuponButton($title, $link, $stylePath);
        }
        if($params->get("displayTechnorati")) {
            echo ItpSocialButtonsHelper::getTechnoratiButton($title, $link, $stylePath);            
        }
        if($params->get("displayTwitter")) {
            echo ItpSocialButtonsHelper::getTwitterButton($title, $link, $stylePath);
        }
        if($params->get("displayLinkedIn")) {
            echo ItpSocialButtonsHelper::getLinkedInButton($title, $link, $stylePath);
        }
        ?>
        <?php echo ItpSocialButtonsHelper::getExtraButtons($title, $link, $params); ?>
        </div>
   </div>
</div>