[LON-CAPA-cvs] cvs: loncom /html/adm/lonIcons whitespace_21.gif /interface lonnavmaps.pm doc/loncapafiles loncapafiles.lpml
droeschl
droeschl@source.lon-capa.org
Tue, 24 Feb 2009 22:05:26 -0000
droeschl Tue Feb 24 22:05:26 2009 EDT
Added files:
/loncom/html/adm/lonIcons whitespace_21.gif
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom/interface lonnavmaps.pm
Log:
Added a new whitespace gif used for correct indentation in course content page.
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.628 doc/loncapafiles/loncapafiles.lpml:1.629
--- doc/loncapafiles/loncapafiles.lpml:1.628 Sun Feb 8 20:50:32 2009
+++ doc/loncapafiles/loncapafiles.lpml Tue Feb 24 22:05:18 2009
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.628 2009/02/08 20:50:32 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.629 2009/02/24 22:05:18 droeschl Exp $ -->
<!--
@@ -5684,6 +5684,7 @@
wav.gif;
wav_big.gif;
white_space_20_22.gif;
+whitespace_21.gif;
whitespace1.gif;
whitespace10.gif;
whitespace2.gif;
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.426 loncom/interface/lonnavmaps.pm:1.427
--- loncom/interface/lonnavmaps.pm:1.426 Tue Feb 24 20:10:30 2009
+++ loncom/interface/lonnavmaps.pm Tue Feb 24 22:05:26 2009
@@ -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.427 2009/02/24 22:05:26 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -870,8 +870,8 @@
# links to open and close the folder
- my $whitespaceLocation = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21_21.gif");
- my $linkopen = "<img src='$whitespaceLocation' alt='' />"."<a href=\"$link\">";
+ my $whitespace = $location.'/whitespace_21.gif';
+ my $linkopen = "<img src='$whitespace' alt='' />"."<a href=\"$link\">";
my $linkclose = "</a>";
# Default icon: unknown page
@@ -924,7 +924,7 @@
} else {
# Don't allow users to manipulate folder
$icon = "navmap.$folderType." . ($nowOpen ? 'closed' : 'open') . '.gif';
- $icon = "<img class=\"LC_space\" src='$whitespaceLocation' alt='' />"."<img class=\"LC_contentImage\" src='$location/$icon' alt=\"".($nowOpen ? &mt('Open Folder') : &mt('Close Folder')).' '.$title."\" />";
+ $icon = "<img class=\"LC_space\" src='$whitespace' alt='' />"."<img class=\"LC_contentImage\" src='$location/$icon' alt=\"".($nowOpen ? &mt('Open Folder') : &mt('Close Folder')).' '.$title."\" />";
$linkopen = "";
$linkclose = "";