- set tt [array names targets]
- set tn [lsort -command targetsCmp $tt]
- foreach t $tn {
- if {[string index $t 0] == "."} continue
- html {<dt><a href="http:} $env(SCRIPT_NAME) /
- html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " </a>\n"
+ proc targetC {t} {
+ global targets
+ global env
+ global sessionId
+ global waisFlag
+
+ if {!$waisFlag && ![string compare [lindex $targets($t) 1] WAIS]} {
+ return
+ }
+ html {<dt><b><a href="http:} $env(SCRIPT_NAME) /
+ html "$sessionId/query.egw;/-1+$t" {"> } [lindex $targets($t) 0]
+ html {</a></b>}
+
+ html {<dd>}