--- loncom/interface/slotrequest.pm 2009/03/29 18:06:09 1.94 +++ loncom/interface/slotrequest.pm 2009/05/16 22:50:35 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.94 2009/03/29 18:06:09 raeburn Exp $ +# $Id: slotrequest.pm,v 1.98 2009/05/16 22:50:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -707,7 +707,8 @@ $lt{'or'} STUFF if (!$inhibit_return_link) { - $r->print(&mt('or').'</p>').&return_link($r); + $r->print(&mt('or').'</p>'); + &return_link($r); } else { $r->print('</p>'); } @@ -1599,9 +1600,9 @@ sub show_map_row { $output .= '<img src="'.$location.'" alt="" />'; } if ($type eq 'page') { - $output .= '<img src="/adm/lonIcons/navmap.page.open.gif"> '."\n"; + $output .= '<img src="/adm/lonIcons/navmap.page.open.gif" alt="" /> '."\n"; } else { - $output .= '<img src="/adm/lonIcons/navmap.folder.open.gif"> '."\n"; + $output .= '<img src="/adm/lonIcons/navmap.folder.open.gif" alt="" /> '."\n"; } $output .= $title.'</td><td colspan="2"> </td>'."\n"; unshift (@{$maprows},$output); @@ -2063,7 +2064,7 @@ sub display_filter { sub upload_start { my ($r)=@_; $r->print(&Apache::grades::checkforfile_js()); - my $result.='<table width=100% border=0><tr bgcolor="#e6ffff"><td>'."\n"; + my $result.='<table width="100%" border="0"><tr bgcolor="#E6FFFF"><td>'."\n"; $result.=' <b>'. &mt('Specify a file containing the slot definitions.'). '</b></td></tr>'."\n"; @@ -2103,7 +2104,7 @@ Total number of records found in file: $ Enter as many fields as you can. The system will inform you and bring you back to this page if the data selected is insufficient to create the slots.<hr /> <input type="button" value="Reverse Association" onClick="javascript:this.form.associate.value='Reverse Association';submit(this.form);" /> -<label><input type="checkbox" name="noFirstLine" $checked />$ignore</label> +<label><input type="checkbox" name="noFirstLine"$checked />$ignore</label> <input type="hidden" name="associate" value="" /> <input type="hidden" name="datatoken" value="$datatoken" /> <input type="hidden" name="fileupload" value="$env{'form.fileupload'}" />