From 437e3e7c363a0f876e551609518718bce2c89218 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 20 Apr 2020 13:12:53 -0400 Subject: cgi search form title --- org/spine.org | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'org/spine.org') diff --git a/org/spine.org b/org/spine.org index e5752ca..0f9b7a1 100644 --- a/org/spine.org +++ b/org/spine.org @@ -415,6 +415,7 @@ bool[string] opts = [ "workon" : false, ]; string[string] settings = [ + "cgi-search-title" : "", // config default: "spine-search" "cgi-sqlite-search-filename" : "", // config default: "spine-search" "config" : "", "output" : "", @@ -492,6 +493,7 @@ auto helpInfo = getopt(args, "very-verbose", "output to terminal", &opts["very-verbose"], "workon", "(reserved for some matters under development & testing)", &opts["workon"], "xhtml", "xhtml output", &opts["xhtml"], + "cgi-search-title", "if generating a cgi search form the title to use for it", &settings["cgi-search-title"], "cgi-sqlite-search-filename", "=[filename] default is spine-search", &settings["cgi-sqlite-search-filename"], "config", "=/path/to/config/file/including/filename", &settings["config"], "lang", "=[lang code e.g. =en or =en,es]", &settings["lang"], @@ -691,6 +693,9 @@ struct OptActions { @trusted string sqlite_filename() { return settings["sqlite-db-filename"]; } + @trusted string cgi_search_title() { + return settings["cgi-search-title"]; + } @trusted string cgi_sqlite_search_filename() { return settings["cgi-sqlite-search-filename"]; } -- cgit v1.2.3