mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix network box showing without social networks specified
This commit is contained in:
parent
6f42a60e59
commit
87f35da3b6
@ -1,22 +1,20 @@
|
||||
{% if config['network_facebook'] != '' or config['network_twitter'] != '' %}
|
||||
<div id="NetworksBox" class="Themebox" style="background-image:url({{ template_path }}/images/themeboxes/networks/networksbox.png);">
|
||||
{% if config['network_facebook'] is not empty %}
|
||||
<div id="FacebookBlock">
|
||||
<div id="FacebookLikeBox">
|
||||
<div class="fb-like-box fb_iframe_widget" data-href="https://www.facebook.com/{{ config['network_facebook'] }}" data-width="175" data-height="180" data-show-faces="true" data-stream="false" data-border-color="none" data-header="false" fb-xfbml-state="rendered">
|
||||
<span style="vertical-align: bottom; width: 181px; height: 180px;">
|
||||
</span>
|
||||
<span style="vertical-align: bottom; width: 181px; height: 180px;"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="FacebookSendBox">
|
||||
<div class="fb-send fb_iframe_widget" data-href="https://www.facebook.com/{{ config['network_facebook'] }}" data-width="50" data-height="20" fb-xfbml-state="rendered">
|
||||
<span style="vertical-align: bottom; width: 50px; height: 20px;">
|
||||
</span>
|
||||
<span style="vertical-align: bottom; width: 50px; height: 20px;"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="FacebookLikes">
|
||||
<div class="fb-like fb_edge_widget_with_comment fb_iframe_widget" data-href="https://www.facebook.com/{{ config['network_facebook'] }}" data-send="false" data-width="225" data-show-faces="false" fb-xfbml-state="rendered">
|
||||
<span style="height: 28px; width: 225px;">
|
||||
</span>
|
||||
<span style="height: 28px; width: 225px;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -29,3 +27,4 @@
|
||||
{% endif %}
|
||||
<div class="Bottom" style="background-image:url({{ template_path }}/images/general/box-bottom.gif);"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user