XHTML fixes and making use of forms.php
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 16 Aug 2004 00:22:32 +0000 (00:22 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 16 Aug 2004 00:22:32 +0000 (00:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7921 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/folders_delete.php

index 0059c25..1a96fc2 100644 (file)
@@ -66,10 +66,10 @@ if( !sqgetGlobalVar('confirmed', $tmp, SQ_POST) ) {
         html_tag( 'tr' ) .
         html_tag( 'td', '', 'center', $color[4] ) .
         sprintf(_("Are you sure you want to delete %s?"), str_replace(array(' ','<','>'),array('&nbsp;','&lt;','&gt;'),imap_utf7_decode_local($mailbox))).
-        addForm('folders_delete.php', 'POST').
+        addForm('folders_delete.php', 'post')."<p>\n".
         addHidden('mailbox', $mailbox).
-        '<input type="submit" name="confirmed" value="'._("Yes")."\" />\n".
-        '<input type="submit" name="backingout" value="'._("No")."\" />\n".
+        addSubmit(_("Yes"), 'confirmed').
+        addSubmit(_("No"), 'backingout').
         '</p></form><br /></td></tr></table>';
 
     exit;