fix from Mike A. Oligny for visual indicatorthat the cell is clickable

This commit is contained in:
reinerj 2004-05-04 13:00:00 +00:00
parent d0ee0be13b
commit e8f1738d1d
2 changed files with 3 additions and 1 deletions

View File

@ -265,11 +265,13 @@
($char == 'all' && !$this->cquery))
{
$GLOBALS['phpgw']->template->set_var('charbgcolor','#000000');
$GLOBALS['phpgw']->template->set_var('charhovbgcolor','#000000');
$GLOBALS['phpgw']->template->set_var('charcolor','#FFFFFF');
}
else
{
$GLOBALS['phpgw']->template->set_var('charbgcolor',$GLOBALS['phpgw_info']['theme']['th_bg']);
$GLOBALS['phpgw']->template->set_var('charhovbgcolor','#e3ecf3');
$GLOBALS['phpgw']->template->set_var('charcolor',$GLOBALS['phpgw_info']['theme']['th_text']);
}
if($char == 'all')

View File

@ -74,5 +74,5 @@ function check_all(which)
</div>
<!-- END addressbook_footer -->
<!-- BEGIN addressbook_alpha --><td bgcolor="{charbgcolor}" align="center"><a href="{charlink}"><font color="{charcolor}">{char}</a></font></td>
<!-- BEGIN addressbook_alpha --><td bgcolor="{charbgcolor}" align="center" onMouseOver="this.style.backgroundColor='{charhovbgcolor}';" onMouseOut="this.style.backgroundColor='{charbgcolor}';" onClick="window.location='{charlink}';"><a href="{charlink}"><font color="{charcolor}">{char}</a></font></td>
<!-- END addressbook_alpha -->