Diff for /loncom/interface/lonpickcourse.pm between versions 1.73 and 1.73.2.4

version 1.73, 2008/06/04 22:48:54 version 1.73.2.4, 2008/09/21 16:41:47
Line 277  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 318  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 436  sub build_filters { Line 436  sub build_filters {
                       '15552000','31104000']));                        '15552000','31104000']));
   
     my %lt = (      my %lt = (
               'cac' => &mt('[_1] Activity',$type),                'cac' => &mt("$type Activity"),
               'cde' => &mt('[_1] Description',$type),                'cde' => &mt("$type Description"),
               'cdo' => &mt('[_1] Domain',$type),                'cdo' => &mt("$type Domain"),
               'cin' => &mt('Course Institutional Code'),                'cin' => &mt('Course Institutional Code'),
               'cow' => &mt("[_1] Owner's Username",$type),                'cow' => &mt("$type Owner's Username"),
               'cod' => &mt("[_1] Owner's Domain", $type),                'cod' => &mt("$type Owner's Domain"),
               'cog' => &mt('Course Type')                'cog' => &mt('Course Type')
              );               );
   
Line 487  $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.73  
changed lines
  Added in v.1.73.2.4


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