version 1.291, 2011/07/28 03:14:04
|
version 1.294, 2011/10/23 00:27:10
|
Line 1244 sub htmlareaheaders {
|
Line 1244 sub htmlareaheaders {
|
ENDEDITOR |
ENDEDITOR |
} |
} |
$s.=(<<ENDJQUERY); |
$s.=(<<ENDJQUERY); |
<script type="text/javascript" src="/adm/jQuery/js/jquery-1.3.2.min.js"></script> |
<script type="text/javascript" src="/adm/jQuery/js/jquery-1.6.2.min.js"></script> |
<script type="text/javascript" src="/adm/jQuery/js/jquery-ui-1.7.2.custom.min.js"></script> |
<script type="text/javascript" src="/adm/jQuery/js/jquery-ui-1.8.16.custom.min.js"></script> |
<link rel="stylesheet" type="text/css" href="/adm/jQuery/css/smoothness/jquery-ui-1.7.2.custom.css" /> |
<link rel="stylesheet" type="text/css" href="/adm/jQuery/css/smoothness/jquery-ui-1.8.16.custom.css" /> |
ENDJQUERY |
ENDJQUERY |
return $s; |
return $s; |
} |
} |
Line 2344 sub file_submissionchk_js {
|
Line 2344 sub file_submissionchk_js {
|
&mt('Continue submission and overwrite the file(s)?'); |
&mt('Continue submission and overwrite the file(s)?'); |
my $delfilewarn = &mt('You have indicated you wish to remove some files previously included in your submission.').'\\n'. |
my $delfilewarn = &mt('You have indicated you wish to remove some files previously included in your submission.').'\\n'. |
&mt('Continue submission with these files removed?'); |
&mt('Continue submission with these files removed?'); |
my ($turninpathtext,$multtext); |
my ($turninpathtext,$multtext,$arrayindexofjs); |
if (ref($turninpaths) eq 'HASH') { |
if (ref($turninpaths) eq 'HASH') { |
foreach my $key (sort(keys(%{$turninpaths}))) { |
foreach my $key (sort(keys(%{$turninpaths}))) { |
$turninpathtext .= " if (prefix == '$key') {\n". |
$turninpathtext .= " if (prefix == '$key') {\n". |
Line 2361 sub file_submissionchk_js {
|
Line 2361 sub file_submissionchk_js {
|
} |
} |
} |
} |
$multtext .= " return '';\n"; |
$multtext .= " return '';\n"; |
|
|
|
$arrayindexofjs = &Apache::loncommon::javascript_array_indexof(); |
return <<"ENDSCRIPT"; |
return <<"ENDSCRIPT"; |
<script type="text/javascript"> |
<script type="text/javascript"> |
// <![CDATA[ |
// <![CDATA[ |
Line 2573 $turninpathtext
|
Line 2575 $turninpathtext
|
// ]]> |
// ]]> |
</script> |
</script> |
|
|
|
$arrayindexofjs |
|
|
ENDSCRIPT |
ENDSCRIPT |
} |
} |
|
|