version 1.38, 2008/06/30 01:28:56
|
version 1.42, 2009/02/19 22:03:13
|
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 269 sub print_settings_display {
|
Line 269 sub print_settings_display {
|
$disp_table .= &Apache::loncommon::end_data_table()."\n"; |
$disp_table .= &Apache::loncommon::end_data_table()."\n"; |
&print_header($r,$cdesc); |
&print_header($r,$cdesc); |
$r->print(' |
$r->print(' |
<h3>'.$lt{'caes'}.'</h3> |
<h3>'.$lt{'caes'}.$cdesc.'</h3> |
<p> |
<p> |
<form action="/adm/modifycourse" method="post" name="viewparms"> |
<form action="/adm/modifycourse" method="post" name="viewparms"> |
'.$lt{'cose'}.'<ul><li>'.&mt('Settings that can be modified by a [_1] using the <a href="/adm/populate">Automated Enrollment Manager</a>.',$cctitle).'</li><li>'.&mt('Settings that may only be modified by a [_1] from this menu.',$dctitle).'</li></ul> |
'.$lt{'cose'}.'<ul><li>'.&mt('Settings that can be modified by a [_1] using the <a href="/adm/populate">Automated Enrollment Manager</a>.',$cctitle).'</li><li>'.&mt('Settings that may only be modified by a [_1] from this menu.',$dctitle).'</li></ul> |
Line 293 sub print_setquota {
|
Line 293 sub print_setquota {
|
'cquo' => 'Disk space for storage of group portfolio files', |
'cquo' => 'Disk space for storage of group portfolio files', |
'gpqu' => 'Course portfolio files disk space', |
'gpqu' => 'Course portfolio files disk space', |
'each' => 'Each course group can be assigned a quota for portfolio files uploaded to the group.', |
'each' => 'Each course group can be assigned a quota for portfolio files uploaded to the group.', |
'modi' => 'Modify quota', |
'modi' => 'Save', |
'back' => "Back to options page", |
'back' => "Back to options page", |
); |
); |
my %settings = &Apache::lonnet::get('environment',['internal.coursequota'],$cdom,$cnum); |
my %settings = &Apache::lonnet::get('environment',['internal.coursequota'],$cdom,$cnum); |
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>'); |
Line 1009 ENDSCRIPT
|
Line 1009 ENDSCRIPT
|
$js,$starthash)); |
$js,$starthash)); |
my $bread_text = "View/Modify Courses"; |
my $bread_text = "View/Modify Courses"; |
if ($cdesc ne '') { |
if ($cdesc ne '') { |
$bread_text = "Course Settings: $cdesc"; |
$bread_text = &mt('Course Settings: [_1]',$cdesc); |
} |
my $no_mt = 1; |
$r->print(&Apache::lonhtmlcommon::breadcrumbs($bread_text)); |
$r->print(&Apache::lonhtmlcommon::breadcrumbs($bread_text,undef,undef, |
|
undef,undef,$no_mt)); |
|
} else { |
|
$r->print(&Apache::lonhtmlcommon::breadcrumbs($bread_text)); |
|
} |
return; |
return; |
} |
} |
|
|