summaryrefslogtreecommitdiff
path: root/modules/template.tcl
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2024-06-30 14:48:13 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2024-06-30 14:48:13 +1000
commitd5cc926ec6c3020d2d51cacc7d14e59c558c4167 (patch)
tree7dbc071ee3ecd6c143426984c19b4c73c11a42c7 /modules/template.tcl
parenta61f03cfbf62eb006e6bd845694f18d40101d4e8 (diff)
beginning draftwork on modules
Diffstat (limited to 'modules/template.tcl')
-rw-r--r--modules/template.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/template.tcl b/modules/template.tcl
new file mode 100644
index 0000000..b76c201
--- /dev/null
+++ b/modules/template.tcl
@@ -0,0 +1,14 @@
+namespace eval template {
+
+ variable targets {
+ target1 target2
+ }
+
+ proc run {request_target} {
+ return [string cat \
+ [http::start "Title"] \
+ "This is a template<br>" \
+ "request_target: $request_target" \
+ [http::end]]
+ }
+}