templates/list-virtual, templates/admin_list-domain:

- display domain and mailbox description with correct encoding
  This fixes a regression in 2.3.5
  https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/4977778


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1342 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 13 years ago
parent fd0063bb6a
commit c7d48cbf55

@ -10,6 +10,11 @@
# Last update:
# $Id$
changes since the 2.3.5 release (postfixadmin-2.3 branch)
----------------------------------------------------------------
- display domain and mailbox description with correct encoding
Version 2.3.5 - 2012/01/16 - SVN r1335 (postfixadmin-2.3 branch)
----------------------------------------------------------------

@ -50,7 +50,7 @@ if (sizeof ($domain_properties) > 0)
{
print " <tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">\n";
print "<td><a href=\"list-virtual.php?domain=" . $domain_properties[$i]['domain'] . "\">" . $domain_properties[$i]['domain'] . "</a></td>";
print "<td>" . htmlentities($domain_properties[$i]['description']) . "</td>";
print "<td>" . htmlentities($domain_properties[$i]['description'], ENT_QUOTES, 'UTF-8') . "</td>";
print "<td>" . $domain_properties[$i]['alias_count'] . " / " . $domain_properties[$i]['aliases'] . "</td>";
print "<td>" . $domain_properties[$i]['mailbox_count'] . " / " . $domain_properties[$i]['mailboxes'] . "</td>";
if ($CONF['quota'] == 'YES')

@ -314,7 +314,7 @@ if (sizeof ($tMailbox) > 0) {
}
print " <td>" . htmlentities($tMailbox[$i]['name']) . "</td>\n";
print " <td>" . htmlentities($tMailbox[$i]['name'], ENT_QUOTES, 'UTF-8') . "</td>\n";
if ($CONF['quota'] == 'YES')
{
print " <td>";

Loading…
Cancel
Save