--- loncom/homework/edit.pm 2013/07/04 16:06:13 1.146
+++ loncom/homework/edit.pm 2013/12/03 16:39:45 1.149
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.146 2013/07/04 16:06:13 bisitz Exp $
+# $Id: edit.pm,v 1.149 2013/12/03 16:39:45 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -161,7 +161,7 @@ sub tag_start {
if ($target eq "edit") {
my $tag=$token->[1];
if (!$description) {
- $description=&Apache::lonxml::description($token);
+ $description=&mt(&Apache::lonxml::description($token));
if (!$description) { $description="<$tag>"; }
}
$result.= &start_table($token)."
$description |
@@ -175,7 +175,7 @@ sub tag_start {
# "
\n";
my @help = Apache::lonxml::helpinfo($token);
if ($help[0]) {
- $result .= ' | ' .
+ $result .= ' | '.
Apache::loncommon::help_open_topic(@help);
} else { $result .= " | "; }
$result .= &end_row().&start_spanning_row();
@@ -203,7 +203,7 @@ sub start_table {
}
$Apache::edit::colordepth++;
push(@Apache::edit::inserttag,$token->[1]);
- my $result='';
+ my $result=' ';
$result.=' ';
return $result;
}
@@ -211,7 +211,7 @@ sub start_table {
sub end_table {
$Apache::edit::colordepth--;
my $result=' ';
- $result.=' |