Fossil SCM

Minor fixes to wording of the TH1 hooks docs.

mistachkin 2017-10-19 03:49 trunk
Commit 38fabd495001abd1aa805ebb082e8078805899d0199a423af28efd7c7527bd50
1 file changed +5 -5
--- www/th1-hooks.md
+++ www/th1-hooks.md
@@ -33,11 +33,11 @@
3333
3434
TH1 Hook Related Variables for Web Pages
3535
----------------------------------------
3636
3737
* web\_name -- _Name of web page being rendered._
38
- * web\_args -- _Current command line arguments._
38
+ * web\_args -- _Current weg page arguments._
3939
* web\_flags -- _Bitmask of CMDFLAG values for the web page being rendered._
4040
4141
<a name="cmdReturnCodes"></a>TH1 Hook Related Return Codes for Commands
4242
-----------------------------------------------------------------------
4343
@@ -85,11 +85,11 @@
8585
This user-defined procedure, if present, is called just before the
8686
execution of a command. The name of the command being executed will
8787
be stored in the "cmd\_name" global variable. The arguments to the
8888
command being executed will be stored in the "cmd\_args" global variable.
8989
The associated CMDFLAG value will be stored in the "cmd\_flags" global
90
-variable. The procedure should cause one of the available return the
90
+variable. Before exiting, the procedure should trigger the return
9191
<a href="#cmdReturnCodes">code</a> that corresponds to the desired action
9292
to take next.
9393
9494
<a name="command_notify"></a>TH1 command_notify Procedure
9595
---------------------------------------------------------
@@ -99,11 +99,11 @@
9999
This user-defined procedure, if present, is called just after the
100100
execution of a command. The name of the command being executed will
101101
be stored in the "cmd\_name" global variable. The arguments to the
102102
command being executed will be stored in the "cmd\_args" global variable.
103103
The associated CMDFLAG value will be stored in the "cmd\_flags" global
104
-variable. The procedure should cause one of the available return the
104
+variable. Before exiting, the procedure should trigger the return
105105
<a href="#cmdReturnCodes">code</a> that corresponds to the desired action
106106
to take next.
107107
108108
<a name="webpage_hook"></a>TH1 webpage_hook Procedure
109109
-----------------------------------------------------
@@ -113,11 +113,11 @@
113113
This user-defined procedure, if present, is called just before the
114114
rendering of a web page. The name of the web page being rendered will
115115
be stored in the "web\_name" global variable. The arguments to the
116116
web page being rendered will be stored in the "web\_args" global variable.
117117
The associated CMDFLAG value will be stored in the "web\_flags" global
118
-variable. The procedure should cause one of the available return the
118
+variable. Before exiting, the procedure should trigger the return
119119
<a href="#webReturnCodes">code</a> that corresponds to the desired action
120120
to take next.
121121
122122
<a name="webpage_notify"></a>TH1 webpage_notify Procedure
123123
---------------------------------------------------------
@@ -127,8 +127,8 @@
127127
This user-defined procedure, if present, is called just after the
128128
rendering of a web page. The name of the web page being rendered will
129129
be stored in the "web\_name" global variable. The arguments to the
130130
web page being rendered will be stored in the "web\_args" global variable.
131131
The associated CMDFLAG value will be stored in the "web\_flags" global
132
-variable. The procedure should cause one of the available return the
132
+variable. Before exiting, the procedure should trigger the return
133133
<a href="#webReturnCodes">code</a> that corresponds to the desired action
134134
to take next.
135135
--- www/th1-hooks.md
+++ www/th1-hooks.md
@@ -33,11 +33,11 @@
33
34 TH1 Hook Related Variables for Web Pages
35 ----------------------------------------
36
37 * web\_name -- _Name of web page being rendered._
38 * web\_args -- _Current command line arguments._
39 * web\_flags -- _Bitmask of CMDFLAG values for the web page being rendered._
40
41 <a name="cmdReturnCodes"></a>TH1 Hook Related Return Codes for Commands
42 -----------------------------------------------------------------------
43
@@ -85,11 +85,11 @@
85 This user-defined procedure, if present, is called just before the
86 execution of a command. The name of the command being executed will
87 be stored in the "cmd\_name" global variable. The arguments to the
88 command being executed will be stored in the "cmd\_args" global variable.
89 The associated CMDFLAG value will be stored in the "cmd\_flags" global
90 variable. The procedure should cause one of the available return the
91 <a href="#cmdReturnCodes">code</a> that corresponds to the desired action
92 to take next.
93
94 <a name="command_notify"></a>TH1 command_notify Procedure
95 ---------------------------------------------------------
@@ -99,11 +99,11 @@
99 This user-defined procedure, if present, is called just after the
100 execution of a command. The name of the command being executed will
101 be stored in the "cmd\_name" global variable. The arguments to the
102 command being executed will be stored in the "cmd\_args" global variable.
103 The associated CMDFLAG value will be stored in the "cmd\_flags" global
104 variable. The procedure should cause one of the available return the
105 <a href="#cmdReturnCodes">code</a> that corresponds to the desired action
106 to take next.
107
108 <a name="webpage_hook"></a>TH1 webpage_hook Procedure
109 -----------------------------------------------------
@@ -113,11 +113,11 @@
113 This user-defined procedure, if present, is called just before the
114 rendering of a web page. The name of the web page being rendered will
115 be stored in the "web\_name" global variable. The arguments to the
116 web page being rendered will be stored in the "web\_args" global variable.
117 The associated CMDFLAG value will be stored in the "web\_flags" global
118 variable. The procedure should cause one of the available return the
119 <a href="#webReturnCodes">code</a> that corresponds to the desired action
120 to take next.
121
122 <a name="webpage_notify"></a>TH1 webpage_notify Procedure
123 ---------------------------------------------------------
@@ -127,8 +127,8 @@
127 This user-defined procedure, if present, is called just after the
128 rendering of a web page. The name of the web page being rendered will
129 be stored in the "web\_name" global variable. The arguments to the
130 web page being rendered will be stored in the "web\_args" global variable.
131 The associated CMDFLAG value will be stored in the "web\_flags" global
132 variable. The procedure should cause one of the available return the
133 <a href="#webReturnCodes">code</a> that corresponds to the desired action
134 to take next.
135
--- www/th1-hooks.md
+++ www/th1-hooks.md
@@ -33,11 +33,11 @@
33
34 TH1 Hook Related Variables for Web Pages
35 ----------------------------------------
36
37 * web\_name -- _Name of web page being rendered._
38 * web\_args -- _Current weg page arguments._
39 * web\_flags -- _Bitmask of CMDFLAG values for the web page being rendered._
40
41 <a name="cmdReturnCodes"></a>TH1 Hook Related Return Codes for Commands
42 -----------------------------------------------------------------------
43
@@ -85,11 +85,11 @@
85 This user-defined procedure, if present, is called just before the
86 execution of a command. The name of the command being executed will
87 be stored in the "cmd\_name" global variable. The arguments to the
88 command being executed will be stored in the "cmd\_args" global variable.
89 The associated CMDFLAG value will be stored in the "cmd\_flags" global
90 variable. Before exiting, the procedure should trigger the return
91 <a href="#cmdReturnCodes">code</a> that corresponds to the desired action
92 to take next.
93
94 <a name="command_notify"></a>TH1 command_notify Procedure
95 ---------------------------------------------------------
@@ -99,11 +99,11 @@
99 This user-defined procedure, if present, is called just after the
100 execution of a command. The name of the command being executed will
101 be stored in the "cmd\_name" global variable. The arguments to the
102 command being executed will be stored in the "cmd\_args" global variable.
103 The associated CMDFLAG value will be stored in the "cmd\_flags" global
104 variable. Before exiting, the procedure should trigger the return
105 <a href="#cmdReturnCodes">code</a> that corresponds to the desired action
106 to take next.
107
108 <a name="webpage_hook"></a>TH1 webpage_hook Procedure
109 -----------------------------------------------------
@@ -113,11 +113,11 @@
113 This user-defined procedure, if present, is called just before the
114 rendering of a web page. The name of the web page being rendered will
115 be stored in the "web\_name" global variable. The arguments to the
116 web page being rendered will be stored in the "web\_args" global variable.
117 The associated CMDFLAG value will be stored in the "web\_flags" global
118 variable. Before exiting, the procedure should trigger the return
119 <a href="#webReturnCodes">code</a> that corresponds to the desired action
120 to take next.
121
122 <a name="webpage_notify"></a>TH1 webpage_notify Procedure
123 ---------------------------------------------------------
@@ -127,8 +127,8 @@
127 This user-defined procedure, if present, is called just after the
128 rendering of a web page. The name of the web page being rendered will
129 be stored in the "web\_name" global variable. The arguments to the
130 web page being rendered will be stored in the "web\_args" global variable.
131 The associated CMDFLAG value will be stored in the "web\_flags" global
132 variable. Before exiting, the procedure should trigger the return
133 <a href="#webReturnCodes">code</a> that corresponds to the desired action
134 to take next.
135

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button