[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm structuretags.pm /xml scripttag.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 23 Sep 2002 17:25:24 -0000
albertel Mon Sep 23 13:25:24 2002 EDT
Modified files:
/loncom/xml scripttag.pm
/loncom/homework inputtags.pm structuretags.pm
Log:
- make the default fields wider
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.76 loncom/xml/scripttag.pm:1.77
--- loncom/xml/scripttag.pm:1.76 Wed Jul 24 16:10:43 2002
+++ loncom/xml/scripttag.pm Mon Sep 23 13:25:24 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# <script> definiton
#
-# $Id: scripttag.pm,v 1.76 2002/07/24 20:10:43 sakharuk Exp $
+# $Id: scripttag.pm,v 1.77 2002/09/23 17:25:24 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -71,7 +71,7 @@
#&Apache::run::run($bodytext,$safeeval);
#$result="<br /> <$token->[1]> output: <br />$bodytext<br />Source:<br />";
$result=&Apache::edit::tag_start($target,$token,'Script');
- $result.=&Apache::edit::editfield($token->[1],$bodytext,'',50,4);
+ $result.=&Apache::edit::editfield($token->[1],$bodytext,'',80,4);
}
} else {
if ($target ne "meta") {
@@ -118,7 +118,7 @@
# "<br /> <$token->[1]> output: <br />$bodytext<br />Source:<br />";
#$result.=&Apache::edit::editfield($token->[1],$bodytext,'',40,1);
$result=&Apache::edit::tag_start($target,$token,'Script With Display');
- $result.=&Apache::edit::editfield($token->[1],$bodytext,'',40,1)
+ $result.=&Apache::edit::editfield($token->[1],$bodytext,'',80,1)
}
return $result;
}
@@ -367,7 +367,7 @@
if ($target eq 'edit') {
$result=&Apache::edit::tag_start($target,$token);
my $bodytext=&Apache::lonxml::get_all_text("/comment",$$parser[$#$parser]);
- $result.=&Apache::edit::editfield($token->[1],$bodytext,'',40,4)
+ $result.=&Apache::edit::editfield($token->[1],$bodytext,'',80,4)
} elsif ( $target eq 'modified') {
$result=$token->[4].&Apache::edit::modifiedfield($token);
} elsif ( $target eq 'web' || $target eq 'tex' ||
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.61 loncom/homework/inputtags.pm:1.62
--- loncom/homework/inputtags.pm:1.61 Mon Sep 23 03:08:40 2002
+++ loncom/homework/inputtags.pm Mon Sep 23 13:25:24 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.61 2002/09/23 07:08:40 albertel Exp $
+# $Id: inputtags.pm,v 1.62 2002/09/23 17:25:24 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -110,7 +110,7 @@
$result.=&Apache::edit::text_arg('Rows:','rows',$token,4);
$result.=&Apache::edit::text_arg('Columns:','cols',$token,4);
my $bodytext=&Apache::lonxml::get_all_text("/textfield",$$parser[-1]);
- $result.=&Apache::edit::editfield($token->[1],$bodytext,'Text you want to appear by default:',50,2);
+ $result.=&Apache::edit::editfield($token->[1],$bodytext,'Text you want to appear by default:',80,2);
} elsif ($target eq 'modified') {
my $constructtag=&Apache::edit::get_new_args($token,$parstack,
$safeeval,'rows','cols');
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.115 loncom/homework/structuretags.pm:1.116
--- loncom/homework/structuretags.pm:1.115 Mon Sep 23 13:19:24 2002
+++ loncom/homework/structuretags.pm Mon Sep 23 13:25:24 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.115 2002/09/23 17:19:24 albertel Exp $
+# $Id: structuretags.pm,v 1.116 2002/09/23 17:25:24 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -750,7 +750,7 @@
<td>".
&Apache::edit::insertlist($target,$token).
&Apache::edit::end_row().&Apache::edit::start_spanning_row()."\n".
- &Apache::edit::editfield($token->[1],$text,"",50,4);
+ &Apache::edit::editfield($token->[1],$text,"",80,4);
}
if ($target eq 'modified') {
$text=&Apache::lonxml::get_all_text("endouttext",$$parser['-1']);