]> git.andy128k.dev Git - ipf.git/commitdiff
fix IPF_Auth_Forms_ChangeSelfPassword
authoravl <alex.litovchenko@gmail.com>
Tue, 23 Dec 2008 10:48:47 +0000 (12:48 +0200)
committeravl <alex.litovchenko@gmail.com>
Tue, 23 Dec 2008 10:48:47 +0000 (12:48 +0200)
ipf/auth/forms/changeselfpassword.php

index cb4eb3b5854b7cf1eef691b462ce50fa2be5c9c6..af376ac3d347d1dc4c29f43d6ae9c35a42c0b885 100644 (file)
@@ -1,14 +1,14 @@
-<?php 
+<?php
 
 class IPF_Auth_Forms_ChangeSelfPassword extends IPF_Form{
-    
+
     function initFields($extra=array())
     {
-        $this->fields['oldpassword'] = new IPF_Form_Field_Varchar(array(label=>'Current Password', 'required'=>true, 'widget'=>'IPF_Form_Widget_PasswordInput'));
-        $this->fields['password1'] = new IPF_Form_Field_Varchar(array(label=>'New Password', 'required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput'));
-        $this->fields['password2'] = new IPF_Form_Field_Varchar(array(label=>'New Password (repeat)','required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput','help_text'=>'Enter the same password as above, for verification.'));
+        $this->fields['oldpassword'] = new IPF_Form_Field_Varchar(array('label'=>'Current Password', 'required'=>true, 'widget'=>'IPF_Form_Widget_PasswordInput'));
+        $this->fields['password1'] = new IPF_Form_Field_Varchar(array('label'=>'New Password', 'required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput'));
+        $this->fields['password2'] = new IPF_Form_Field_Varchar(array('label'=>'New Password (repeat)','required'=>true,'widget'=>'IPF_Form_Widget_PasswordInput','help_text'=>'Enter the same password as above, for verification.'));
     }
-    
+
     function isValid($request){
         $ok = parent::isValid();
         if ($ok===true){