--- loncom/interface/lonnavmaps.pm 2009/02/24 20:10:30 1.426
+++ loncom/interface/lonnavmaps.pm 2009/02/25 17:33:33 1.429
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.426 2009/02/24 20:10:30 droeschl Exp $
+# $Id: lonnavmaps.pm,v 1.429 2009/02/25 17:33:33 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -865,13 +865,13 @@ sub render_resource {
my $location=&Apache::loncommon::lonhttpdurl("/adm/lonIcons");
# If this is a new branch, label it so
if ($params->{'isNewBranch'}) {
- $newBranchText = "
";
+ $newBranchText = "
";
}
# links to open and close the folder
- my $whitespaceLocation = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21_21.gif");
- my $linkopen = "
"."";
+ my $whitespace = $location.'/whitespace_21.gif';
+ my $linkopen = "
"."";
my $linkclose = "";
# Default icon: unknown page
@@ -924,7 +924,7 @@ sub render_resource {
} else {
# Don't allow users to manipulate folder
$icon = "navmap.$folderType." . ($nowOpen ? 'closed' : 'open') . '.gif';
- $icon = "
"."
";
+ $icon = "
"."
";
$linkopen = "";
$linkclose = "";
@@ -1505,7 +1505,7 @@ END
$args->{'isNewBranch'} = 0;
$args->{'condensed'} = 0;
- my $location = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21_21.gif");
+ my $location = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21.gif");
$args->{'indentString'} = setDefault($args->{'indentString'}, "
");
$args->{'displayedHereMarker'} = 0;