--- loncom/interface/londocs.pm 2003/05/01 16:13:50 1.54 +++ loncom/interface/londocs.pm 2003/05/21 00:48:27 1.56 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.54 2003/05/01 16:13:50 www Exp $ +# $Id: londocs.pm,v 1.56 2003/05/21 00:48:27 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -539,7 +539,13 @@ ENDHEADERS $iconpath = $r->dir_config('lonIconsURL') . "/"; 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 $r->print(< @@ -574,6 +580,16 @@ function makesmppage() { } } +function makesmpproblem() { + $noeggforyou + var title=prompt('Listed Title for the Problem'); + if (title) { + this.document.forms.newsmpproblem.importdetail.value= + title+'=/adm/wrapper/uploaded/$udom/$uname/$now.problem'; + this.document.forms.newsmpproblem.submit(); + } +} + function makebulboard() { var title=prompt('Listed Title for the Bulletin Board'); if (title) { @@ -733,6 +749,13 @@ $help{'Navigate_Content'} $help{'Creating_From_Template'} +
+ + + + $help{'Creating_From_Template'} +