version 1.21, 2002/09/06 15:18:23
|
version 1.22, 2002/09/10 19:01:09
|
Line 270 sub handler {
|
Line 270 sub handler {
|
|
|
$iconpath = $r->dir_config('lonIconsURL') . "/"; |
$iconpath = $r->dir_config('lonIconsURL') . "/"; |
|
|
|
my $now=time; |
|
|
# print screen |
# print screen |
$r->print(<<ENDDOCUMENT); |
$r->print(<<ENDDOCUMENT); |
<html> |
<html> |
Line 295 function makenewext(targetname) {
|
Line 297 function makenewext(targetname) {
|
window.open('/adm/rat/extpickframe.html'); |
window.open('/adm/rat/extpickframe.html'); |
} |
} |
|
|
|
function makesmppage() { |
|
var title=prompt('Listed Title for the Page'); |
|
this.document.forms.newsmppg.importdetail.value= |
|
title+'=/adm/$udom/$uname/$now/smppg'; |
|
this.document.forms.newsmppg.submit(); |
|
} |
|
|
|
function makebulboard() { |
|
var title=prompt('Listed Title for the Bulletin Board'); |
|
this.document.forms.newbul.importdetail.value= |
|
title+'=/adm/$udom/$uname/$now/bulletinboard'; |
|
this.document.forms.newbul.submit(); |
|
} |
|
|
function finishpick() { |
function finishpick() { |
var title=this.document.forms.extimport.title.value; |
var title=this.document.forms.extimport.title.value; |
var url=this.document.forms.extimport.url.value; |
var url=this.document.forms.extimport.url.value; |
Line 376 value="Syllabus=/public/$coursedom/$cour
|
Line 392 value="Syllabus=/public/$coursedom/$cour
|
value="Navigate Content=/adm/navmaps"> |
value="Navigate Content=/adm/navmaps"> |
<input name="newnav" type="submit" value="Navigate Content" /> |
<input name="newnav" type="submit" value="Navigate Content" /> |
</form> |
</form> |
|
<form action="/adm/coursedocs" method="post" name="newsmppg"> |
|
<input type="hidden" name="folder" value="$folder"> |
|
<input type="hidden" name="foldername" value="$ENV{'form.foldername'}"> |
|
<input type=hidden name="importdetail" value=""> |
|
<input name="newsmppg" type="button" value="Simple Page" |
|
onClick="javascript:makesmppage();" /> |
|
</form> |
|
<form action="/adm/coursedocs" method="post" name="newbul"> |
|
<input type="hidden" name="folder" value="$folder"> |
|
<input type="hidden" name="foldername" value="$ENV{'form.foldername'}"> |
|
<input type=hidden name="importdetail" value=""> |
|
<input name="newbulletin" type="button" value="Bulletin Board" |
|
onClick="javascript:makebulboard();" /> |
|
</form> |
<form action="/adm/coursedocs" method="post" name="newaboutme"> |
<form action="/adm/coursedocs" method="post" name="newaboutme"> |
<input type="hidden" name="folder" value="$folder"> |
<input type="hidden" name="folder" value="$folder"> |
<input type="hidden" name="foldername" value="$ENV{'form.foldername'}"> |
<input type="hidden" name="foldername" value="$ENV{'form.foldername'}"> |