prettyphoto_formatters_social_tools.tpl.php in prettyPhoto Formatters 7
Template file to customize social markup in prettyphoto.
1 theme call to prettyphoto_formatters_social_tools.tpl.php
- _prettyphoto_formatters_get_tpl in ./
prettyphoto_formatters.module - Create HTML output to override default markups.
File
templates/prettyphoto_formatters_social_tools.tpl.phpView source
<?php
/**
* @file
* Template file to customize social markup in prettyphoto.
*/
if (isset($twitter) && (bool) $twitter) {
?>
<div class="twitter">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none"><?php
print $tweet;
?></a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<?php
}
?>
<?php
if (isset($fb_like) && (bool) $fb_like) {
?>
<div class="facebook" style="width: auto;">
<iframe src="//www.facebook.com/plugins/like.php?href={location_href}&width&layout=button&action=like&show_faces=false&share=<?php
print isset($fb_share) && (bool) $fb_share ? "true" : "false";
?>&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:23px;" allowTransparency="true"></iframe>
</div>
<?php
}