--- loncom/interface/lonhelper.pm 2004/04/22 16:47:26 1.75
+++ loncom/interface/lonhelper.pm 2004/04/27 15:15:41 1.76
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.75 2004/04/22 16:47:26 albertel Exp $
+# $Id: lonhelper.pm,v 1.76 2004/04/27 15:15:41 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2671,6 +2671,7 @@ string honors the validation function, i
no strict;
@ISA = ("Apache::lonhelper::element");
use strict;
+use Apache::lonlocal;
BEGIN {
&Apache::lonhelper::register('Apache::lonhelper::string',
@@ -3102,7 +3103,7 @@ sub render {
# Print the granularity, depending on the action
if ($vars->{GRANULARITY} eq 'whole_course') {
- $resourceString .= '
'.&mt('for').' '.&mt('all resources in the course').'';
+ $resourceString .= ''.&mt('for all resources in the course').'';
$level = 9; # general course, see lonparmset.pm perldoc
$affectedResourceId = "0.0";
$symb = 'a';
@@ -3176,7 +3177,7 @@ sub render {
# Print targets
if ($vars->{TARGETS} eq 'course') {
- $result .= ''.&mt('for').' '.&mt('all students in course').'';
+ $result .= ''.&mt('for all students in course').'';
} elsif ($vars->{TARGETS} eq 'section') {
my $section = $vars->{SECTION_NAME};
$result .= "".&mt('for section')." $section";
@@ -3191,6 +3192,7 @@ sub render {
$username = substr($username, 0, rindex($username, ':'));
my $name = $classlist->{$username}->[6];
$result .= "".&mt('for')." $name";
+## $result .= "".&mt('for [_1]',"$name")."";
$level -= 6;
my ($uname, $udom) = split /:/, $vars->{USER_NAME};
$result .= "