version 1.8, 2001/04/03 14:57:17
|
version 1.10, 2001/04/09 23:58:03
|
Line 21 function getdfilename() {
|
Line 21 function getdfilename() {
|
} |
} |
} |
} |
|
|
|
function getufilename() { |
|
document.upublisher.filename.value=parent.LONCAPAToBePublished.location.href; |
|
if (document.upublisher.filename.value.indexOf('/adm/pubdir')==-1) { |
|
document.upublisher.submit(); |
|
} |
|
} |
|
|
function getrfilename() { |
function getrfilename() { |
document.rpublisher.filename.value=parent.LONCAPAToBePublished.location.href; |
document.rpublisher.filename.value=parent.LONCAPAToBePublished.location.href; |
if ((document.rpublisher.filename.value.charAt( |
if ((document.rpublisher.filename.value.charAt( |
Line 35 function getrfilename() {
|
Line 42 function getrfilename() {
|
</script> |
</script> |
</head> |
</head> |
<body bgcolor="#FFFFFF"> |
<body bgcolor="#FFFFFF"> |
<table><tr><td> |
<table border=2><tr><td> |
<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="Publish this Resource" onClick="getfilename();"> |
<input type="button" value="Publish this Resource" onClick="getfilename();"> |
Line 49 method="post">
|
Line 56 method="post">
|
<input type="hidden" name="filename" value=""> |
<input type="hidden" name="filename" value=""> |
<input type="button" value="Retrieve Old Version" onClick="getrfilename();"> |
<input type="button" value="Retrieve Old Version" onClick="getrfilename();"> |
</form></td><td> |
</form></td><td> |
<b>LON-CAPA Construction Space</b> |
<form name="upublisher" action="/adm/upload" target="_parent" |
|
method="post" enctype="multipart/form-data"> |
|
<input type="hidden" name="filename" value=""> |
|
<input type="file" name="upfile" size="20"> |
|
<input type="button" value="Upload file" onClick="getufilename();"> |
|
</form> |
</td></tr></table> |
</td></tr></table> |
</body> |
</body> |
</html> |
</html> |
|
|