Index: openacs-4/packages/ams/ams.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/ams.info,v diff -u -r1.9 -r1.10 --- openacs-4/packages/ams/ams.info 9 Sep 2005 17:43:09 -0000 1.9 +++ openacs-4/packages/ams/ams.info 10 Sep 2005 13:48:35 -0000 1.10 @@ -29,6 +29,7 @@ + Index: openacs-4/packages/ams/tcl/telecom-number-widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/telecom-number-widget-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ams/tcl/telecom-number-widget-procs.tcl 7 Jun 2005 07:44:13 -0000 1.5 +++ openacs-4/packages/ams/tcl/telecom-number-widget-procs.tcl 10 Sep 2005 13:48:35 -0000 1.6 @@ -58,9 +58,14 @@ } append telecom_number $area_city_code if { [exists_and_not_null telecom_number] } { append telecom_number "-" } - append telecom_number $subscriber_number + append telecom_number "$subscriber_number" if { [exists_and_not_null extension] } { append telecom_number " x$extension" } - return $telecom_number + set phone_url [parameter::get_from_package_key -parameter "PhoneURL" -package_key "ams" -default ""] + if {[empty_string_p $phone_url]} { + return $telecom_number + } else { + return "$telecom_number" + } } ad_proc -public template::util::telecom_number::acquire { type { value "" } } { @@ -390,7 +395,7 @@ } else { # Display mode if { [info exists element(value)] } { - append output [template::util::telecom_number::get_property html_view $element(value)] + append output "[template::util::telecom_number::get_property html_view $element(value)]" append output "" append output "" append output ""