aggiunti commenti facebook all'interfaccia mobile
This commit is contained in:
@@ -180,22 +180,14 @@ class GUIHandlerMobile {
|
||||
|
||||
ASDSessionHandler::setSessionValue("bannerActive",array());
|
||||
?>
|
||||
<script>
|
||||
window.fbAsyncInit = function() {
|
||||
FB.init({
|
||||
appId : '1707001356211512',
|
||||
xfbml : true,
|
||||
version : 'v2.6'
|
||||
});
|
||||
};
|
||||
|
||||
(function(d, s, id){
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) {return;}
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/en_US/sdk.js";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) return;
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v2.6&appId=1707001356211512";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));
|
||||
</script>
|
||||
<div class="headContainer">
|
||||
<div class="upperBar">
|
||||
|
||||
@@ -168,6 +168,7 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
|
||||
<a class="socialLink" target="_blank" href="https://plus.google.com/share?url=http://www.ifattidinapoli.it/articolo.php?id=<?php echo $articolo->id;?>"><div style="background-image:url(images/google_round.png);"></div></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fb-comments" data-href="<?php echo $directLink;?>" data-width="100%" data-numposts="5"></div>
|
||||
<div class="commentiContainer">
|
||||
<div class="commentiLabelContainer">
|
||||
<div class="commentiLabel">Commenti (<?php echo count($commenti);?>)</div>
|
||||
|
||||
Reference in New Issue
Block a user