[LON-CAPA-cvs] cvs: rat / lonratedt.pm lonratmenu.pm loncom/publisher lonpubdir.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jun 2006 22:47:36 -0000
albertel Mon Jun 26 18:47:36 2006 EDT
Modified files:
/loncom/publisher lonpubdir.pm
/rat lonratedt.pm lonratmenu.pm
Log:
- help_open_men changes
- also adding the location bar into res space browsing of simple rat
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.93 loncom/publisher/lonpubdir.pm:1.94
--- loncom/publisher/lonpubdir.pm:1.93 Thu Jun 22 16:49:19 2006
+++ loncom/publisher/lonpubdir.pm Mon Jun 26 18:47:27 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.93 2006/06/22 20:49:19 albertel Exp $
+# $Id: lonpubdir.pm,v 1.94 2006/06/26 22:47:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -195,7 +195,7 @@
my $formaction='/priv/'.$uname.$thisdisfn.'/';
$formaction=~s|/+|/|g;
- my $pagetitle .= &Apache::loncommon::help_open_menu('','','','',3,'Authoring').
+ my $pagetitle .= &Apache::loncommon::help_open_menu('','',3,'Authoring').
'<font face="Arial, Helvetica, sans-serif" size="+1"><b>Construction Space</b>:</font> '.
'<form name="dirs" method="post" action="'.$formaction.
'" target="_parent"><tt><b>'.
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.80 rat/lonratedt.pm:1.81
--- rat/lonratedt.pm:1.80 Mon Jun 19 05:42:56 2006
+++ rat/lonratedt.pm Mon Jun 26 18:47:35 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Edit Handler for RAT Maps
#
-# $Id: lonratedt.pm,v 1.80 2006/06/19 09:42:56 www Exp $
+# $Id: lonratedt.pm,v 1.81 2006/06/26 22:47:35 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -691,7 +691,7 @@
// -------------------------------------------------------- Open indexer window
function idxopen(mode) {
- var options="scrollbars=1,resizable=1,menubar=0";
+ var options="scrollbars=1,resizable=1,menubar=0,location=1,toolbar=1";
idxmode=mode;
idxflag=1;
idx=open("$resurl/?launch=1&mode=$mode&catalogmode="+mode,"idxout",options);
@@ -1101,10 +1101,9 @@
ENDJS
my $start_page = &Apache::loncommon::start_page(undef,$js).
- &Apache::loncommon::help_open_menu('',
- 'Sequence_Simple_Editor_Creation',
+ &Apache::loncommon::help_open_menu('Sequence_Simple_Editor_Creation',
'Sequence_Simple_Editor_Creation',
- '',6,'RAT');
+ 6,'RAT');
my $end_page = &Apache::loncommon::end_page();
$r->print(<<ENDSMPHEAD);
@@ -1198,7 +1197,7 @@
my ($r,$url,$adv,$errtext)=@_;
$r->print(
&Apache::loncommon::start_page('Edit Content of a Map').
- &Apache::loncommon::help_open_menu('','','','',6,'RAT').
+ &Apache::loncommon::help_open_menu('','',6,'RAT').
&buttons($adv));
if ($errtext) {
$r->print($errtext.'<hr />');
Index: rat/lonratmenu.pm
diff -u rat/lonratmenu.pm:1.7 rat/lonratmenu.pm:1.8
--- rat/lonratmenu.pm:1.7 Mon Jun 19 05:42:56 2006
+++ rat/lonratmenu.pm Mon Jun 26 18:47:35 2006
@@ -42,7 +42,7 @@
my $start_page =
&Apache::loncommon::start_page('Advanced Editor',$js,
{'add_entries' => \%loaditem,}).
- &Apache::loncommon::help_open_menu('','Sequence_Advanced_Editor_Creation','Sequence_Advanced_Editor_Creation','',6,'RAT');
+ &Apache::loncommon::help_open_menu('Sequence_Advanced_Editor_Creation','Sequence_Advanced_Editor_Creation',6,'RAT');
$r->print($start_page);
my $readfile=$r->uri;
$readfile=~s/\/loadonly\/adveditmenu$//;