--- loncom/publisher/lonpublisher.pm 2003/09/16 21:30:28 1.132
+++ loncom/publisher/lonpublisher.pm 2003/09/24 19:38:18 1.135
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.132 2003/09/16 21:30:28 albertel Exp $
+# $Id: lonpublisher.pm,v 1.135 2003/09/24 19:38:18 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -142,6 +142,7 @@ use DBI;
use Apache::lonnet();
use Apache::loncommon();
use Apache::lonmysql;
+use Apache::lonlocal;
use vars qw(%metadatafields %metadatakeys);
my %addid;
@@ -324,6 +325,7 @@ string which presents the form field (fo
#########################################
sub textfield {
my ($title,$name,$value)=@_;
+ $title=&mt($title);
my $uctitle=uc($title);
return "\n
$uctitle:".
"
".
@@ -337,6 +339,7 @@ sub hiddenfield {
sub selectbox {
my ($title,$name,$value,$functionref,@idlist)=@_;
+ $title=&mt($title);
my $uctitle=uc($title);
$value=(split(/\s*,\s*/,$value))[-1];
my $selout="\n
$uctitle:".
@@ -667,7 +670,10 @@ sub fix_ids_and_indices {
}
}
# probably a image type