Change lang for login shell

This commit is contained in:
Miles Lott 2001-03-29 06:23:06 +00:00
parent 8557b386f6
commit cd3c45db5f
2 changed files with 3 additions and 2 deletions

View File

@ -90,7 +90,7 @@
if ($phpgw_info["server"]["ldap_extra_attributes"]) { if ($phpgw_info["server"]["ldap_extra_attributes"]) {
$t->set_var("lang_homedir",lang("home directory")); $t->set_var("lang_homedir",lang("home directory"));
$t->set_var("lang_shell",lang("shell")); $t->set_var("lang_shell",lang("login shell"));
$t->set_var("homedirectory",'<input name="homedirectory" value="' . $userData['homedirectory']. '">'); $t->set_var("homedirectory",'<input name="homedirectory" value="' . $userData['homedirectory']. '">');
$t->set_var("loginshell",'<input name="loginshell" value="' . $userData['loginshell']. '">'); $t->set_var("loginshell",'<input name="loginshell" value="' . $userData['loginshell']. '">');
} }

View File

@ -78,6 +78,7 @@
{ {
$phpgw->db->lock(array( $phpgw->db->lock(array(
'phpgw_accounts', 'phpgw_accounts',
'phpgw_nextid',
'phpgw_preferences', 'phpgw_preferences',
'phpgw_sessions', 'phpgw_sessions',
'phpgw_acl', 'phpgw_acl',
@ -225,7 +226,7 @@
if ($phpgw_info["server"]["ldap_extra_attributes"]) { if ($phpgw_info["server"]["ldap_extra_attributes"]) {
$phpgw->template->set_var("lang_homedir",lang("home directory")); $phpgw->template->set_var("lang_homedir",lang("home directory"));
$phpgw->template->set_var("lang_shell",lang("shell")); $phpgw->template->set_var("lang_shell",lang(" login shell"));
$phpgw->template->set_var("homedirectory",'<input name="homedirectory" value="' . $phpgw_info["server"]["ldap_account_home"].SEP.$account_lid . '">'); $phpgw->template->set_var("homedirectory",'<input name="homedirectory" value="' . $phpgw_info["server"]["ldap_account_home"].SEP.$account_lid . '">');
$phpgw->template->set_var("loginshell",'<input name="loginshell" value="' . $phpgw_info["server"]["ldap_account_shell"] . '">'); $phpgw->template->set_var("loginshell",'<input name="loginshell" value="' . $phpgw_info["server"]["ldap_account_shell"] . '">');
} }