version 1.7, 2013/11/12 14:36:07
|
version 1.8, 2013/11/13 01:40:07
|
Line 459 sub create_picker {
|
Line 459 sub create_picker {
|
$display .= '</fieldset>'. |
$display .= '</fieldset>'. |
'</div><div style="padding:0;clear:both;margin:0;border:0"></div>'. |
'</div><div style="padding:0;clear:both;margin:0;border:0"></div>'. |
'<div>'. |
'<div>'. |
'<input type="submit" name="dumpcourse" value="'.&mt("Dump $crstype Content").'" />'. |
'<input type="submit" name="dumpcourse" value="'.&mt("Copy $crstype Content").'" />'. |
'</div>'; |
'</div>'; |
$numcount = $count + $startcount; |
$numcount = $count + $startcount; |
} |
} |
Line 484 sub create_picker {
|
Line 484 sub create_picker {
|
$output .= &Apache::lonhtmlcommon::breadcrumbs('IMS Export'). |
$output .= &Apache::lonhtmlcommon::breadcrumbs('IMS Export'). |
&Apache::londocs::startContentScreen('tools'); |
&Apache::londocs::startContentScreen('tools'); |
} elsif ($context eq 'dumpdocs') { |
} elsif ($context eq 'dumpdocs') { |
$output .= &Apache::lonhtmlcommon::breadcrumbs('Dump to Authoring Space'). |
$output .= &Apache::lonhtmlcommon::breadcrumbs('Copying to Authoring Space'). |
&Apache::londocs::startContentScreen('tools'); |
&Apache::londocs::startContentScreen('tools'); |
} |
} |
$output .= $display; |
$output .= $display; |
Line 730 sub get_navmap_object {
|
Line 730 sub get_navmap_object {
|
undef,{'only_body' => 1,}). |
undef,{'only_body' => 1,}). |
'<h2>'.&mt('Resource Display Failed').'</h2>'; |
'<h2>'.&mt('Resource Display Failed').'</h2>'; |
} elsif ($context eq 'dumpdocs') { |
} elsif ($context eq 'dumpdocs') { |
$outcome = '<h2>'.&mt('Dump to Authoring Space unavilable'); |
$outcome = '<h2>'.&mt('Copying to Authoring Space unavilable'); |
} |
} |
$outcome .= '<div class="LC_error">'; |
$outcome .= '<div class="LC_error">'; |
if ($crstype eq 'Community') { |
if ($crstype eq 'Community') { |
Line 750 sub get_navmap_object {
|
Line 750 sub get_navmap_object {
|
if ($context eq 'imsexport') { |
if ($context eq 'imsexport') { |
&Apache::lonnet::logthis('IMS export failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'}); |
&Apache::lonnet::logthis('IMS export failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'}); |
} else { |
} else { |
&Apache::lonnet::logthis('Dump to Authoring Space failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'}); |
&Apache::lonnet::logthis('Copying to Authoring Space failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'}); |
} |
} |
} elsif ($context eq 'examblock') { |
} elsif ($context eq 'examblock') { |
$outcome .= '<href="javascript:window.close();">'.&mt('Close window').'</a>'; |
$outcome .= '<href="javascript:window.close();">'.&mt('Close window').'</a>'; |