Hi there,
When moving from 5.5.2 to 6.5 what variables are passed into custom CGI menu items in TeamSite 6.5?
Can anyone help us?
The following code is 5.5.2, how do you convert this to 6.5
the 'name_, type_ and path_' these variables are replaced with what in 6.5
sub Get_Selected_Items {
my $param_page = TeamSite::CGI_lite->new();
my
@item_list;
my $rec;
my $i = 0;
my $i_name = "name_".$i;
my $i_type = "type_".$i;
my $i_path = "path_".$i;
while( $i_name = $param_page->{form}{$i_name} ){
$rec = {};
$rec->{'name'} = Untaint( $i_name );
$rec->{'type'} = Untaint( $param_page->param( $i_type ) );
$rec->{'path'} = Untaint( $param_page->param( $i_path ) );
push
@item_list, $rec;
$i++;
$i_name = "name_".$i;
$i_type = "type_".$i;
$i_path = "path_".$i;
}
return \
@item_list;
}