Forked from greenlanegreb/functions_content.php Excerpt
Created
March 22, 2018 19:39
-
-
Save tml/0cfe55b7f89491fd4f4d029278e9d175 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($type == MAGIC_URL_EMAIL) | |
{ | |
$html = "$whitespace<!-- $tag --><a$class href='$url'>$text</a><!-- $tag -->$append"; | |
} | |
else | |
{ | |
$html = "$whitespace<!-- $tag --><a$class href='$url' onclick='window.open(this.href);return false;'>$text</a><!-- $tag -->$append"; | |
} | |
return $html; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment