version 1.35, 2003/12/10 00:32:56
|
version 1.37, 2004/04/07 18:02:47
|
Line 81 function getcurseed() {
|
Line 81 function getcurseed() {
|
return 0; |
return 0; |
} |
} |
|
|
|
function getproblemtype() { |
|
if (parent.LONCAPAToBePublished.document.lonhomework) { |
|
var optionelement; |
|
var valueIndex=0; |
|
for (var optionIndex=0; |
|
optionIndex < parent.LONCAPAToBePublished.document.lonhomework.problemtype.options.length; |
|
optionIndex++) |
|
{ |
|
optionElement=parent.LONCAPAToBePublished.document.lonhomework.problemtype.options[optionIndex]; |
|
if (optionElement.selected) { |
|
return optionElement.value; |
|
} |
|
} |
|
} |
|
return 0; |
|
} |
|
|
function getpostdata() { |
function getpostdata() { |
document.printout.postdata.value=frameloc(); |
document.printout.postdata.value=frameloc(); |
document.printout.curseed.value=getcurseed(); |
document.printout.curseed.value=getcurseed(); |
|
document.printout.problemtype.value=getproblemtype(); |
document.printout.submit(); |
document.printout.submit(); |
} |
} |
</script> |
</script> |
Line 116 function getpostdata() {
|
Line 134 function 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="hidden" name="curseed" value="" /> |
|
<input type="hidden" name="problemtype" value="" /> |
<input type="button" value="MT{Print}" onClick="getpostdata();" /> |
<input type="button" value="MT{Print}" onClick="getpostdata();" /> |
</td> |
</td> |
</form> |
</form> |
Line 150 function getpostdata() {
|
Line 169 function getpostdata() {
|
<option value="newstyfile">MT{New style file}:</option> |
<option value="newstyfile">MT{New style file}:</option> |
<option value="newdir">MT{New subdirectory}:</option> |
<option value="newdir">MT{New subdirectory}:</option> |
<option value="rename">MT{Rename current file to}:</option> |
<option value="rename">MT{Rename current file to}:</option> |
<option value="rename">MT{Move current file to}:</option> |
<option value="move">MT{Move current file to}:</option> |
<option value="copy">MT{Copy current file to}:</option> |
<option value="copy">MT{Copy current file to}:</option> |
</select> <input type="text" name="newfilename" value="MT{Type Name Here}" onFocus="if (this.value == 'MT{Type Name Here}') this.value=''" /> <input type="button" value="MT{Go}" onClick="getactionfilename();" /> |
</select> <input type="text" name="newfilename" value="MT{Type Name Here}" onFocus="if (this.value == 'MT{Type Name Here}') this.value=''" /> <input type="button" value="MT{Go}" onClick="getactionfilename();" /> |
</nobr> |
</nobr> |