Form names = good
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 6 Aug 2004 07:41:05 +0000 (07:41 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 6 Aug 2004 07:41:05 +0000 (07:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7834 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index eb8c9ad..cf0d3b2 100644 (file)
@@ -643,7 +643,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, $removed
     if ( in_array('\\deleted', $aMailbox['PERMANENTFLAGS'],true) ) {
     // Form for deletion. Form is handled by the originating display in $where. This is right_main.php or search.php
         $delete_url = $base_uri . "src/$where";
-        $menu_row .= '<form action="'.$delete_url.'" method="post" style="display: inline">';
+        $menu_row .= '<form name="deleteMessageForm" action="'.$delete_url.'" method="post" style="display: inline">';
 
         if (!(isset($passed_ent_id) && $passed_ent_id)) {
             $menu_row .= addHidden('mailbox', $aMailbox['NAME']);
@@ -662,7 +662,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, $removed
     if ( !(isset($passed_ent_id) && $passed_ent_id) &&
         in_array('\\deleted', $aMailbox['PERMANENTFLAGS'],true) ) {
 
-        $menu_row .= '<form action="'.$base_uri.'src/'.$where.'?'.'" method="post" style="display: inline">'.
+        $menu_row .= '<form name="moveMessageForm" action="'.$base_uri.'src/'.$where.'?'.'" method="post" style="display: inline">'.
               '<small>'.
 
           addHidden('mailbox',$aMailbox['NAME']) .