[SOLVED] disabling edit selected and delete selected on list page |
1/30/2012 10:45:06 AM |
PHPRunner General questions | |
F
Francesco_5000 author
i want to disable 'Edit selected'/'Delete selected' buttons if a user does not belong to certain groups. So I did the following... i've put a code snippet in the list page: $sql2 = "SELECT GroupID FROM antitaccheggio_ugmembers WHERE UserName ='".$_SESSION["UserID"]."'";
. |
|
C
|
cgphp 1/30/2012 |
In the "Before display" event: $xt->assign("deleteselected_link",false); |
F
|
Francesco_5000 author 1/30/2012 |
In the "Before display" event: $xt->assign("deleteselected_link",false);
|