![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$share_id = checkNumeric($_GET["share_id"]) | |
$work_area_id = checkNumeric($_GET["work_area_id"]) | |
if(! $work_area_id||! $share_id) | $workArea = new WorkArea($work_area_id) |
$share = new ShareToken($share_id) | |
if(!checkRole("admin,data") && $user->user_id !=$share->user_id &&! $workArea->isManager()) $share | active = !$share->active |
$share | last_updated = now() |
$share | last_updated_by_id = $user->user_id |
$share = new ShareToken($share_id) |
Definition at line 12 of file toggle_share.inc.
$share_id = checkNumeric($_GET["share_id"]) |
Definition at line 3 of file toggle_share.inc.
$work_area_id = checkNumeric($_GET["work_area_id"]) |
Definition at line 4 of file toggle_share.inc.
if (! $work_area_id||! $share_id) $workArea = new WorkArea($work_area_id) |
Definition at line 11 of file toggle_share.inc.
if (!checkRole("admin,data") &&$user->user_id !=$share->user_id &&! $workArea->isManager()) $share active = !$share->active |
Definition at line 19 of file toggle_share.inc.
$share last_updated = now() |
Definition at line 20 of file toggle_share.inc.
$share last_updated_by_id = $user->user_id |
Definition at line 21 of file toggle_share.inc.