Diff for /loncom/interface/lonpickcourse.pm between versions 1.72 and 1.73.2.2

version 1.72, 2008/05/31 00:50:00 version 1.73.2.2, 2008/07/01 05:26:04
Line 228  sub display_matched_courses { Line 228  sub display_matched_courses {
                  $menuchk = ' checked="checked" ';                   $menuchk = ' checked="checked" ';
             }              }
             $r->print(              $r->print(
                   '<table class="LC_pick_box">'.
                   '<tr class="LC_pick_box_row">'.
                   '<td class="LC_pick_box_title" rowspan="2">'.&mt('Action').'</td>'.
                   '<td class="LC_evenrow_value">'.
                 '<span class="LC_nobreak"><label>'.                  '<span class="LC_nobreak"><label>'.
                 '<input type="radio" name="phase" value="ccrole"'.$ccrolechk.'/>'.                  '<input type="radio" name="phase" value="ccrole"'.$ccrolechk.'/>'.
                 '&nbsp;'.&mt('Enter the course with the role of [_1].',$cctitle).                  '&nbsp;'.&mt('Enter the course with the role of [_1].',$cctitle).
                 '</label>'.('&nbsp;'x3).'</span><br />'.                  '</label>'.('&nbsp;'x3).'</span>'.
                   '</td></tr>'.
                   '<tr class="LC_pick_box_row">'.
                   '<td class="LC_oddrow_value">'.
                 '<span class="LC_nobreak"><label>'.                  '<span class="LC_nobreak"><label>'.
                 '<input type="radio" name="phase" value="menu"'.$menuchk.'/>&nbsp;'.                  '<input type="radio" name="phase" value="menu"'.$menuchk.'/>&nbsp;'.
                 &mt('View or modify course settings which only a [_1] may modify.',$dctitle).                  &mt('View or modify course settings which only a [_1] may modify.',$dctitle).
                 '</label></span><br /><br />');                  '</label></span>'.
                   '</td></tr></table>'.
                   '<br />');
         }          }
     }      }
     my %by_descrip;      my %by_descrip;
Line 268  sub display_matched_courses { Line 277  sub display_matched_courses {
                  .'<th>'.&mt('Domain').'</th>'                   .'<th>'.&mt('Domain').'</th>'
                  .'<th>'.&mt('Course Code').'</th>'                   .'<th>'.&mt('Course Code').'</th>'
                  .'<th>'.&mt('Owner/Co-owner(s)').'</th>'                   .'<th>'.&mt('Owner/Co-owner(s)').'</th>'
                  .'<th>'.&mt('Type').'</th>'  #                 .'<th>'.&mt('Type').'</th>'
                  );                   );
         $r->print(&Apache::loncommon::end_data_table_header_row());          $r->print(&Apache::loncommon::end_data_table_header_row());
     }      }
Line 309  sub display_matched_courses { Line 318  sub display_matched_courses {
             }              }
             $r->print('</td>');              $r->print('</td>');
             $r->print('<td>'.$ownerstr.'</td>');              $r->print('<td>'.$ownerstr.'</td>');
             $r->print('<td>');  #            $r->print('<td>');
             if ($ttype ne '') {  #            if ($ttype ne '') {
                 $r->print(&mt(&unescape($ttype)));  #                $r->print(&mt(&unescape($ttype)));
             } else {  #            } else {
                 $r->print('&nbsp;');  #                $r->print('&nbsp;');
             }  #            }
             $r->print('</td>');  #            $r->print('</td>');
             if ($multiple) { $r->print("</label>\n"); }              if ($multiple) { $r->print("</label>\n"); }
             $r->print(&Apache::loncommon::end_data_table_row());              $r->print(&Apache::loncommon::end_data_table_row());
             # $r->print("<br />\n");              # $r->print("<br />\n");
Line 444  sub build_filters { Line 453  sub build_filters {
     }      }
     foreach my $posstype ('Course','Non-standard Course') {      foreach my $posstype ('Course','Non-standard Course') {
         $typeselectform.='<option value="'.$posstype.'"'.          $typeselectform.='<option value="'.$posstype.'"'.
             ($posstype eq $type ? ' selected="selected" ' : ''). ">$posstype</option>\n";              ($posstype eq $type ? ' selected="selected" ' : ''). ">".&mt($posstype)."</option>\n";
     }      }
     $typeselectform.="</select>";      $typeselectform.="</select>";
     my $output = qq|      my $output = qq|
Line 478  $multelement Line 487  $multelement
     if ($domainselectform) {      if ($domainselectform) {
         $output .= $lt{'cdo'}.': '.$domainselectform.'<br />'."\n";          $output .= $lt{'cdo'}.': '.$domainselectform.'<br />'."\n";
     }      }
     if ($typeselectform) {  #    if ($typeselectform) {
         $output .= $lt{'cog'}.': '.$typeselectform.'<br />'."\n";  #        $output .= $lt{'cog'}.': '.$typeselectform.'<br />'."\n";
     }  #    }
     if ($instcodeform) {      if ($instcodeform) {
         $output .= $lt{'cin'}.': '.$instcodeform.'<br />'."\n";          $output .= $lt{'cin'}.': '.$instcodeform.'<br />'."\n";
     }      }

Removed from v.1.72  
changed lines
  Added in v.1.73.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>