Lines Matching refs:action

314 * @param    string     $action - the action being taken
319 function allowed ($action) { argument
325 if ($action== 'insertForm') $requiredLevel = AUTH_CREATE;
326 if ($action== 'insertAction') $requiredLevel = AUTH_CREATE;
327 if ($action== 'updateForm') $requiredLevel = AUTH_EDIT;
328 if ($action== 'updateaction') $requiredLevel = AUTH_EDIT;
329 if ($action== 'createTable') $requiredLevel = AUTH_ADMIN;
330 if ($action== 'createTableForm') $requiredLevel = AUTH_ADMIN;
331 if ($action== 'admin') $requiredLevel = AUTH_ADMIN;
332 if ($action== 'deleteForm') $requiredLevel = AUTH_DELETE;
333 if ($action== 'deleteAction') $requiredLevel = AUTH_DELETE;
2004 * @param string $action the action taken
2012 function button ($action, $name, $withTopAndTail=false, $table='', $record='') { argument
2016 $auditTrail->add_header('button action = '.$action.' name = '.$name);
2017 if ($session->allowed($action)) {
2020 $ret .='<input type="hidden" name="action" value="'.$action.'" />';
2027 $auditTrail->add_footer('button action = '.$action.' name = '.$name);
2033 * @param string $action the action taken
2041 function iconButton ($action, $image, $title, $table='', $record='') { argument
2046 $auditTrail->add_header('button action = '.$action.' name = '.$name);
2047 if ($session->allowed($action)) {
2049 …put type="image" src="'.$environment->imagesFolder.$image.'" name="fn['.$action.']['.$table.$envir…
2051 $auditTrail->add_footer('iconButton action = '.$action.' name = '.$name);
2198 global $action;
2206 $auditTrail->add('action = '.$action.' table = '.$tableId.' record = '.$recordId);
2222 if ($action =='') {
2224 $action = "listall";
2229 $action='createTableForm';
2235 $action="messages";
2238 $auditTrail->add("action=".$action);
2240 if (!$session->allowed($action)) {
2241 $action= "message";
2244 $action = "messages";
2246 $auditTrail->add("action=".$action);
2249 if ($action=="messages")
2252 if ($action == "home") {
2256 if ($action == "createTable") {
2266 $action = "createTableForm";
2270 $action = "insertForm";
2274 if ($action=="admin") {
2275 $auditTrail->add("action=".$action." tableId is ".$tableId."will be negative");
2277 $action="listall";
2280 if ($action == "insertAction") {
2294 $action = "insertForm";
2298 $action="insertForm";
2300 $action="listall";
2304 if ($action == "updateAction") {
2328 $action = "updateForm";
2331 $action = "updateForm";
2335 $action = "updateForm";
2340 $action = "updateForm";
2342 $action="listall";
2349 if ($action == "deleteAction") {
2362 $action = "deleteForm";
2367 $action = "deleteForm";
2369 $action = "listall";
2373 if ($action == "list" || $action == "listall") {
2374 $auditTrail->add("action=".$action." tableId is ".$tableId);
2426 if ($action != "listall") {
2438 if ($action == 'createTableForm' ) {
2442 if ($action == "insertForm") {
2448 if ($action == "updateForm") {
2461 if ($action == "deleteForm") {