projects
/
GitHub
/
WoltLab
/
com.woltlab.wcf.legalNotice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e0aa4
)
Use `tel:` links for LEGAL_NOTICE_(PHONE|FAX)
author
Tim Düsterhus
<duesterhus@woltlab.com>
Mon, 18 May 2020 15:17:25 +0000
(17:17 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Mon, 18 May 2020 15:21:35 +0000
(17:21 +0200)
Closes #7
templates/legalNotice.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/legalNotice.tpl
b/templates/legalNotice.tpl
index 2e7e4f8d78ef2ac3ccc0bb9b74227d66e70a9c01..492042489f7342bb1be6b5a2fea85dc2488a94ba 100644
(file)
--- a/
templates/legalNotice.tpl
+++ b/
templates/legalNotice.tpl
@@
-18,12
+18,12
@@
{if LEGAL_NOTICE_PHONE}
<dt>{lang}wcf.legalNotice.phone{/lang}</dt>
- <dd>
{LEGAL_NOTICE_PHONE}
</dd>
+ <dd>
<a href="tel:{LEGAL_NOTICE_PHONE|rawurlencode}">{LEGAL_NOTICE_PHONE}</a>
</dd>
{/if}
{if LEGAL_NOTICE_FAX}
<dt>{lang}wcf.legalNotice.fax{/lang}</dt>
- <dd>
{LEGAL_NOTICE_FAX}
</dd>
+ <dd>
<a href="tel:{LEGAL_NOTICE_FAX|rawurlencode}">{LEGAL_NOTICE_FAX}</a>
</dd>
{/if}
{if LEGAL_NOTICE_REPRESENTATIVE}