--- loncom/interface/lonpickcourse.pm 2008/07/01 04:22:59 1.73.2.1 +++ loncom/interface/lonpickcourse.pm 2008/09/20 16:57:18 1.73.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.73.2.1 2008/07/01 04:22:59 raeburn Exp $ +# $Id: lonpickcourse.pm,v 1.73.2.3 2008/09/20 16:57:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -277,7 +277,7 @@ sub display_matched_courses { .''.&mt('Domain').'' .''.&mt('Course Code').'' .''.&mt('Owner/Co-owner(s)').'' - .''.&mt('Type').'' +# .''.&mt('Type').'' ); $r->print(&Apache::loncommon::end_data_table_header_row()); } @@ -318,13 +318,13 @@ sub display_matched_courses { } $r->print(''); $r->print(''.$ownerstr.''); - $r->print(''); - if ($ttype ne '') { - $r->print(&mt(&unescape($ttype))); - } else { - $r->print(' '); - } - $r->print(''); +# $r->print(''); +# if ($ttype ne '') { +# $r->print(&mt(&unescape($ttype))); +# } else { +# $r->print(' '); +# } +# $r->print(''); if ($multiple) { $r->print("\n"); } $r->print(&Apache::loncommon::end_data_table_row()); # $r->print("
\n"); @@ -436,12 +436,12 @@ sub build_filters { '15552000','31104000'])); my %lt = ( - 'cac' => &mt('[_1] Activity',$type), - 'cde' => &mt('[_1] Description',$type), - 'cdo' => &mt('[_1] Domain',$type), + 'cac' => &mt("$type Activity"), + 'cde' => &mt("$type Description"), + 'cdo' => &mt("$type Domain"), 'cin' => &mt('Course Institutional Code'), - 'cow' => &mt("[_1] Owner's Username",$type), - 'cod' => &mt("[_1] Owner's Domain", $type), + 'cow' => &mt("$type Owner's Username), + 'cod' => &mt("$type Owner's Domain"), 'cog' => &mt('Course Type') );