chiark / gitweb /
dirname/basename expansions; template fiddling
[disorder] / templates / macros.tmpl
index 450783e626ec03ae5b4d9da01a8bdfc7044f257c..cb763b27a956c0a673fc503efccca7b1817e1e6c 100644 (file)
@@ -18,9 +18,9 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 USA
 
-@define {action} {}
-        {@if {@arg:mgmt@}
-             {manage}
-             {@arg:action@}@}@
+@define {ifmanage} {yes} {no}
+        {@if {@eq {@arg{action}}{manage}}
+             {@yes}
+             {@no}}
 
 }@@@