projects
/
geekigeeki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New macros needed for wikized EditPage
[geekigeeki.git]
/
macros
/
HttpPost.py
diff --git a/macros/HttpPost.py
b/macros/HttpPost.py
new file mode 100755
(executable)
index 0000000..
ce61f79
--- /dev/null
+++ b/
macros/HttpPost.py
@@ -0,0
+1,6
@@
+def _macro_HttpPost(argv):
+ if argv[1] in form:
+ return form[argv[1]].value
+ elif len(argv) > 2:
+ return argv[2] # default value
+ return ''