version 1.146, 2003/09/18 20:32:29
|
version 1.148, 2003/09/19 12:26:56
|
Line 599 sub newproblem {
|
Line 599 sub newproblem {
|
} |
} |
my $instructions; |
my $instructions; |
if ($templatelist) { $instructions=&mt(", select a template from the pull-down menu below.").'<br />'.&mt("Then");} |
if ($templatelist) { $instructions=&mt(", select a template from the pull-down menu below.").'<br />'.&mt("Then");} |
my %lt=&texthash( 'create' => 'Creating a new', |
my %lt=&Apache::lonlocal::texthash( 'create' => 'Creating a new', |
'resource' => 'resource', |
'resource' => 'resource', |
'requested' => 'The requested file', |
'requested' => 'The requested file', |
'not exist' => 'currently does not exist', |
'not exist' => 'currently does not exist', |
Line 609 sub newproblem {
|
Line 609 sub newproblem {
|
'button' => 'button'); |
'button' => 'button'); |
$request->print(<<ENDNEWPROBLEM); |
$request->print(<<ENDNEWPROBLEM); |
<body bgcolor="#FFFFFF"> |
<body bgcolor="#FFFFFF"> |
<h1>$lt{'create'} $extension <{'resource'}</h1> |
<h1>$lt{'create'} $extension $lt{'resource'}</h1> |
$errormsg |
$errormsg |
$lt{'requested'} <tt>$url</tt> $lt{'not exist'}. |
$lt{'requested'} <tt>$url</tt> $lt{'not exist'}. |
<p> |
<p> |
Line 629 ENDNEWPROBLEM
|
Line 629 ENDNEWPROBLEM
|
sub view_or_edit_menu { |
sub view_or_edit_menu { |
my ($request) = @_; |
my ($request) = @_; |
my $url=$request->uri; |
my $url=$request->uri; |
my %lt=&texthash( 'would' => 'Would you like to', |
my %lt=&Apache::lonlocal::texthash( 'would' => 'Would you like to', |
'view' => 'View', |
'view' => 'View', |
'Edit' => 'edit', |
'Edit' => 'edit', |
'or' => 'or', |
'or' => 'or', |