version 1.31, 2013/07/27 22:04:49
|
version 1.32, 2013/09/30 17:42:12
|
Line 48 sub jscript_one {
|
Line 48 sub jscript_one {
|
es => 'Enroll students only', |
es => 'Enroll students only', |
ea => 'Enroll all users', |
ea => 'Enroll all users', |
nr => 'Not required', |
nr => 'Not required', |
id => 'You must select one of the additional options when importing Disussion Boards', |
id => 'You must select one of the additional options when importing Discussion Boards.', |
ie => 'You must select one of the additional options when importing Enrollment', |
ie => 'You must select one of the additional options when importing Enrollment.', |
ct => 'You must check at least one Content Type', |
ct => 'You must check at least one Content Type.', |
); |
); |
return <<"ENDJS"; |
return <<"ENDJS"; |
function setOptions(caller,itemnum) { |
function setOptions(caller,itemnum) { |
Line 225 sub display_one {
|
Line 225 sub display_one {
|
|
|
if ($unzip_result ne 'ok') { |
if ($unzip_result ne 'ok') { |
$r->print( |
$r->print( |
'<p class="LC_warning">' |
&Apache::loncommon::confirmwrapper( |
.&mt('Processing of your IMS package failed because the file you' |
&Apache::lonhtmlcommon::confirm_success( |
.' uploaded could not be unzipped.') |
&mt('Processing of your IMS package failed because the file you' |
.'</p>' |
.' uploaded could not be unzipped.'),1) |
|
.'<br />'.&mt('Error: [_1]',$unzip_result)) |
); |
); |
return(); |
return(); |
} |
} |
Line 239 sub display_one {
|
Line 240 sub display_one {
|
\%resinfo,'choose',\%includedres,\%includeditems); |
\%resinfo,'choose',\%includedres,\%includeditems); |
if ($manifest_result ne 'ok') { |
if ($manifest_result ne 'ok') { |
$r->print( |
$r->print( |
'<p class="LC_warning">' |
'<br />'.&Apache::loncommon::confirmwrapper( |
.&mt('Unpacking of your IMS package failed because an IMS manifest file was not located in the package.') |
&Apache::lonhtmlcommon::confirm_success( |
.'</p>' |
&mt('Unpacking of your IMS package failed because an IMS manifest file' |
|
.' was not located in the package.'),1)) |
); |
); |
return(); |
return(); |
} |
} |