@# @long is the text to put in the caption
@# @action is the target action
@define {actbutton} {text long action}
- {<a class=button
- href="@url?action=@action@back"
- title="@long">@text</a>}
+ {<form method=GET class=button action="@url">
+ <input type=hidden name=action value="@action">
+ <input type=submit name=submit value="@text" title="@long">
+@formback@#
+ </form>}
+@# TODO @back support
-@# Expands to &back=manage or to nothing depending on context;
-@# see playing.tmpl.
+@# Used for inserting back= elements
@define {back} {} {}
+@define {formback} {} {}
Local variables:
mode:sgml