version 1.325.2.6, 2010/01/22 03:41:58
|
version 1.325.2.9, 2010/05/23 20:44:10
|
Line 265 sub dumpcourse {
|
Line 265 sub dumpcourse {
|
|
|
sub exportbutton { |
sub exportbutton { |
my $crstype = &Apache::loncommon::course_type(); |
my $crstype = &Apache::loncommon::course_type(); |
return '<input type="submit" name="exportcourse"' |
return '<div><input type="submit" name="exportcourse"' |
.' value="'.&mt('IMS Export').'"' |
.' value="'.&mt('IMS Export').'"' |
.' title="'.&mt('Export '.$crstype.' to IMS Package').'" />'. |
.' title="'.&mt('Export '.$crstype.' to IMS Package').'" />'. |
&Apache::loncommon::help_open_topic('Docs_Export_Course_Docs').'<br />'; |
&Apache::loncommon::help_open_topic('Docs_Export_Course_Docs').'</div>'; |
} |
} |
|
|
|
|
Line 1758 sub parse_supplemental_title {
|
Line 1758 sub parse_supplemental_title {
|
$foldertitle=&Apache::lontexconvert::msgtexconverted($4); |
$foldertitle=&Apache::lontexconvert::msgtexconverted($4); |
my $name = &Apache::loncommon::plainname($uname,$udom); |
my $name = &Apache::loncommon::plainname($uname,$udom); |
$name = &HTML::Entities::encode($name,'"<>&\''); |
$name = &HTML::Entities::encode($name,'"<>&\''); |
|
$renametitle = &HTML::Entities::encode($renametitle,'"<>&\''); |
$title='<i>'.&Apache::lonlocal::locallocaltime($time).'</i> '. |
$title='<i>'.&Apache::lonlocal::locallocaltime($time).'</i> '. |
$name.': <br />'.$foldertitle; |
$name.': <br />'.$foldertitle; |
} |
} |
Line 2708 sub handler {
|
Line 2709 sub handler {
|
.$script."\n" |
.$script."\n" |
.'// ]]>'."\n" |
.'// ]]>'."\n" |
.'</script>'."\n"; |
.'</script>'."\n"; |
my $brcrum = [{href=>"/adm/createuser",text=>"$crstype Documents"}]; |
my $brcrum = [{href=>"/adm/createuser",text=>"Edit $crstype"}]; |
$r->print(&Apache::loncommon::start_page("$crstype Documents", $script, |
$r->print(&Apache::loncommon::start_page("Edit $crstype", $script, |
{'force_register' => $showdoc, |
{'force_register' => $showdoc, |
'bread_crumbs' => $brcrum}). |
'bread_crumbs' => $brcrum}). |
&Apache::loncommon::help_open_menu('','',273,'RAT')); |
&Apache::loncommon::help_open_menu('','',273,'RAT')); |