WBCE CMS – Way Better Content Editing.
You are not logged in.
Pages: 1
Problem: Wenn mit Font-Awesome Mail-Links gekennzeichnet werden, verdoppelt sich das FA-Symbol.
Lösung:
/modules/mod_opf_email/filter.php
Zeile 146f.
// build the encrypted Javascript mailto link
$mailto_link = "<a {$class_attr}{$title_attr}{$id_attr}{$style_attr}href=\"javascript:mdcr('$encrypted_email','$email_subject')\">" .$match[5] ."</a>";
ändern zu
// build the encrypted Javascript mailto link
if (strpos($class_attr,'fa-') == false) {
$mailto_link = "<a {$class_attr}{$title_attr}{$id_attr}{$style_attr}href=\"javascript:mdcr('$encrypted_email','$email_subject')\">" .$match[5] ."</a>";
} else {
$mailto_link = "<a {$title_attr}{$id_attr}{$style_attr}href=\"javascript:mdcr('$encrypted_email','$email_subject')\">" .$match[5] ."</a>";
}
Last edited by florian (27.08.2021 07:55:05)
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
hab ich committed
Offline
florian
Pages: 1