2 'table' => 'alarm_type',
3 'name_singular' => 'type',
5 'agent_null_right' => 'Alarm global configuration',
7 { field=>'inputs', type=>'text', size=>2 },
8 { field=>'outputs', type=>'text', size=>2 },
9 { field=>'disabled', type=>'checkbox', value=>'Y'},
11 'labels' => { 'alarmtypenum' => 'Type',
12 'agentnum' => 'Agent',
14 'outputs' => 'Outputs',
15 'disabled' => 'Disabled',
17 'viewall_dir' => 'browse',
22 unless $FS::CurrentUser::CurrentUser->access_right('Alarm configuration')
23 || $FS::CurrentUser::CurrentUser->access_right('Alarm global configuration');