[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonhelpmenu.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jun 2006 22:09:03 -0000
albertel Mon Jun 26 18:09:03 2006 EDT
Modified files:
/loncom/interface lonhelpmenu.pm loncommon.pm
Log:
- moving dfont styling to css
Index: loncom/interface/lonhelpmenu.pm
diff -u loncom/interface/lonhelpmenu.pm:1.27 loncom/interface/lonhelpmenu.pm:1.28
--- loncom/interface/lonhelpmenu.pm:1.27 Mon Jun 26 18:06:19 2006
+++ loncom/interface/lonhelpmenu.pm Mon Jun 26 18:09:01 2006
@@ -156,32 +156,32 @@
<tr>
END
if ($component_url) {
- $r->print("<td align=\"center\"><b><a href=\"$component_url\" target=\"bodyframe\">".
- '<img src="'.$location.'/help/gif/smallHelp.gif" border="0" alt="(Topic help)" valign="middle" /> Topic help</a></b> </td>');
+ $r->print("<td><a href=\"$component_url\" target=\"bodyframe\">".
+ '<img src="'.$location.'/help/gif/smallHelp.gif" border="0" alt="(Topic help)" valign="middle" /> Topic help</a> </td>');
}
if ($requestmail =~ m/^[^\@]+\@[^\@]+$/) {
$r->print('
- <td align="center"> <b><a href="javascript:gohelpdesk()"><img src="'.$location.'/lonIcons/helpdesk.gif" border="0" alt="(Ask helpdesk)" valign="middle" /> Ask helpdesk</a></b> </td>');
+ <td> <a href="javascript:gohelpdesk()"><img src="'.$location.'/lonIcons/helpdesk.gif" border="0" alt="(Ask helpdesk)" valign="middle" /> Ask helpdesk</a> </td>');
}
if ($faq && $env{'user.adv'}) {
$r->print(<<END);
- <td align="center">
- <b><a href="$faqbaseurl/fom/cache/$faq.html" target="bodyframe"><img src="$location/lonMisc/smallFAQ.gif" border="0" alt="(FAQ)" valign="middle" /> FAQ</a></b>
+ <td>
+ <a href="$faqbaseurl/fom/cache/$faq.html" target="bodyframe"><img src="$location/lonMisc/smallFAQ.gif" border="0" alt="(FAQ)" valign="middle" /> FAQ</a>
</td>
END
}
if ($env{'user.adv'}) {
$r->print(<<END);
- <td align="center"> <b><a href="$bugurl" target="bodyframe"><img src="$location/lonMisc/smallBug.gif" border="0" alt="(Report a bug)" valign="middle" /> Report a bug</a> </b></td>
+ <td> <b><a href="$bugurl" target="bodyframe"><img src="$location/lonMisc/smallBug.gif" border="0" alt="(Report a bug)" valign="middle" /> Report a bug</a> </b></td>
END
}
if ($stayOnPage) {
$r->print(<<END);
- <td align="center"> <b><a href="$origurl" target="_top"><img src="$location/lonIcons/move_up.gif" border="0" alt="(Return to last location)" valign="middle" /> Return to last location</a></b> </td>
+ <td> <a href="$origurl" target="_top"><img src="$location/lonIcons/move_up.gif" border="0" alt="(Return to last location)" valign="middle" /> Return to last location</a> </td>
END
} else {
$r->print(<<END);
- <td align="center"> <b><a href="javascript:window.close()" target="_top"><img src="$location/lonIcons/closepage.gif" border="0" alt="(Close window)" valign="bottom" /> Close</a></b> </td>
+ <td> <a href="javascript:window.close()" target="_top"><img src="$location/lonIcons/closepage.gif" border="0" alt="(Close window)" valign="bottom" /> Close</a> </td>
END
}
$r->print(<<END);
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.398 loncom/interface/loncommon.pm:1.399
--- loncom/interface/loncommon.pm:1.398 Mon Jun 26 18:06:19 2006
+++ loncom/interface/loncommon.pm Mon Jun 26 18:09:01 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.398 2006/06/26 22:06:19 albertel Exp $
+# $Id: loncommon.pm,v 1.399 2006/06/26 22:09:01 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3442,6 +3442,8 @@
table#LC_helpmenu_links tr td {
padding: 1px;
background: $tabbg;
+ text-align: center;
+ font-weight: bold;
}
table#LC_helpmenu_links a:link, table#LC_helpmenu_links a:visited,