user's user's id :)
[squirrelmail.git] / plugins / change_password / options.php
index 04a75440e6dc6c7912d4c139acc9ee1520f01ceb..983be0d5e294bf6ff3fc1518e2ebc73b960f4ca6 100644 (file)
@@ -3,14 +3,15 @@
 /**
  * options.php - Change Password HTML page
  *
- * Copyright (c) 2004 The SquirrelMail Project Team
+ * Copyright (c) 2004-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- * $Id$
+ * @version $Id$
  * @package plugins
  * @subpackage change_password
  */
 
+/** @ignore */
 define('SM_PATH','../../');
 
 require_once (SM_PATH . 'include/validate.php');
@@ -24,7 +25,7 @@ if(sqgetGlobalVar('cpw_go', $cpw_go, SQ_POST)) {
 
     /* perform basic checks */
     $Messages = cpw_check_input();
-    
+
     /* if no errors, go ahead with the actual change */
     if(count($Messages) == 0) {
         $Messages = cpw_do_change();
@@ -51,7 +52,7 @@ if (isset($Messages) && count($Messages) > 0) {
 }
 
 ?><tr><td>
-    <?php echo addForm($_SERVER['PHP_SELF'], 'POST'); ?>
+    <?php echo addForm($_SERVER['PHP_SELF'], 'post'); ?>
     <table>
       <tr>
         <th align="right"><?php echo _("Current Password:")?></th>
@@ -67,10 +68,10 @@ if (isset($Messages) && count($Messages) > 0) {
       </tr>
       <tr>
         <td align="center" colspan="2">
-       <?php echo addSubmit(_("Change Password"), 'cpw_go'); ?></td>
+        <?php echo addSubmit(_("Change Password"), 'cpw_go'); ?></td>
       </tr>
     </table>
     </form>
 </td></tr>
 </tr></table>
-</body></html>
+</body></html>
\ No newline at end of file