version 1.31, 2003/08/01 20:32:05
|
version 1.33, 2003/09/11 21:02:38
|
Line 70 function getdelfilename() {
|
Line 70 function getdelfilename() {
|
document.del.submit(); |
document.del.submit(); |
} |
} |
|
|
|
function getcurseed() { |
|
if (parent.LONCAPAToBePublished.document.lonhomework |
|
&& |
|
parent.LONCAPAToBePublished.document.lonhomework.rndseed |
|
&& |
|
parent.LONCAPAToBePublished.document.lonhomework.rndseed.value) { |
|
return parent.LONCAPAToBePublished.document.lonhomework.rndseed.value; |
|
} |
|
return 0; |
|
} |
|
|
function getpostdata() { |
function getpostdata() { |
document.printout.postdata.value=frameloc(); |
document.printout.postdata.value=frameloc(); |
|
document.printout.curseed.value=getcurseed(); |
document.printout.submit(); |
document.printout.submit(); |
} |
} |
</script> |
</script> |
Line 103 function getpostdata() {
|
Line 115 function getpostdata() {
|
<form name="printout" target="_parent" action="/adm/printout" target="LONCAPAToBePublished" method="post" onSubmit="getpostdata();"> |
<form name="printout" target="_parent" action="/adm/printout" target="LONCAPAToBePublished" method="post" onSubmit="getpostdata();"> |
<td rowspan="2" bgcolor="#ccddaa" align="center"> |
<td rowspan="2" bgcolor="#ccddaa" align="center"> |
<input type="hidden" name="postdata" value="" /> |
<input type="hidden" name="postdata" value="" /> |
|
<input type="hidden" name="curseed" value="" /> |
<input type="button" value="Print" onClick="getpostdata();" /> |
<input type="button" value="Print" onClick="getpostdata();" /> |
</td> |
</td> |
</form> |
</form> |
Line 137 function getpostdata() {
|
Line 150 function getpostdata() {
|
<option value="newstyfile">New style file:</option> |
<option value="newstyfile">New style file:</option> |
<option value="newdir">New subdirectory:</option> |
<option value="newdir">New subdirectory:</option> |
<option value="rename">Rename current file to:</option> |
<option value="rename">Rename current file to:</option> |
|
<option value="rename">Move current file to:</option> |
<option value="copy">Copy current file to:</option> |
<option value="copy">Copy current file to:</option> |
</select> <input type="text" name="newfilename" value="Type Name Here" onFocus="if (this.value == 'Type Name Here') this.value=''" /> <input type="button" value="Go" onClick="getactionfilename();" /> |
</select> <input type="text" name="newfilename" value="Type Name Here" onFocus="if (this.value == 'Type Name Here') this.value=''" /> <input type="button" value="Go" onClick="getactionfilename();" /> |
</nobr> |
</nobr> |