version 1.39, 2006/02/07 19:46:30
|
version 1.40, 2006/03/19 22:26:31
|
Line 301 ENDADV
|
Line 301 ENDADV
|
} |
} |
|
|
# output start of web page |
# output start of web page |
my $html=&Apache::lonxml::xmlbegin(); |
my $js = <<END; |
$r->print(<<END); |
<script type="text/javascript"> |
$html |
|
<head> |
|
<title>The LearningOnline Network With CAPA Group Sorter</title> |
|
<script language='javascript'> |
|
function insertRowInLastRow() { |
function insertRowInLastRow() { |
opener.insertrow(opener.maxrow); |
opener.insertrow(opener.maxrow); |
opener.addobj(opener.maxrow,'e&2'); |
opener.addobj(opener.maxrow,'e&2'); |
Line 334 function orderchange(val,newval) {
|
Line 330 function orderchange(val,newval) {
|
document.forms.groupsort.submit(); |
document.forms.groupsort.submit(); |
} |
} |
</script> |
</script> |
</head> |
|
END |
END |
# read pertinent machine configuration |
# read pertinent machine configuration |
my $domain = $r->dir_config('lonDefDomain'); |
my $domain = $r->dir_config('lonDefDomain'); |
Line 364 END
|
Line 359 END
|
'pa' => 'Path', |
'pa' => 'Path', |
'in' => 'Include' |
'in' => 'Include' |
); |
); |
$r->print(&Apache::loncommon::bodytag('Sort Imported Resources')); |
$r->print(&Apache::loncommon::start_page('Sort Imported Resources', |
|
$js)); |
$r->print(<<END); |
$r->print(<<END); |
<b><font color="#888888">$lt{'fin'}</font></b> |
<b><font color="#888888">$lt{'fin'}</font></b> |
<form method='post' action='/adm/groupsort' name='groupsort' |
<form method='post' action='/adm/groupsort' name='groupsort' |
Line 408 END
|
Line 404 END
|
$r->print("<td colspan='2' bgcolor='$titleclr'><b>$lt{'ti'}</b></td>\n"); |
$r->print("<td colspan='2' bgcolor='$titleclr'><b>$lt{'ti'}</b></td>\n"); |
$r->print("<td bgcolor='$titleclr'><b>$lt{'pa'}</b></td></tr>\n"); |
$r->print("<td bgcolor='$titleclr'><b>$lt{'pa'}</b></td></tr>\n"); |
} else { |
} else { |
|
$r->print(&Apache::loncommon::start_page(undef,$js, |
|
{'only_body' => 1}); |
$r->print(<<END); |
$r->print(<<END); |
<body> |
|
<form method='post' action='/adm/groupsort' name='groupsort' |
<form method='post' action='/adm/groupsort' name='groupsort' |
enctype='application/x-www-form-urlencoded'> |
enctype='application/x-www-form-urlencoded'> |
<input type="hidden" name="fnum" value="$clen" /> |
<input type="hidden" name="fnum" value="$clen" /> |
Line 454 END
|
Line 451 END
|
</script> |
</script> |
END |
END |
} |
} |
$r->print(<<END); |
|
</body> |
$r->print(&Apache::loncommon::end_page()); |
</html> |
|
END |
|
|
|
return OK; |
return OK; |
} |
} |