tinybutstrong
tinybutstrong copied to clipboard
Feature request: support multiple "when" conditions
Hello Skrol,
for conditional blocks often it would be handy to combine multiple conditions to create an "and" condition, like
[onload;file='cms.login.html';when [var..cst.EDITMODE]=0;when [var..cst.DEVELOPER]=1]
Currently this can be solved with either wrapping the whole block in another condition, defining another constant/variable or using regular expression matching. It would be much more intuitive and readable to combine the conditions, keeping the whole logic in the template itself.
Thank you for TBS every day.