Hide "software_name" in footer if empty

1.10.x
jmontoyaa 9 years ago
parent 643291a845
commit eaad946457
  1. 11
      main/template/default/layout/footer.tpl

@ -40,10 +40,13 @@
</div>
{% endif %}
<div id="software_name">
<a href="{{_p.web}}" target="_blank">{{ "PoweredByX" |get_lang | format(_s.software_name) }}</a>
&copy; {{ "now"|date("Y") }}
</div>
{% if _s.software_name != '' %}
<div id="software_name">
<a href="{{_p.web}}" target="_blank">{{ "PoweredByX" |get_lang | format(_s.software_name) }}</a>
&copy; {{ "now"|date("Y") }}
</div>
{% endif %}
{# Plugins for footer section #}
{% if plugin_footer_right is not null %}
<div id="plugin_footer_right">

Loading…
Cancel
Save