mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-25 06:31:59 +01:00
updated the css of the letter-search (like the accounts popup now)
This commit is contained in:
parent
b1b1f95590
commit
afd3ba4a95
@ -261,19 +261,9 @@
|
|||||||
$aar[] = 'all';
|
$aar[] = 'all';
|
||||||
foreach($aar as $char)
|
foreach($aar as $char)
|
||||||
{
|
{
|
||||||
if($this->cquery == $char ||
|
$GLOBALS['phpgw']->template->set_var('charclass',$this->cquery == $char ||
|
||||||
($char == 'all' && !$this->cquery))
|
$char == 'all' && !$this->cquery ? 'letter_box_active' : 'letter_box');
|
||||||
{
|
|
||||||
$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')
|
if($char == 'all')
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->template->set_var('charlink',
|
$GLOBALS['phpgw']->template->set_var('charlink',
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.5 KiB |
@ -18,21 +18,37 @@ function check_all(which)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style type="text/css">
|
||||||
|
.letter_box,.letter_box_active {
|
||||||
|
background-color: #D3DCE3;
|
||||||
|
width: 25px;
|
||||||
|
border: 1px solid #D3DCE3;
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
|
cusror: hand;
|
||||||
|
}
|
||||||
|
.letter_box_active {
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #E8F0F0;
|
||||||
|
}
|
||||||
|
.letter_box_active,.letter_box:hover {
|
||||||
|
border: 1px solid black;
|
||||||
|
background-color: #E8F0F0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
{lang_showing}
|
{lang_showing}
|
||||||
<br>{searchreturn}
|
<br>{searchreturn}
|
||||||
{search_filter}
|
{search_filter}
|
||||||
<!-- <table width="95%" border="1" cellspacing="1" cellpadding="3">
|
|
||||||
<form name="addr_type" action="{self_url}" method="POST">
|
<table width="95%" border="0">
|
||||||
<tr bgcolor="{th_bg}"><td>{lang_show} {contact_type_list}</td></tr></form>
|
<tr>
|
||||||
</table>-->
|
{alphalinks}
|
||||||
<table width="95%" border="1" cellspacing="1" cellpadding="3">
|
|
||||||
<tr>{alphalinks}
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table width="95%" border="0" cellspacing="1" cellpadding="3">
|
<table width="95%" border="0" cellspacing="1" cellpadding="3">
|
||||||
<form name="addr_index" action="{action_url}" method="POST">
|
<form name="addr_index" action="{action_url}" method="POST">
|
||||||
<tr bgcolor="{th_bg}">{cols}
|
<tr class="th">{cols}
|
||||||
<td width="5%" height="21"><font face="Arial, Helvetica, sans-serif" size="-1">{lang_actions}</font>
|
<td width="5%" height="21"><font face="Arial, Helvetica, sans-serif" size="-1">{lang_actions}</font>
|
||||||
<a href="javascript:check_all('select')"><img src="{check}" border="0" height="16" width="21" alt="{select_all}"></a></td>
|
<a href="javascript:check_all('select')"><img src="{check}" border="0" height="16" width="21" alt="{select_all}"></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -58,7 +74,7 @@ function check_all(which)
|
|||||||
</form>
|
</form>
|
||||||
</table>
|
</table>
|
||||||
<table border="0" cellspacing="0" cellpadding="2">
|
<table border="0" cellspacing="0" cellpadding="2">
|
||||||
<tr bgcolor="{th_bg}">
|
<tr class="th">
|
||||||
<form action="{add_url}" method="post"><td><input type="submit" name="Add" value="{lang_add}" /></td></form>
|
<form action="{add_url}" method="post"><td><input type="submit" name="Add" value="{lang_add}" /></td></form>
|
||||||
<form action="{vcard_url}" method="post"><td><input type="submit" name="AddVcard" value="{lang_addvcard}" /></td></form>
|
<form action="{vcard_url}" method="post"><td><input type="submit" name="AddVcard" value="{lang_addvcard}" /></td></form>
|
||||||
<form action="{import_url}" method="post"><td><input type="submit" name="Import" value="{lang_import}" /></td></form>
|
<form action="{import_url}" method="post"><td><input type="submit" name="Import" value="{lang_import}" /></td></form>
|
||||||
@ -74,5 +90,6 @@ function check_all(which)
|
|||||||
</div>
|
</div>
|
||||||
<!-- END addressbook_footer -->
|
<!-- END addressbook_footer -->
|
||||||
|
|
||||||
<!-- 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>
|
<!-- BEGIN addressbook_alpha -->
|
||||||
|
<td class="{charclass}" onclick="location.href='{charlink}';">{char}</td>
|
||||||
<!-- END addressbook_alpha -->
|
<!-- END addressbook_alpha -->
|
||||||
|
Loading…
Reference in New Issue
Block a user