mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
user permission problems
This commit is contained in:
parent
aa5fb168f0
commit
5a7993465b
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
$phpgw_flags["currentapp"] = "preferences";
|
$phpgw_flags["currentapp"] = "preferences";
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
if ($phpgw_info["user"]["permissions"]["anonymous"]) {
|
if ($phpgw_info["user"]["apps"]["anonymous"]) {
|
||||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
@ -29,7 +29,8 @@
|
|||||||
. lang_pref("change your settings") . "</a>";
|
. lang_pref("change your settings") . "</a>";
|
||||||
echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
|
echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
|
||||||
. lang_pref("change your profile") . "</a>";
|
. lang_pref("change your profile") . "</a>";
|
||||||
if ($phpgw_info["user"]["permissions"]["nntp"])
|
// if ($phpgw_info["user"]["permissions"]["nntp"])
|
||||||
|
if ($phpgw_info["user"]["apps"]["nntp"])
|
||||||
echo "<br><a href=\"" . $phpgw->link("nntp.php") . "\">"
|
echo "<br><a href=\"" . $phpgw->link("nntp.php") . "\">"
|
||||||
. lang_pref("monitor newsgroups") . "</a>";
|
. lang_pref("monitor newsgroups") . "</a>";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user