From 0bfb61780402f324fb01c49958df54fe2e2b9f11 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 25 Jan 2005 15:58:36 +0000 Subject: [PATCH] add email output javascript functions --- common.inc.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/common.inc.php b/common.inc.php index df9eae5..375b51d 100644 --- a/common.inc.php +++ b/common.inc.php @@ -194,6 +194,17 @@ function confirmClick(msg) else return false; } + +function el(str,domain,name) +{ + document.write(\"\" + name + \"<\/a>\"); +} + +function em(str,domain) +{ + document.write(\"\" + str + \"@\" + domain + \"<\/a>\"); +} +