📄 ralist
字号:
## OpenCA - RA Server Command## (c) 1998-2001 by Massimiliano Pala and OpenCA Group#### File Name: raList## Brief: List available RAs## Description: Filter Requests Lists on RA Basis## Parameters: dataTypeif ( $cmd !~ /raList/i ) { configError( "Wrong Command Usage ($cmd/raList)!" ); exit 1;}## Get Parametersmy $dataType = $query->param('dataType');## Get List of RAs Available (adding the ALL value)my @raList = @{ ($config->getParam('RA'))->{VALUES} };push ( @raList, "All" );## Get Configuration needed parameters ...my $doc = getRequired('RAChoiceBaseSheet');my $cmd = 'listReqs';## Get the parametersmy $choice = $query->newInput( -regx=>'*', -intype=>'popup_menu', -name=>'ra', -values=>[ @raList ]);## Get the sheet pageif ( not $page = $tools->getFile( $doc )) {; configError( "Can not load $doc file." ); exit 1;}## Substitute variables$page = $query->subVar( $page, '@RA@', $choice );$page = $query->subVar( $page, '@DATATYPE@', $dataType );$page = $query->subVar( $page, '@CMD@', $cmd );print "$page";1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -