<html>
{
-# $Id: targets.egw,v 1.5 1995/11/06 17:44:21 adam Exp $
+# $Id: targets.egw,v 1.6 1995/11/08 12:42:17 adam Exp $
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
<dl>
{
foreach t [array names targets] {
- html {<dt> <a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME) /
- html "$sessionId/query.egw/$t" {"> } $t "</a>\n"
- html "<dd> " [lindex $targets($t) 0] \n
+ html {<dt><a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME) /
+ html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
+ set desc [lindex $targets($t) 4]
+ if {$desc != ""} {
+ html "<dd><em>$desc</em>\n"
+ }
}
}
</dl>