mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Optimization: Email suggestions (#821)
This commit is contained in:
parent
c69faa4264
commit
9b517feca3
2 changed files with 27 additions and 12 deletions
|
|
@ -116,3 +116,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popups {
|
||||||
|
.b-open-pgp-key-add-content {
|
||||||
|
&.modal {
|
||||||
|
|
||||||
|
width: 645px;
|
||||||
|
|
||||||
|
.inputKey {
|
||||||
|
width: 600px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1506,19 +1506,20 @@ class PdoAddressBook
|
||||||
|
|
||||||
foreach ($aItems as $sEmail)
|
foreach ($aItems as $sEmail)
|
||||||
{
|
{
|
||||||
if ($bName)
|
if ($sEmail)
|
||||||
{
|
{
|
||||||
$aResult[] = array($sEmail, $sNameItem);
|
if ($bName)
|
||||||
}
|
{
|
||||||
|
$aResult[] = array($sEmail, $sNameItem);
|
||||||
if ($bNick)
|
}
|
||||||
{
|
else if ($bNick)
|
||||||
$aResult[] = array($sEmail, $sNickItem);
|
{
|
||||||
}
|
$aResult[] = array($sEmail, $sNickItem);
|
||||||
|
}
|
||||||
if (!$bName && !$bNick)
|
else
|
||||||
{
|
{
|
||||||
$aResult[] = array($sEmail, '');
|
$aResult[] = array($sEmail, '');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue