diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-05-26 12:16:33 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-05-26 12:16:33 +0200 |
commit | 9ee26e1077a52fcbdab5929186e7d118f834d269 (patch) | |
tree | f27596b6d935567637b43a509a859540c9635e79 /ratatoeskr/templates/src/systemtemplates/master.html | |
parent | d38cba8d577b67e68fe1558ea72fa6b19c9ca505 (diff) | |
download | ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.tar.gz ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.tar.bz2 ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.zip |
ste:default_delete_yesno introduces
This tag makes it a bit easier to write backend templates. It
automatically generates the typical dropdown + button combo for
mass-deleting entries.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/master.html')
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/master.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/master.html b/ratatoeskr/templates/src/systemtemplates/master.html index 406bab6..bce92b1 100755 --- a/ratatoeskr/templates/src/systemtemplates/master.html +++ b/ratatoeskr/templates/src/systemtemplates/master.html @@ -19,6 +19,13 @@ </ste:then> </ste:if> </ste:mktag> +<ste:mktag name="default_delete_yesno"> + <input type="submit" name="?{$_tag_parameters[name]|$_tag_parameters[name]|delete}" value="<ste:get_translation for='delete' />" /> + <select name="really_delete"> + <option value="no" selected="selected"><ste:get_translation for="no" /></option> + <option value="yes"><ste:get_translation for="yes" /></option> + </select> +</ste:mktag> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> |