[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm /html/adm/lonIcons navmap.folder.closed.gif navmap.folder.open.gif navmap.folders.xcf /interface lonnavmaps.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Mon, 14 Oct 2002 16:43:58 -0000
bowersj2 Mon Oct 14 12:43:58 2002 EDT
Added files:
/loncom/html/adm/lonIcons navmap.folder.closed.gif
navmap.folder.open.gif navmap.folders.xcf
Modified files:
/loncom/homework lonhomework.pm
/loncom/interface lonnavmaps.pm
Log:
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.92 loncom/homework/lonhomework.pm:1.93
--- loncom/homework/lonhomework.pm:1.92 Thu Sep 26 12:54:36 2002
+++ loncom/homework/lonhomework.pm Mon Oct 14 12:43:58 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.92 2002/09/26 16:54:36 bowersj2 Exp $
+# $Id: lonhomework.pm,v 1.93 2002/10/14 16:43:58 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -506,7 +506,7 @@
#my $t0 = [&gettimeofday()];
my $request=$_[0];
-# if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;}
+ if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;}
if (&setupheader($request)) { return OK; }
$ENV{'request.uri'}=$request->uri;
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.76 loncom/interface/lonnavmaps.pm:1.77
--- loncom/interface/lonnavmaps.pm:1.76 Mon Oct 14 10:14:49 2002
+++ loncom/interface/lonnavmaps.pm Mon Oct 14 12:43:58 2002
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.76 2002/10/14 14:14:49 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.77 2002/10/14 16:43:58 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1076,7 +1076,7 @@
} else {
@parts[0] = "0"; # this is to get past foreach loop below
# you can consider a non-problem resource as a resource
- # with only one part without loss
+ # with only one part without loss
}
# Display one part, in event of network error.
@@ -1132,7 +1132,7 @@
my $mapId = $curRes->map_pc();
my $nowOpen = !defined($filterHash{$mapId});
$icon = $nowOpen ?
- "folder_closed.gif" : "folder_opened.gif";
+ "navmap.folder.closed.gif" : "navmap.folder.open.gif";
$icon = "<img src=\"/adm/lonIcons/$icon\" alt=\"\" border=\"0\" />";
$linkopen = "<a href=\"/adm/navmaps?filter=";
$linkopen .= ($nowOpen xor $condition) ?
@@ -1165,7 +1165,7 @@
}
# FIRST COL: The resource indentation, branch icon, and name
- $r->print(" <tr><td align=\"left\" valign=\"bottom\">\n");
+ $r->print(" <tr><td align=\"left\" valign=\"center\">\n");
# print indentation
for (my $i = 0; $i < $indentLevel - $deltalevel; $i++) {
@@ -1219,7 +1219,7 @@
}
}
- $r->print("<td align=\"left\" valign=\"bottom\">$discussionHTML$feedbackHTML</td>");
+ $r->print("<td align=\"left\" valign=\"center\">$discussionHTML$feedbackHTML</td>");
# Is this the first displayed part of a multi-part problem
# that has not been condensed, so we should suppress these two
@@ -1232,7 +1232,7 @@
my $icon = $statusIconMap{$curRes->status($part)};
my $alt = $iconAltTags{$icon};
if ($icon) {
- $r->print("<td valign=\"bottom\" width=\"50\" align=\"right\">$linkopen<img src=\"/adm/lonIcons/$icon\" border=\"0\" alt=\"$alt\" />$linkclose</td>\n");
+ $r->print("<td valign=\"center\" width=\"50\" align=\"right\">$linkopen<img src=\"/adm/lonIcons/$icon\" border=\"0\" alt=\"$alt\" />$linkclose</td>\n");
} else {
$r->print("<td></td>\n");
}
@@ -1241,7 +1241,7 @@
}
# FOURTH COL: Text description
- $r->print("<td $colorizer align=\"right\" valign=\"bottom\">\n");
+ $r->print("<td $colorizer align=\"right\" valign=\"center\">\n");
if ($curRes->kind() eq "res" &&
$curRes->is_problem() &&
Index: loncom/html/adm/lonIcons/navmap.folders.xcf
+++ loncom/html/adm/lonIcons/navmap.folders.xcf
gimp xcf v001 # P L uW{]bcg!i#m'o)s-t.x2y3z5}7~89:=>?@BCDEFHHIJKMOPPRSTVXY\]¥_Ħ`ƨbɫe˭g̮iαkвlӵoշqsغuڽwݿy{}Ɓʄˆ͇ωԎגڔޘ B B G _ ; <
# Minus
# # % k k k _ # Plus
# # k k k # Box
# # # #GG #GG #GG #GG #GG #GG #GG #GG GU # #GG #GG #GG #GG #GG #GG #GG #GG GU # #GG #GG #GG #GG #GG #GG #GG #GG GU x Pasted Layer
8 L \ uu {uu uu uu uĽ uu uu uĽ uu uӖĽ uӖ uƽ u WW bb]WW bWW WxW Wx WW WxW Wx WxW Wxù Wx Wx} Wx oo2}{{ oo2{sle`YTP oo2}{{yys oo2{sog`YTPMIF oo2}{yysqo oo2}sog`YVPMJF@@ o2}{{yysqolgg 2sogbYVPMJF@@::7 2}{{yysollgee B Background (0ms)
8 ɿ º ļ ƽ{ u 8 ʿ } ù~xs źytmg b ƽztoic] W 8 yoe\SMHB {qg]TOHC=7 }si_VPID>82- uk`XPJE?93.'! wlbYRKF@:5.)# 8