Forked from greenlanegreb/functions_content.php Excerpt
Last active
March 22, 2018 19:35
-
-
Save tml/3c7904b3b23421a44888d04c7469cbc1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment