mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
updated to new location for the show_date function
This commit is contained in:
parent
587a9fff73
commit
cbef39f967
@ -39,19 +39,19 @@
|
||||
if (! $error) {
|
||||
$phpgw->db->lock(array("accounts","preferences"));
|
||||
|
||||
$phpgw->preferences->add_with_value($n_loginid,"maxmatchs","15");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"theme","default");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"tz_offset","0");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"dateformat","m/d/Y");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"timeformat","12");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"lang","en");
|
||||
$phpgw->common->preferences_add($n_loginid,"maxmatchs","15");
|
||||
$phpgw->common->preferences_add($n_loginid,"theme","default");
|
||||
$phpgw->common->preferences_add($n_loginid,"tz_offset","0");
|
||||
$phpgw->common->preferences_add($n_loginid,"dateformat","m/d/Y");
|
||||
$phpgw->common->preferences_add($n_loginid,"timeformat","12");
|
||||
$phpgw->common->preferences_add($n_loginid,"lang","en");
|
||||
|
||||
// Even if they don't have access to the calendar, we will add these.
|
||||
// Its better then the calendar being all messed up, they will be deleted
|
||||
// the next time the update there preferences.
|
||||
$phpgw->preferences->add_with_value($n_loginid,"weekstarts","Monday");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"workdaystarts","9");
|
||||
$phpgw->preferences->add_with_value($n_loginid,"workdayends","17");
|
||||
$phpgw->common->preferences_add($n_loginid,"weekstarts","Monday");
|
||||
$phpgw->common->preferences_add($n_loginid,"workdaystarts","9");
|
||||
$phpgw->common->preferences_add($n_loginid,"workdayends","17");
|
||||
|
||||
while ($permission = each($new_permissions)) {
|
||||
if ($phpgw_info["apps"][$permission[0]]["enabled"]) {
|
||||
|
Loading…
Reference in New Issue
Block a user