version 1.38, 2008/06/30 01:28:56
|
version 1.40, 2008/10/27 14:32:30
|
Line 126 sub print_course_search_page {
|
Line 126 sub print_course_search_page {
|
my $dctitle = &Apache::lonnet::plaintext('dc'); |
my $dctitle = &Apache::lonnet::plaintext('dc'); |
$r->print( |
$r->print( |
'<h3>'.&mt('Search for a course in the [_1] domain',$domdesc).'</h3>'. |
'<h3>'.&mt('Search for a course in the [_1] domain',$domdesc).'</h3>'. |
&mt('Actions available after selecting a course:').'<ul>'. |
&mt('Actions available after searching for a course:').'<ul>'. |
'<li>'.&mt('Enter the course with the role of [_1]',$cctitle).'</li>'."\n". |
'<li>'.&mt('Enter the course with the role of [_1]',$cctitle).'</li>'."\n". |
'<li>'.&mt('View or modify course settings which only a [_1] may modify.' |
'<li>'.&mt('View or modify course settings which only a [_1] may modify.' |
,$dctitle).'</li>'."\n".'</ul>'); |
,$dctitle).'</li>'."\n".'</ul>'); |
Line 341 sub print_catsettings {
|
Line 341 sub print_catsettings {
|
$excludeoff = ''; |
$excludeoff = ''; |
} |
} |
$r->print('<h4>'.&mt('Visibility in Course Catalog').'</h4>'. |
$r->print('<h4>'.&mt('Visibility in Course Catalog').'</h4>'. |
&mt("Unless excluded, a course is listed in this domain's publicly accessible course catalog if at least of one the following applies").':<ul>'. |
&mt("Unless excluded, a course is listed in this domain's publicly accessible course catalog, if at least one of the following applies").':<ul>'. |
'<li>'.&mt('Auto-cataloging is enabled and the course is assigned an institutional code').'</li>'. |
'<li>'.&mt('Auto-cataloging is enabled and the course is assigned an institutional code').'</li>'. |
'<li>'.&mt('The course has been categorized into at least one of the course categories defined for the domain.').'</li></ul>'. |
'<li>'.&mt('The course has been categorized into at least one of the course categories defined for the domain.').'</li></ul>'. |
'<br />'.&mt('Exclude from course catalog').' <label><input name="hidefromcat" type="radio" value="yes" '.$excludeon.' />'.&mt('Yes').'</label> <label><input name="hidefromcat" type="radio" value="" '.$excludeoff.' />'.&mt('No').'</label><br />'); |
&mt('Exclude from course catalog').' <label><input name="hidefromcat" type="radio" value="yes" '.$excludeon.' />'.&mt('Yes').'</label> <label><input name="hidefromcat" type="radio" value="" '.$excludeoff.' />'.&mt('No').'</label><br />'); |
} |
} |
if (grep(/^categorize$/,@cat_params)) { |
if (grep(/^categorize$/,@cat_params)) { |
$r->print('<h4>'.&mt('Categorize Course').'</h4>'); |
$r->print('<h4>'.&mt('Categorize Course').'</h4>'); |