add custom-notes field to admins and customers, fixes #1471

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-01-15 21:30:15 +01:00
parent 4e9b2d0e97
commit 7b8885c05e
13 changed files with 78 additions and 6 deletions

View File

@@ -93,6 +93,9 @@ if ($page == 'admins'
$row = str_replace_array('-1', 'UL', $row, 'customers domains diskspace traffic mysqls emails email_accounts email_forwarders email_quota ftps subdomains tickets');
$row = htmlentities_array($row);
$row['custom_notes'] = ($row['custom_notes'] != '') ? nl2br($row['custom_notes']) : '';
eval("\$admins.=\"" . getTemplate("admins/admins_admin") . "\";");
$count++;
}