X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/6cab9448c8e116006285e71490d71cd158b04ca1..3b95af9c3a2e21cc5e6567b8ca08376d1c289528:/templates/macros.tmpl diff --git a/templates/macros.tmpl b/templates/macros.tmpl index 2ec7205..5d33446 100644 --- a/templates/macros.tmpl +++ b/templates/macros.tmpl @@ -282,6 +282,19 @@ and then redefines macros as desired. @define {submit} {text} {} +@# Expand to an action button +@# @text is the text to put inside the button +@# @long is the text to put in the caption +@# @action is the target action +@define {actbutton} {text long action} + {@text} + +@# Expands to &back=manage or to nothing depending on context; +@# see playing.tmpl. +@define {back} {} {} + Local variables: mode:sgml sgml-always-quote-attributes:nil