fix bug after name change of the change-password classed.

This commit is contained in:
Pim Snel 2005-08-16 13:22:54 +00:00
parent 46e44572df
commit e726d3f7ae
2 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,7 @@
/* $Id$ */
class bochangepassword
class bopassword
{
var $public_functions = array(
'changepass' => True

View File

@ -18,9 +18,10 @@
'change' => True
);
function uichangepassword()
function uipassword()
{
$this->bo = CreateObject('preferences.bopassword');
}
function change()
@ -31,7 +32,7 @@
if(!$GLOBALS['egw']->acl->check('changepassword', 1) || $_POST['cancel'])
{
$GLOBALS['egw']->redirect_link('/preferences/index.php');
$GLOBALS['egw']->redirect_link('/preferences/index.php');
$GLOBALS['egw']->common->phpgw_exit();
}
@ -43,7 +44,7 @@
$GLOBALS['egw']->template->set_var('lang_enter_old_password',lang('Enter your old password'));
$GLOBALS['egw']->template->set_var('lang_change',lang('Change'));
$GLOBALS['egw']->template->set_var('lang_cancel',lang('Cancel'));
$GLOBALS['egw']->template->set_var('form_action',$GLOBALS['egw']->link('/index.php','menuaction=preferences.uichangepassword.change'));
$GLOBALS['egw']->template->set_var('form_action',$GLOBALS['egw']->link('/index.php','menuaction=preferences.uipassword.change'));
if($GLOBALS['egw_info']['server']['auth_type'] != 'ldap')
{