[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 02 Oct 2006 20:44:31 -0000


albertel		Mon Oct  2 16:44:31 2006 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - forgot <form> when doing mt cleanup
  - remove unneded translation strings
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.258 loncom/homework/lonhomework.pm:1.259
--- loncom/homework/lonhomework.pm:1.258	Mon Sep 25 15:41:56 2006
+++ loncom/homework/lonhomework.pm	Mon Oct  2 16:44:31 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.258 2006/09/25 19:41:56 albertel Exp $
+# $Id: lonhomework.pm,v 1.259 2006/10/02 20:44:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -986,16 +986,6 @@
 	my $instructions;
 	my $start_page = 
 	    &Apache::loncommon::start_page("Create New $extension");
-	if ($templatelist) { $instructions=&mt(", select a template from the pull-down menu below.").'<br />'.&mt("Then");}
-	my %lt=&Apache::lonlocal::texthash( 'create' => 'Creating a new',
-			  'resource' => 'resource',
-			  'requested' => 'The requested file',
-			  'not exist' => 'currently does not exist',
-			  'createnew' => 'To create a new',
-			  'click' => 'click on the',
-			  'Create' => 'Create',
-			  'button' => 'button');
-	my $extensionTranslated = &mt($extension);
 	$request->print("
 $start_page
 <h1>".&mt("Creating a new $extension resource.")."</h1>
@@ -1006,7 +996,7 @@
 <b>
 ".&mt("To create a new $extension, select a template from the".
       "pull-down menu below. Then click on the \"Create $extension\" button.")."</b>
-</p>");
+</p><form action=\"$url\" method=\"POST\">");
 
 	if (defined($templatelist)) {
 	    $request->print("<select name=\"template\">$templatelist</select>");