--- loncom/interface/lonhtmlcommon.pm 2007/05/13 18:03:15 1.159 +++ loncom/interface/lonhtmlcommon.pm 2007/09/14 23:24:18 1.162 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.159 2007/05/13 18:03:15 banghart Exp $ +# $Id: lonhtmlcommon.pm,v 1.162 2007/09/14 23:24:18 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -140,6 +140,7 @@ sub select_recent { foreach my $value (sort(keys(%recent))) { unless ($value =~/^error\:/) { my $escaped = &Apache::loncommon::escape_url($value); + &Apache::loncommon::inhibit_menu_check(\$escaped); $return.="\n'; @@ -1003,13 +1004,14 @@ sub crumbs { } else { $path.='/'; } - my $linkpath = &Apache::loncommon::escape_single($path); - if ($form) { - $linkpath= - qq{javascript:$form.action='$linkpath';$form.submit();}; - } my $href_path = &HTML::Entities::encode($path,'<>&"'); - $output.=qq{$dir/}; + &Apache::loncommon::inhibit_menu_check(\$href_path); + if ($form) { + my $href = 'javascript:'.$form.".action='".$href_path."';".$form.'.submit();'; + $output.=qq{$dir/}; + } else { + $output.=qq{$dir/}; + } } } else { foreach my $dir (split('/',$uri)) { @@ -1332,7 +1334,7 @@ returns: nothing # row2 # row3 ... etc. # &submit_row(0 -# &end_pickbox() +# &end_pick_box() # # where row1, row 2 etc. are chosen from &role_select_row,&course_select_row, # &status_select_row and &email_default_row @@ -1570,7 +1572,6 @@ sub status_select_row { sub email_default_row { my ($authtypes,$title,$descrip,$css_class) = @_; my $output = &row_title($title,$css_class); - my @rowcols = ('#eeeeee','#dddddd'); $output .= $descrip. &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_header_row().