bug 966: never set POST["process"] on cancel in forms
authorMichael Tänzer <neo@nhng.de>
Tue, 16 Aug 2011 22:12:39 +0000 (00:12 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 16 Aug 2011 22:12:39 +0000 (00:12 +0200)
I hope I got them all

Signed-off-by: Michael Tänzer <neo@nhng.de>
pages/account/16.php
pages/account/30.php
pages/account/31.php
pages/account/34.php

index 3e582e3..514ecfd 100644 (file)
@@ -57,7 +57,7 @@
   </tr>
 <? } ?>
   <tr>
-    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Another Email")?>">
+    <td class="DataTD" colspan="2"><input type="submit" name="add_email" value="<?=_("Another Email")?>">
                        <input type="submit" name="process" value="<?=_("Next")?>"></td>
   </tr>
 </table>
index 30c86f3..33eeca8 100644 (file)
@@ -34,7 +34,7 @@
     <td class="DataTD" colspan="2"><? printf(_("Are you really sure you want to remove %s and all certificates issued under this domain?"), sanitizeHTML($row['domain'])); ?></td>
   </tr>
   <tr>
-    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Cancel")?>">
+    <td class="DataTD" colspan="2"><input type="submit" name="cancel" value="<?=_("Cancel")?>">
                <input type="submit" name="process" value="<?=_("Delete")?>"></td>
   </tr>
 </table>
index d91a77a..9f3d27e 100644 (file)
@@ -29,7 +29,7 @@
     <td class="DataTD" colspan="2"><? printf(_("Are you really sure you want to remove %s and all certificates issued under this organisation?"), sanitizeHTML($org['O'])); ?></td>
   </tr>
   <tr>
-    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Cancel")?>">
+    <td class="DataTD" colspan="2"><input type="submit" name="cancel" value="<?=_("Cancel")?>">
                <input type="submit" name="process" value="<?=_("Delete")?>"></td>
   </tr>
 </table>
index 25ad1db..b11bc7d 100644 (file)
@@ -35,7 +35,7 @@
     <td class="DataTD" colspan="2"><? printf(_("Are you really sure you want to remove %s from administering this organisation?"), sanitizeHTML($user['fname'])." ".sanitizeHTML($user['lname'])); ?></td>
   </tr>
   <tr>
-    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Cancel")?>">
+    <td class="DataTD" colspan="2"><input type="submit" name="cancel" value="<?=_("Cancel")?>">
                <input type="submit" name="process" value="<?=_("Delete")?>"></td>
   </tr>
 </table>