All tags/Identicon
Accounts at a glance
An identicon per e-mail address: trimmed and lower-cased first, so every spelling of one address is one picture.
<?php
$accounts = [
[ 'email' => 'herbert@example.com', 'joined' => '2009-03-14' ],
[ 'email' => 'ada@example.org', 'joined' => '2015-12-10' ],
[ 'email' => 'grace@example.net', 'joined' => '2018-07-01' ],
[ 'email' => 'alan@example.com', 'joined' => '2021-06-23' ],
[ 'email' => 'Ada@Example.org ', 'joined' => 'the same address, other spelling' ] ];
?>
<table style="border-collapse:collapse; width:100%">
{accounts}
<tr style="border-bottom:1px solid rgba(127,127,127,.25)">
<td style="padding:8px 12px 8px 0; width:48px">{identicon $email, size=40}</td>
<td style="padding:8px 0"><strong>{$email}</strong><br><small style="opacity:.7">{$joined}</small></td>
</tr>
{/accounts}
</table>
|
herbert@example.com 2009-03-14 |
|
|
ada@example.org 2015-12-10 |
|
|
grace@example.net 2018-07-01 |
|
|
alan@example.com 2021-06-23 |
|
|
Ada@Example.org the same address, other spelling |