

<div class="share-bar">
  <h5><f:translate key="share-on"/>: </h5>

  <a href="#"
     onclick="
      window.open(
        'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),
        'facebook-share-dialog',
        'width=626,height=436');
      return false;">
    <i class="fa fa-facebook"></i> Facebook
  </a>

  <a href="#"
     onclick="
      window.open(
        'https://www.twitter.com/share?url='+encodeURIComponent(location.href),
        'twitter-share-dialog',
        'width=626,height=436');
      return false;">
    <i class="fa fa-twitter"></i> Twitter
  </a>
</div>
