projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In images Alt=... are defined.
[egate.git]
/
www
/
targets.egw
diff --git
a/www/targets.egw
b/www/targets.egw
index
7827fb4
..
f954c23
100644
(file)
--- a/
www/targets.egw
+++ b/
www/targets.egw
@@
-1,6
+1,6
@@
<html>
{
<html>
{
-# $Id: targets.egw,v 1.8 1995/12/20 16:31:32 adam Exp $
+# $Id: targets.egw,v 1.10 1996/01/02 10:52:30 adam Exp $
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
@@
-10,12
+10,21
@@
<title> Europagate, WWW/Z39.50 Gateway </title>
</head>
<body>
<title> Europagate, WWW/Z39.50 Gateway </title>
</head>
<body>
-<h3>
-<img src="/gif/button-egw.gif" Alt="Welcome to EUROPAGATE" align=middle>
- Choose a Z39.50 target: </h3>
+<center>
+<img src="/gif/button-egw.gif" Alt="EUROPAGATE">
+</center>
+
+<h2>Choose Z39.50 target</h2><br>
<dl>
{
<dl>
{
- foreach t [array names targets] {
+ proc targetsCmp {l r} {
+ global targets
+ return [string compare [string tolower [lindex $targets($l) 0]] \
+ [string tolower [lindex $targets($r) 0]]]
+ }
+ set tt [array names targets]
+ set tn [lsort -command targetsCmp $tt]
+ foreach t $tn {
html {<dt><a href="http:} $env(SCRIPT_NAME) /
html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
set desc [lindex $targets($t) 4]
html {<dt><a href="http:} $env(SCRIPT_NAME) /
html "$sessionId/query.egw/$t" {"> } [lindex $targets($t) 0] " </a>\n"
set desc [lindex $targets($t) 4]