[LON-CAPA-cvs] cvs: rat / lonratedt.pm loncom/homework structuretags.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 14 Jan 2004 22:47:46 -0000
www Wed Jan 14 17:47:46 2004 EDT
Modified files:
/loncom/homework structuretags.pm
/rat lonratedt.pm
Log:
More help.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.227 loncom/homework/structuretags.pm:1.228
--- loncom/homework/structuretags.pm:1.227 Wed Nov 26 14:35:28 2003
+++ loncom/homework/structuretags.pm Wed Jan 14 17:47:46 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.227 2003/11/26 19:35:28 albertel Exp $
+# $Id: structuretags.pm,v 1.228 2004/01/14 22:47:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -186,8 +186,9 @@
<input type="submit" name="problemmode" value="'.&mt('EditXML').'" />
<input type="submit" name="Undo" value="'.&mt('undo').'" /> <hr />
<input type="submit" name="submit" value="'.&mt('Submit Changes and Edit').'" />
- <input type="submit" name="submit" value="'.&mt('Submit Changes and View').'" /><br /><p> </p><table border="0"><tr><td bgcolor="#DDDDDD">
- ';
+ <input type="submit" name="submit" value="'.&mt('Submit Changes and View').'" /><br />'.
+ &Apache::loncommon::help_open_topic('Problem_Editor_XML_Index','Problem Editing Help').
+ '<table border="0"><tr><td bgcolor="#DDDDDD">';
}
sub problem_edit_footer {
@@ -208,8 +209,9 @@
onChange="javascript:document.lonhomework.changerandseed.click()" /></nobr>
<input type="checkbox" name="showallfoils" ';
if (defined($ENV{'form.showallfoils'})) { $result.='checked="on"'; }
- $result.= ' />'.&mt(' Show All Foils').'
- <hr />';
+ $result.= ' />'.&mt(' Show All Foils').
+ &Apache::loncommon::help_open_topic('Problem_Editor_Testing_Area','Testing Problems').
+ '<hr />';
my $numtoanalyze=$ENV{'form.numtoanalyze'};
if (!$numtoanalyze) { $numtoanalyze=20; }
$result.= '<input type="submit" name="problemmode" value='.
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.51 rat/lonratedt.pm:1.52
--- rat/lonratedt.pm:1.51 Fri Jan 2 16:00:56 2004
+++ rat/lonratedt.pm Wed Jan 14 17:47:46 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Edit Handler for RAT Maps
#
-# $Id: lonratedt.pm,v 1.51 2004/01/02 21:00:56 www Exp $
+# $Id: lonratedt.pm,v 1.52 2004/01/14 22:47:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -414,12 +414,15 @@
my $adv=shift;
my $output='<form method=post>';
if ($adv==1) {
- $output.='<input type=submit name=forceadv value="'.&mt('Edit').'">';
+ $output.='<input type=submit name=forceadv value="'.&mt('Edit').'">'.
+ &Apache::loncommon::help_open_topic('Sequence_Advanced_Editor_Creation');;
} else {
unless ($adv==2) {
- $output.='<input type=submit name=forcesmp value="'.&mt('Simple Edit').'">';
+ $output.='<input type=submit name=forcesmp value="'.&mt('Simple Edit').'">'.
+ &Apache::loncommon::help_open_topic('Sequence_Simple_Editor_Creation');
}
- $output.='<input type=submit name=forceadv value="'.&mt('Advanced Edit').'">';
+ $output.='<input type=submit name=forceadv value="'.&mt('Advanced Edit').'">'.
+ &Apache::loncommon::help_open_topic('Sequence_Advanced_Editor_Creation');
}
return $output.'</form><hr>';
}