Rev | Line | |
---|
[1] | 1 | #file=geisa_post_putfpars |
---|
| 2 | #on entry: $menu_opt=...Fcomo=xxx&...Ftypo=yyy&...List=zzz&... (POST method) |
---|
| 3 | #on exit: defines $fcomo=xxx if Fcomo is defined |
---|
| 4 | # $ftypo=yyy if Ftypo is defined != "off" |
---|
| 5 | # $list=zzz if List is defined |
---|
| 6 | # $execute_parms updated. |
---|
| 7 | ifs=$IFS;IFS="&";for s in $menu_opt;do |
---|
| 8 | l=`expr "$s" : 'Fcomo=\(.*\)'`;[ "$l" ]&&fcomo="$l" |
---|
| 9 | l=`expr "$s" : 'List=\(.*\)'`;[ "$l" ]&&list="$l" |
---|
| 10 | l=`expr "$s" : 'Ftypo=\(.*\)'`;[ "$l" ]&&ftypo="$l" |
---|
| 11 | done;IFS=$ifs |
---|
| 12 | [ "$list" ]&&execute_parms=$execute_parms",liste='$list'" |
---|
| 13 | [ "$ftypo" -a "$ftypo" != "off" ]&&execute_parms=$execute_parms",format='$ftypo'" |
---|
Note: See
TracBrowser
for help on using the repository browser.