title="@label{choose.allprefsverbose}"
alt="@label{choose.allprefs}">
</a>}
- <a class=button
- href="@url?action=play&dir=@urlquote{@arg{dir}}&back=@urlquote{@thisurl}">
- @label{choose.playall}
- </a>
+ <form method=POST class=action action="@url">
+ <input type=hidden name=action value=play>
+ <input type=hidden name=dir value="@argq{dir}">
+ <input type=hidden name=back value="@quote{@thisurl}">
+ <input type=submit name=submit value="@label{choose.playall}">
+ </form>
</p>}
</div>
</div>
This file is read before any other template. Its output is discarded
but side effects (definitions of macros) are retained. To override it,
create /etc/disorder/macros.tmpl that includes this file by absolute path
-and then redefines macros as desired.
+and then redefine macros as desired.
------------------------------------------------------------------------
@# @long is the text to put in the caption
@# @action is the target action
@define {actbutton} {text long action}
- {<form method=GET class=button action="@url">
+ {<form method=POST 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
@# Used for inserting back= elements
@define {back} {} {}