--- rat/lonratedt.pm 2003/12/12 15:16:35 1.49
+++ rat/lonratedt.pm 2004/01/15 03:18:20 1.53
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Edit Handler for RAT Maps
#
-# $Id: lonratedt.pm,v 1.49 2003/12/12 15:16:35 sakharuk Exp $
+# $Id: lonratedt.pm,v 1.53 2004/01/15 03:18:20 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -414,12 +414,15 @@ sub buttons {
my $adv=shift;
my $output='
';
}
@@ -527,6 +530,7 @@ sub storemap {
sub editscript {
my $mode=shift;
+ my $resurl=&Apache::loncommon::lastresurl();
return(< ---- Import and Paste Area ---- '.
+ ''.
join("\n",map {
$idx++;
if ($_) {
@@ -907,7 +911,10 @@ sub smpedt {
# ----------------------------------------------------- Start simple RAT screen
my $editscript=&editscript('simple');
- my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef,1);
+ my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef,1).
+ &Apache::loncommon::help_open_topic('Sequence_Simple_Editor_Creation').
+ &Apache::loncommon::help_open_faq(6).
+ &Apache::loncommon::help_open_bug('RAT');
my %lt=&Apache::lonlocal::texthash(
'sa' => 'Save',
'nt' => 'New Title',
@@ -1063,9 +1070,11 @@ sub viewmap {
my ($r,$url,$adv,$errtext)=@_;
$r->print(''.
&Apache::loncommon::bodytag('Edit Content of a Map').
- &buttons($adv));
+ &Apache::loncommon::help_open_faq(6).
+ &Apache::loncommon::help_open_bug('RAT').
+ &buttons($adv));
if ($errtext) {
- $r->print($errtext.'
');
+ $r->print($errtext.'
');
}
my $idx=0;
$r->print(''.$url.'
');