|
module->getIconsPath().'/wizard.png',
"Autocreate Auth Items for controller ".$controller,
array(
'border'=>0,
'title'=>
Helper::translate('srbac',
'Scanning for Auth Items for controller').' '.$controller)
),
array('scan','module'=>$module,'controller'=>$controller),
array(
'type'=>'POST',
'update'=>'#controllerActions',
'beforeSend' => 'function(){
$("#controllerActions").addClass("srbacLoading");
}',
'complete' => 'function(){
$("#controllerActions").removeClass("srbacLoading");
}',
),
array('name'=>'buttonScan_'.$n)
);
?>
|
module->getIconsPath().'/delete.png',
"Delete All Auth Items of controller ".$controller,
array('border'=>0,'title'=>
Helper::translate('srbac',
'Delete All Auth Items of controller').' '.$controller)
),
array('scan','module'=>$module,'controller'=>$controller,'delete'=>true),
array(
'type'=>'POST',
'update'=>'#controllerActions',
'beforeSend' => 'function(){
$("#controllerActions").addClass("srbacLoading");
}',
'complete' => 'function(){
$("#controllerActions").removeClass("srbacLoading");
}',
),
array('name'=>'buttonDelete_'.$n)
);
?>
|