mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
fixed styles
This commit is contained in:
parent
95834b2de7
commit
56e4770b93
@ -474,7 +474,7 @@ class Manager implements PublicLogin
|
|||||||
"SELECT *
|
"SELECT *
|
||||||
FROM tdashboard
|
FROM tdashboard
|
||||||
WHERE id = %d
|
WHERE id = %d
|
||||||
AND (id_group IN (%s) AND id_user = '') OR id_user = '%s'",
|
AND ((id_group IN (%s) AND id_user = '') OR id_user = '%s')",
|
||||||
$this->dashboardId,
|
$this->dashboardId,
|
||||||
$this->stringGroups,
|
$this->stringGroups,
|
||||||
$config['id_user']
|
$config['id_user']
|
||||||
@ -1047,6 +1047,7 @@ class Manager implements PublicLogin
|
|||||||
'hash' => self::generatePublicHash(),
|
'hash' => self::generatePublicHash(),
|
||||||
'publicLink' => $this->publicLink,
|
'publicLink' => $this->publicLink,
|
||||||
'dashboardGroup' => $this->dashboardFields['id_group'],
|
'dashboardGroup' => $this->dashboardFields['id_group'],
|
||||||
|
'dashboardUser' => $this->dashboardFields['id_user'],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -260,7 +260,7 @@ if (isset($config['public_dashboard']) === true
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (check_acl_restricted_all($config['id_user'], $dashboardGroup, 'RW') === 0) {
|
if ($dashboardUser !== $config['id_user'] && check_acl_restricted_all($config['id_user'], $dashboardGroup, 'RW') === 0) {
|
||||||
$buttons = [
|
$buttons = [
|
||||||
'back_to_dashboard_list' => $back_to_dashboard_list,
|
'back_to_dashboard_list' => $back_to_dashboard_list,
|
||||||
'fullscreen' => $fullscreen,
|
'fullscreen' => $fullscreen,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user