diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
commit | 5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch) | |
tree | 540afc30c51da085f5bd8ec3f4c89f6496e7900d /htmlform.scm | |
parent | 8466d8cfa486fb30d1755c4261b781135083787b (diff) | |
download | slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip |
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'htmlform.scm')
-rw-r--r-- | htmlform.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/htmlform.scm b/htmlform.scm index d659aeb..143eccc 100644 --- a/htmlform.scm +++ b/htmlform.scm @@ -80,11 +80,11 @@ ;;displaying the page with this tag, Netscape or IE browsers will fetch ;;and display @2. Otherwise, @1 seconds after displaying the page with ;;this tag, Netscape or IE browsers will fetch and redisplay this page. -(define (html:meta-refresh delay . uri) +(define (html:meta-refresh dly . uri) (if (null? uri) - (sprintf #f "\\n<META HTTP-EQUIV=\"Refresh\" CONTENT=\"%d\">" delay) + (sprintf #f "\\n<META HTTP-EQUIV=\"Refresh\" CONTENT=\"%d\">" dly) (sprintf #f "\\n<META HTTP-EQUIV=\"Refresh\" CONTENT=\"%d;URL=%s\">" - delay (car uri)))) + dly (car uri)))) ;;@args title backlink tags ... ;;@args title backlink @@ -102,7 +102,7 @@ (sprintf #f "<HTML>\\n") (sprintf #f "%s" (html:comment "HTML by SLIB" - "http://swissnet.ai.mit.edu/~jaffer/SLIB")) + "http://swiss.csail.mit.edu/~jaffer/SLIB")) (sprintf #f " <HEAD>\\n <TITLE>%s</TITLE>\\n %s\\n </HEAD>\\n" (html:plain title) (apply string-append args)) (if (and backlink (substring-ci? "<H1>" backlink)) |