summaryrefslogtreecommitdiffstats
path: root/htmlform.txi
diff options
context:
space:
mode:
authorJames LewisMoss <dres@debian.org>1999-12-06 19:32:57 -0500
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:28 -0800
commitc394920caedf3dac1981bb6b10eeb47fd6e4bb21 (patch)
treef21194653a3554f747dde3df908df993c48db5a0 /htmlform.txi
parent926b1b647ac830660933a5e63eb52d4a2552e264 (diff)
parentbd9733926076885e3417b74de76e4c9c7bc56254 (diff)
downloadslib-c394920caedf3dac1981bb6b10eeb47fd6e4bb21.tar.gz
slib-c394920caedf3dac1981bb6b10eeb47fd6e4bb21.zip
Import Debian changes 2c7-1debian/2c7-1
slib (2c7-1) unstable; urgency=low * New upstream. * Add slibconfig back in. slib (2c6-2) unstable; urgency=low * Remove the slib$(VERSION).info file. Cut the diff back down to size. slib (2c6-1) unstable; urgency=low * New upstream. * Move docs to /usr/share. Up standards version. add /usr/doc symlink. Move info files. Remove undocumented link. slib (2c5-6) unstable; urgency=low * Lowercase two vars in yasyn.scm (Fixes bug #37222) slib (2c5-5) unstable; urgency=low * Fix it so string-index isn't defined (now there is a strsrch:string-index) (Fixes #38812) slib (2c5-4) unstable; urgency=low * Don't run slibconfig in postinst. (Fixes bug #38253, #37733, #37715, #37746, #37809, #37917, #38123, #38462) slib (2c5-3) unstable; urgency=low * Run slibconfig in postinst. It was commented out there, but I don't see any old bug reports on why it was commented out, so let's try again. :) (Fixes bug #37221) slib (2c5-2) unstable; urgency=low * Link mklibcat.scm to mklibcat. Fixes a problem with using slib with guile. slib (2c5-1) unstable; urgency=low * New upstream. slib (2c3-4) unstable; urgency=low * New maintainer.
Diffstat (limited to 'htmlform.txi')
-rw-r--r--htmlform.txi116
1 files changed, 95 insertions, 21 deletions
diff --git a/htmlform.txi b/htmlform.txi
index 47dceaf..c16818f 100644
--- a/htmlform.txi
+++ b/htmlform.txi
@@ -10,26 +10,117 @@ to the port @var{*html:output-port*}. @var{*html:output-port*} is initially the
-@defun html:atval txt
+@defun make-atval txt
Returns a string with character substitutions appropriate to
send @var{txt} as an @dfn{attribute-value}.
@cindex attribute-value
@end defun
-@defun html:plain txt
+@defun make-plain txt
Returns a string with character substitutions appropriate to
send @var{txt} as an @dfn{plain-text}.
@cindex plain-text
@end defun
-@defun html:comment line @dots{}
-Writes (using @code{html:printf}) the strings @var{lines} as HTML
+@defun html:start-page title backlink @dots{}
+Outputs headers for an HTML page named @var{title}.
+@end defun
+
+
+@defun html:end-page
+Outputs HTML codes to end a page.
+@end defun
+
+
+@defun html:pre line1 line @dots{}
+Writes (using @code{html:printf}) the strings @var{line1}, @var{lines} as
+@dfn{PRE}formmated plain text (rendered in fixed-width font).
+@cindex PRE
+Newlines are inserted between @var{line1}, @var{lines}. HTML tags (@samp{<tag>})
+within @var{lines} will be visible verbatim.
+@end defun
+
+
+@defun html:comment line1 line @dots{}
+Writes (using @code{html:printf}) the strings @var{line1} as HTML
comments.
@end defun
+@section HTML Tables
+
+@defun html:start-table caption
+
+@end defun
+
+
+@defun html:end-table
+
+@end defun
+
+
+@defun html:heading columns
+Outputs a heading row for the currently-started table.
+@end defun
+
+
+@defun html:href-heading columns urls
+Outputs a heading row with column-names @var{columns} linked to URLs @var{urls}.
+@end defun
+
+
+@defun make-row-converter k foreigns
+
+
+The positive integer @var{k} is the primary-key-limit (number of
+primary-keys) of the table. @var{foreigns} is a list of the filenames of
+foreign-key field pages and #f for non foreign-key fields.
+
+@code{make-row-converter} returns a procedure taking a row for its single argument. This
+returned procedure prints the table row to @var{*html:output-port*}.
+@end defun
+
+
+@defun table-name->filename table-name
+
+Returns the symbol @var{table-name} converted to a filename.
+@end defun
+
+
+
+@defun table->html caption db table-name match-key1 @dots{}
+
+Writes HTML for @var{db} table @var{table-name} to @var{*html:output-port*}.
+
+The optional @var{match-key1} @dots{} arguments restrict actions to a subset of
+the table. @xref{Table Operations, match-key}.
+@end defun
+
+
+@defun table->page db table-name index-filename
+
+Writes a complete HTML page to @var{*html:output-port*}. The string
+@var{index-filename} names the page which refers to this one.
+@end defun
+
+
+@defun catalog->html db caption
+
+Writes HTML for the catalog table of @var{db} to @var{*html:output-port*}.
+@end defun
+
+
+@defun catalog->page db caption
+
+Writes a complete HTML page for the catalog of @var{db} to
+@var{*html:output-port*}.
+@end defun
+
+
+@section HTML Forms
+
@@ -52,16 +143,6 @@ appears on the button which submits the form.
@end defun
-@defun html:start-page title
-Outputs headers for an HTML page named @var{title}.
-@end defun
-
-
-@defun html:end-page
-Outputs HTML codes to end a page.
-@end defun
-
-
@defun command->html rdb command-table command method action
The symbol @var{command-table} names a command table in the @var{rdb} relational
@@ -129,15 +210,8 @@ parameters and invokes the @var{rdb} command named by the parameter
-@defvar http:crlf
-@end defvar
-
-@defun http:send-status-line status-code reason
-@defunx http:send-header alist
-@end defun
-