Make all submit button names unique on compose screen
[squirrelmail.git] / templates / default / compose_body.tpl
index f94c32075eff778d41b5c3dfa8ba6d2aae881eff..ac19ed7f8c2011a70a4f125b25bdd6dc07448311 100644 (file)
@@ -32,11 +32,12 @@ extract($t);
         ?>
  <tr>
   <td class="bottomSend">
-   <input type="submit" name="send" value="<?php echo _("Send"); ?>" />
+   <input type="submit" name="<?php echo unique_widget_name('send'); ?>" value="<?php echo _("Send"); ?>" />
   </td>
  </tr>
         <?php
     }
  ?>
 </table>
-</div>
\ No newline at end of file
+</div>
+<input type="hidden" name="send_button_count" value="<?php echo unique_widget_name('send', TRUE); ?>" />