From: short <>
Date: Thu, 25 Apr 2002 17:01:40 +0000 (+0000)
Subject: a_href() fixed to return the value (not to print it)
X-Git-Url: http://git.jankratochvil.net/?p=www.energie.vellum.cz.git;a=commitdiff_plain;h=021593947b8e0052a1e15a1006a111c8749ba131
a_href() fixed to return the value (not to print it)
a_href() enhanced to generate optimal URLs for all types of clients
---
diff --git a/common.php b/common.php
index de6252b..048176a 100644
--- a/common.php
+++ b/common.php
@@ -631,10 +631,20 @@ function a_href($url,$contents)
{
global $have_ent;
- print("$contents");
+ $r="$contents";
+ return($r);
}
function footer($delimit=true)