Add lang for logout message

This commit is contained in:
Miles Lott 2002-03-04 03:08:47 +00:00
parent 79d886e345
commit be67e0d962
2 changed files with 4 additions and 2 deletions

View File

@ -128,8 +128,8 @@
/* config logout */ /* config logout */
setcookie('ConfigPW',''); setcookie('ConfigPW','');
setcookie('ConfigDomain',''); setcookie('ConfigDomain','');
$GLOBALS['phpgw_info']['setup']['ConfigLoginMSG'] = lang('You have successfully logged out');
setcookie('ConfigLang',''); setcookie('ConfigLang','');
$GLOBALS['phpgw_info']['setup']['ConfigLoginMSG'] = 'You have successfully logged out';
$GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = ''; $GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = '';
return False; return False;
@ -138,7 +138,8 @@
{ {
/* header admin logout */ /* header admin logout */
setcookie('HeaderPW',''); setcookie('HeaderPW','');
$GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = 'You have successfully logged out'; $GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = lang('You have successfully logged out');
setcookie('ConfigLang','');
$GLOBALS['phpgw_info']['setup']['ConfigLoginMSG'] = ''; $GLOBALS['phpgw_info']['setup']['ConfigLoginMSG'] = '';
return False; return False;

View File

@ -233,4 +233,5 @@ your database is working, but you dont have any applications installed setup en
your tables are current setup en Your tables are current your tables are current setup en Your tables are current
your tables may be altered and you may lose data setup en Your tables may be altered and you may lose data. your tables may be altered and you may lose data setup en Your tables may be altered and you may lose data.
your tables will be dropped and you will lose data setup en Your tables will be dropped and you will lose data !! your tables will be dropped and you will lose data setup en Your tables will be dropped and you will lose data !!
you have successfully logged out setup en You have successfully logged out
you should either uninstall and then reinstall it, or attempt manual repairs setup en You should either uninstall and then reinstall it, or attempt manual repairs you should either uninstall and then reinstall it, or attempt manual repairs setup en You should either uninstall and then reinstall it, or attempt manual repairs