[LON-CAPA-cvs] cvs: loncom /html/adm/lonIcons minilogo.gif /interface lonmenu.pm doc/loncapafiles loncapafiles.lpml
www
lon-capa-cvs@mail.lon-capa.org
Fri, 18 Apr 2003 17:51:32 -0000
www Fri Apr 18 13:51:32 2003 EDT
Added files:
/loncom/html/adm/lonIcons minilogo.gif
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom/interface lonmenu.pm
Log:
Small logo in upper right corner of inline Remote.
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.235 doc/loncapafiles/loncapafiles.lpml:1.236
--- doc/loncapafiles/loncapafiles.lpml:1.235 Fri Apr 18 13:40:14 2003
+++ doc/loncapafiles/loncapafiles.lpml Fri Apr 18 13:51:32 2003
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.235 2003/04/18 17:40:14 bowersj2 Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.236 2003/04/18 17:51:32 www Exp $ -->
<!--
@@ -3730,6 +3730,7 @@
lonlogos.gif;
lowerleft.gif;
lowerright.gif;
+minilogo.gif;
meta.gif;
meta_big.gif;
mov.gif;
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.64 loncom/interface/lonmenu.pm:1.65
--- loncom/interface/lonmenu.pm:1.64 Thu Apr 17 21:20:25 2003
+++ loncom/interface/lonmenu.pm Fri Apr 18 13:51:32 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.64 2003/04/18 01:20:25 www Exp $
+# $Id: lonmenu.pm,v 1.65 2003/04/18 17:51:32 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -143,6 +143,9 @@
<td bgcolor="$tabbg">
<a href="/adm/remote?action=launch&url=$escurl" target="_top">
<font color="$font">Launch Remote Control</font></a></td>
+<td bgcolor="$tabbg">
+<img align="right" src="/adm/lonIcons/minilogo.gif" />
+<b>LON-CAPA</b></td>
</tr>
</table>
<script>
@@ -203,9 +206,12 @@
my $reopen=&Apache::lonmenu::reopenmenu();
my $newmail='';
+ if ($noremote) {
+ $newmail='<table bgcolor="'.$pgbg.'" border="0" cellspacing="3" cellpadding="3" width="100%"><tr><td bgcolor="'.$tabbg.'">';
+ }
if (($textual) && ($ENV{'request.symb'}) && ($ENV{'request.course.id'})) {
my ($mapurl,$rid,$resurl)=split(/\_\_\_/,$ENV{'request.symb'});
- $newmail=$ENV{'course.'.$ENV{'request.course.id'}.'.description'};
+ $newmail.=$ENV{'course.'.$ENV{'request.course.id'}.'.description'};
my $maptitle=&Apache::lonnet::gettitle($mapurl);
my $restitle=&Apache::lonnet::gettitle($resurl);
if ($maptitle) {
@@ -220,6 +226,9 @@
$newmail=($textual?
'<b><a href="/adm/communicate">You have new messages</a></b><br />':
'swmenu.setstatus("you have","messages");');
+ }
+ if ($noremote) {
+ $newmail.='</td></tr></table>';
}
my $timesync=($textual?'':'swmenu.syncclock(1000*'.time.');');
my $tablestart=($noremote?'<table bgcolor="'.$pgbg.'" border="0" cellspacing="3" cellpadding="3" width="100%">':'');