mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Change lang for login shell
This commit is contained in:
parent
8557b386f6
commit
cd3c45db5f
@ -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']. '">');
|
||||||
}
|
}
|
||||||
|
@ -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"] . '">');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user