all link colors now in CSS

This commit is contained in:
angles 2001-05-04 18:54:20 +00:00
parent 48f0743bdb
commit 530c986b4e
2 changed files with 8 additions and 5 deletions

View File

@ -18,7 +18,7 @@
}
else
{
$csshover = 'A:hover{ text-decoration:none; color: "' .$phpgw_info['theme']['hovlink'] .'" }';
$csshover = 'A:hover{ text-decoration:none; color: ' .$phpgw_info['theme']['hovlink'] .'; }';
};
$bodyheader = 'BGCOLOR="'.$phpgw_info['theme']['bg_color'].'" ALINK="'.$phpgw_info['theme']['alink'].'" LINK="'.$phpgw_info['theme']['link'].'" VLINK="'.$phpgw_info['theme']['vlink'].'"';
@ -34,6 +34,9 @@
$tpl->set_var('font_family',$phpgw_info['theme']['font']);
$tpl->set_var('website_title',$phpgw_info['server']['site_title']);
$tpl->set_var('body_tags',$bodyheader);
$tpl->set_var('css_link',$phpgw_info['theme']['link']);
$tpl->set_var('css_alink',$phpgw_info['theme']['alink']);
$tpl->set_var('css_vlink',$phpgw_info['theme']['vlink']);
$tpl->set_var('css_hovlink',$csshover);
$tpl->pfp('out','head');
unset($tpl);

View File

@ -9,12 +9,12 @@
<STYLE type="text/css">
<!--
a { text-decoration:none; }
A:link{ text-decoration:none }
A:visted{ text-decoration:none }
A:active{ text-decoration:none }
A:link{ text-decoration:none; color: {css_link}; }
A:visted{ text-decoration:none; color: {css_vlink}; }
A:active{ text-decoration:none; color: {css_alink}; }
{css_hovlink}
body { margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: "{font_family}" }
.tablink { color: "#000000"; }
.tablink { color: #000000; }
-->
</STYLE>
<script language="javascript">