version 1.38, 2004/04/15 19:32:37
|
version 1.41, 2009/12/14 15:37:38
|
Line 82 function getcurseed() {
|
Line 82 function getcurseed() {
|
} |
} |
|
|
function getproblemtype() { |
function getproblemtype() { |
if (parent.LONCAPAToBePublished.document.lonhomework) { |
if (parent.LONCAPAToBePublished.document.lonhomework |
var optionelement; |
&& |
var valueIndex=0; |
parent.LONCAPAToBePublished.document.lonhomework.problemtype) { |
for (var optionIndex=0; |
if (parent.LONCAPAToBePublished.document.lonhomework.problemtype.value) { |
optionIndex < parent.LONCAPAToBePublished.document.lonhomework.problemtype.options.length; |
return parent.LONCAPAToBePublished.document.lonhomework.problemtype.value; |
optionIndex++) |
} |
{ |
if (parent.LONCAPAToBePublished.document.lonhomework.problemtype.options) { |
optionElement=parent.LONCAPAToBePublished.document.lonhomework.problemtype.options[optionIndex]; |
var optionelement; |
if (optionElement.selected) { |
var valueIndex=0; |
return optionElement.value; |
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; |
return 0; |
} |
} |
Line 106 function getpostdata() {
|
Line 113 function getpostdata() {
|
} |
} |
//--> |
//--> |
</script> |
</script> |
|
<style> |
|
table.LC_publisher { |
|
border-collapse:collapse; |
|
} |
|
.LC_publisher td { |
|
border: 1px solid #C0C0C0; |
|
padding: 2px; |
|
} |
|
</style> |
</head> |
</head> |
<body bgcolor="#ccffdd" text='#002200' link='#003333' vlink='#006666'> |
<body> |
<table border="0" align="center"><tr><th bgcolor="#004400" height="20"> |
<table class="LC_publisher"> |
<table border="0" cellspacing="2" cellpadding="2"><tr valign="middle"> |
<tr valign="middle"> |
<td bgcolor="#ccddaa" align="center"> |
<td align="center"> |
<form name="publisher" action="/adm/publish" target="_parent" method="post"> |
<form name="publisher" action="/adm/publish" target="_parent" method="post"> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
<input type="button" value="MT{Publish this Resource}" onclick="getfilename();" /> |
<input type="button" value="MT{Publish this Resource}" onclick="getfilename();" /> |
</form> |
</form> |
</td> |
</td> |
<td bgcolor="#ccddaa" align="center"> |
<td align="center"> |
<form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post"> |
<form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post"> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
<input type="button" value="MT{List Directory}" onclick="getdfilename();" /> |
<input type="button" value="MT{List Directory}" onclick="getdfilename();" /> |
</form> |
</form> |
</td> |
</td> |
<td bgcolor="#ccddaa" valign="top" align="center"> |
<td valign="top" align="center"> |
<form name="upublisher" action="/adm/upload" target="_parent" |
<form name="upublisher" action="/adm/upload" target="_parent" |
method="post" enctype="multipart/form-data"> |
method="post" enctype="multipart/form-data"> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
Line 130 function getpostdata() {
|
Line 146 function getpostdata() {
|
<input type="button" value="MT{Upload file}" onclick="getufilename();" /> |
<input type="button" value="MT{Upload file}" onclick="getufilename();" /> |
</form> |
</form> |
</td> |
</td> |
<td rowspan="2" bgcolor="#ccddaa" align="center"> |
<td rowspan="2" align="center"> |
<form name="printout" target="_parent" action="/adm/printout" method="post" onsubmit="getpostdata();"> |
<form name="printout" target="_parent" action="/adm/printout" method="post" onsubmit="getpostdata();"> |
<input type="hidden" name="postdata" value="" /> |
<input type="hidden" name="postdata" value="" /> |
<input type="hidden" name="curseed" value="" /> |
<input type="hidden" name="curseed" value="" /> |
Line 141 function getpostdata() {
|
Line 157 function getpostdata() {
|
|
|
</tr> |
</tr> |
<tr valign="middle"> |
<tr valign="middle"> |
<td bgcolor="#ccddaa" align="center"> |
<td align="center"> |
<form name="rpublisher" action="/adm/retrieve" target="_parent" method="post"> |
<form name="rpublisher" action="/adm/retrieve" target="_parent" method="post"> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
<input type="button" value="MT{Retrieve Old Version}" onclick="getrfilename();" /> |
<input type="button" value="MT{Retrieve Old Version}" onclick="getrfilename();" /> |
</form> |
</form> |
</td> |
</td> |
<td bgcolor="#ccddaa"> |
<td> |
<form name="del" action="/adm/cfile" target="_parent" method="post"> |
<form name="del" action="/adm/cfile" target="_parent" method="post"> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="action" value="delete" /> |
<input type="hidden" name="action" value="delete" /> |
<input type="button" value="MT{Delete}" onclick="getdelfilename();" /> |
<input type="button" value="MT{Delete}" onclick="getdelfilename();" /> |
</form> |
</form> |
</td> |
</td> |
<td bgcolor="#ccddaa" align="center"> |
<td align="center"> |
<form name="fileaction" action="/adm/cfile" target="_parent" method="post" onsubmit="getactionfilename();"> |
<form name="fileaction" action="/adm/cfile" target="_parent" method="post" onsubmit="getactionfilename();"> |
<nobr> |
<nobr> |
<input type="hidden" name="filename" value="" /> |
<input type="hidden" name="filename" value="" /> |
Line 167 function getpostdata() {
|
Line 183 function getpostdata() {
|
<option value="newsequencefile">MT{New assembled sequence}:</option> |
<option value="newsequencefile">MT{New assembled sequence}:</option> |
<option value="newrightsfile">MT{New custom rights file}:</option> |
<option value="newrightsfile">MT{New custom rights file}:</option> |
<option value="newstyfile">MT{New style file}:</option> |
<option value="newstyfile">MT{New style file}:</option> |
|
<option value="newlibraryfile">MT{New library 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="move">MT{Move current file to}:</option> |
<option value="move">MT{Move current file to}:</option> |
Line 176 function getpostdata() {
|
Line 193 function getpostdata() {
|
</form> |
</form> |
</td> |
</td> |
</tr> |
</tr> |
</table> |
</table> |
</th> |
|
</tr> |
|
</table> |
|
</body> |
</body> |
</html> |
</html> |