version 1.55, 2003/05/13 15:41:20
|
version 1.56, 2003/05/21 00:48:27
|
Line 539 ENDHEADERS
|
Line 539 ENDHEADERS
|
$iconpath = $r->dir_config('lonIconsURL') . "/"; |
$iconpath = $r->dir_config('lonIconsURL') . "/"; |
|
|
my $now=time; |
my $now=time; |
|
# |
|
# FIXME: hack to disable new problem |
|
# |
|
my $noeggforyou=''; |
|
unless ($ENV{'user.debug'}) { |
|
$noeggforyou='alert("Sorry, not implemented yet."); return 0;'; |
|
} |
# print screen |
# print screen |
$r->print(<<ENDDOCUMENT); |
$r->print(<<ENDDOCUMENT); |
<html> |
<html> |
Line 575 function makesmppage() {
|
Line 581 function makesmppage() {
|
} |
} |
|
|
function makesmpproblem() { |
function makesmpproblem() { |
|
$noeggforyou |
var title=prompt('Listed Title for the Problem'); |
var title=prompt('Listed Title for the Problem'); |
if (title) { |
if (title) { |
this.document.forms.newsmpproblem.importdetail.value= |
this.document.forms.newsmpproblem.importdetail.value= |