Commit a2d9c249 authored by Tino Goratsch's avatar Tino Goratsch

strip the whitespaces from the telephone number links

parent f5602979
......@@ -12,11 +12,11 @@
{/if}
{if !empty($imprint.telephone)}
<dt>{lang t="contact|telephone"}</dt>
<dd><a href="tel:{$imprint.telephone}">{$imprint.telephone}</a></dd>
<dd><a href="tel:{$imprint.telephone|replace:' ':''}">{$imprint.telephone}</a></dd>
{/if}
{if !empty($imprint.mobile_phone)}
<dt>{lang t="contact|mobile_phone"}</dt>
<dd><a href="tel:{$imprint.mobile_phone}">{$imprint.mobile_phone}</a></dd>
<dd><a href="tel:{$imprint.mobile_phone|replace:' ':''}">{$imprint.mobile_phone}</a></dd>
{/if}
{if !empty($imprint.fax)}
<dt>{lang t="contact|fax"}</dt>
......
......@@ -12,13 +12,13 @@
{if !empty($sidebar_contact.telephone)}
<li>
<strong>{lang t="contact|telephone"}</strong>
<a href="tel:{$sidebar_contact.telephone}">{$sidebar_contact.telephone}</a>
<a href="tel:{$sidebar_contact.telephone|replace:' ':''}">{$sidebar_contact.telephone}</a>
</li>
{/if}
{if !empty($sidebar_contact.mobile_phone)}
<li>
<strong>{lang t="contact|mobile_phone"}</strong>
<a href="tel:{$sidebar_contact.mobile_phone}">{$sidebar_contact.mobile_phone}</a>
<a href="tel:{$sidebar_contact.mobile_phone|replace:' ':''}">{$sidebar_contact.mobile_phone}</a>
</li>
{/if}
{if !empty($sidebar_contact.fax)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment