<html>
{
-# $Id: mtargets.egw,v 1.4 1995/11/08 18:07:23 adam Exp $
+# $Id: mtargets.egw,v 1.5 1995/11/10 10:20:23 adam Exp $
set setNo 1
source /usr/local/etc/httpd/conf/ztargets.conf
if {[info commands saveState] == ""} {
html {<dd>}
set databases [lindex $targets($t) 1]
foreach d $databases {
- html {<input type="checkbox" name="target} $t {" }
- html { value="} $d {">} " $d "
- html "<br>\n"
+ html {<input type="checkbox" name="target} {" }
+ html { value="} $d {"> } $d " <br>\n"
}
html "\n"
}
<html>
{
-# $Id: search.egw,v 1.12 1995/11/09 15:24:36 adam Exp $
+# $Id: search.egw,v 1.13 1995/11/10 10:20:24 adam Exp $
proc buttons {setNo setMax startPos} {
global sessionId
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + [expr $setMax + 1]
html + [expr $setMax + $hist($setNo,maxPresent)]
- html {"> Next records </a>} "| \n"
+ html {">Next records</a>} " | \n"
}
if {$startPos != "" && $startPos != "1"} {
html {<a href="http:} $env(SCRIPT_NAME)
html + [expr $startPos - $hist($setNo,maxPresent)]
html + [expr $startPos - 1]
}
- html {"> Previous records </a>} "| \n"
+ html {">Previous records</a>} " | \n"
}
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/targets.egw"> New target </a>} " | \n"
+ html / $sessionId {/targets.egw">New target</a>} " | \n"
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo
- html {"> New query </a>} "<p>\n"
+ html {">New query</a>} "\n<p>\n"
}
if {[info commands saveState] == ""} {
global setNo
global hist
- if {[wform menu1] == ""} {
- set setNo [lindex $sessionParms 0]
- } else {
- if {![info exists hist($nextSetNo,host)]} {
- set hist($nextSetNo,idAuthentication) $hist($setNo,idAuthentication)
- set hist($nextSetNo,host) $hist($setNo,host)
- }
+ set setNo [lindex $sessionParms 0]
+ if {[wform menu1] != ""} {
+ set hist($nextSetNo,idAuthentication) $hist($setNo,idAuthentication)
+ set hist($nextSetNo,host) $hist($setNo,host)
set setNo $nextSetNo
html "using host " $hist($setNo,host) " <br\n"
incr nextSetNo
<html>
{
-# $Id: showfull.egw,v 1.7 1995/11/09 15:24:37 adam Exp $
+# $Id: showfull.egw,v 1.8 1995/11/10 10:20:25 adam Exp $
proc buttons {setNo no format} {
global sessionId
if {$no < [z39.$setNo resultCount]} {
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + [expr $no + 1] + $format
- html {"> Next record </a>} "| \n"
+ html {">Next record</a>} " | \n"
}
if {$no > 1} {
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + [expr $no - 1] + $format
- html {"> Previous record </a>} "| \n"
+ html {">Previous record</a>} " | \n"
}
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + $no +
if {$format == "full"} {
- html raw {">Raw format</a>} "| \n"
+ html raw {">Raw format</a>} " | \n"
} else {
- html full {">Full format</a>} "| \n"
+ html full {">Full format</a>} " | \n"
}
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + 1
html + $hist($setNo,maxPresent)
- html {"> Result </a>} "| \n"
+ html {">Result</a>} " | \n"
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/targets.egw"> New target </a>} " | \n"
+ html / $sessionId {/targets.egw">New target</a>} " | \n"
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo
- html {"> New query </a>} "<p>\n"
+ html {">New query</a>} "<p>\n"
}