Created
March 22, 2018 19:37
-
-
Save greenlanegreb/26bacb1d8580c0c25aa192becea549f9 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
$html = 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