mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Trying to fix the preferences, there are still a few permission bugs
This commit is contained in:
parent
441e583de2
commit
a6ffcf518d
@ -149,7 +149,7 @@
|
||||
display_option("show birthday reminders on main screen","addressbook","mainscreen_showbirthdays");
|
||||
|
||||
if ($phpgw_info["user"]["permissions"]["calendar"]) {
|
||||
?>
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo lang_pref("show high priority events on main screen"); ?> ?</td>
|
||||
<td><input type="checkbox" name="mainscreen_showevents" value="Y" <?php if ($phpgw_info["user"]["preferences"]["mainscreen_showevents"] == "Y") echo " checked"; ?>></td>
|
||||
@ -201,7 +201,7 @@
|
||||
<td><select name="default_app">
|
||||
<option value=""> </option>
|
||||
<?php
|
||||
$db_perms = $phpgw->permissions->read_other($phpgw->session->loginid);
|
||||
$db_perms = $phpgw->accounts->read_apps($phpgw_info["user"]["sessionid"]);
|
||||
while ($permission = each($db_perms)) {
|
||||
if ($phpgw_info["apps"][$permission[0]]["enabled"]) {
|
||||
echo "<option value=\"" . $permission[0] . "\"";
|
||||
|
Loading…
Reference in New Issue
Block a user