diff options
Diffstat (limited to 'html/widgets/confirm.tmpl')
| -rw-r--r-- | html/widgets/confirm.tmpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/html/widgets/confirm.tmpl b/html/widgets/confirm.tmpl new file mode 100644 index 0000000..5bb046b --- /dev/null +++ b/html/widgets/confirm.tmpl @@ -0,0 +1,12 @@ +<!-- confirm --> +<tr> + <td class="<?% (param.count mod 2) == 0 ? 'light' : 'dark' %?>" > + <?% data.msg %?> + </td> + <td class="<?% (param.count mod 2) == 0 ? 'light' : 'dark' %?>" > + <nobr> + <?% val = cgi.param(data.NAME) || data.def %?> + <input type="radio" name="<?% data.NAME %?>" value="y" <?% "checked" IF val == 'y' %?>><?% gettext("yes") %?> + <input type="radio" name="<?% data.NAME %?>" value="n" <?% "checked" IF val == 'n' %?>><?% gettext("no") %?> + </td> +</tr> |
