]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
Loeschen von Drafts flexibler.
[mfinanz.git] / bin / mozilla / io.pl
index adb78ed49992699e6c68c2f871a13c43274898b7..f38ffe20a817ca48b6af5e9fcab301f693b1159c 100644 (file)
@@ -1657,10 +1657,16 @@ sub print_options {
   }
 
   $form->{groupitems} = "checked" if $form->{groupitems};
+  $form->{remove_draft} = "checked" if $form->{remove_draft};
 
   print qq|
           <td>| . $locale->text('Group Items') . qq|</td>
-          <td><input name=groupitems type=checkbox class=checkbox $form->{groupitems}></td>
+          <td><input name=groupitems type=checkbox class=checkbox $form->{groupitems}></td>|;
+
+  print qq|
+          <td>| . $locale->text('Remove Draft') . qq|</td>
+          <td><input name=remove_draft type=checkbox class=checkbox $form->{remove_draft}></td>| if (!$form->{id} && $form->{draft_id});
+  print qq|
         </tr>
       </table>
     </td>