fix customer-mysql overview, set better email address for error-reports to send to
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -369,7 +369,7 @@ if ($page == 'overview') {
|
||||
$mail->Subject = '[Froxlor] Error report by user';
|
||||
$mail->AltBody = $mail_body;
|
||||
$mail->MsgHTML($mail_html);
|
||||
$mail->AddAddress('team@froxlor.org', 'Froxlor Developer Team');
|
||||
$mail->AddAddress('error-reports@froxlor.org', 'Froxlor Developer Team');
|
||||
$mail->Send();
|
||||
} catch(phpmailerException $e) {
|
||||
$mailerr_msg = $e->errorMessage();
|
||||
|
||||
@@ -66,7 +66,7 @@ if ($page == 'overview') {
|
||||
while ($row = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
if ($paging->checkDisplay($i)) {
|
||||
$row = htmlentities_array($row);
|
||||
$mbdata_stmt = Database::prepare("SELECT SUM(data_length + index_length) FROM information_schema.TABLES
|
||||
$mbdata_stmt = Database::prepare("SELECT SUM(data_length + index_length) as MB FROM information_schema.TABLES
|
||||
WHERE table_schema = :table_schema
|
||||
GROUP BY table_schema"
|
||||
);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<td>{$row['databasename']}</td>
|
||||
<td>{$row['description']}</td>
|
||||
<td>{$row['size']}</td>
|
||||
<if 1 < count($sql_root)><td>{$sql_root[$row['dbserver']]['caption']}</td></if>
|
||||
<if 1 < count($sql_root)><td>{$sql_root['host']}</td></if>
|
||||
<if $row['apsdb'] != '1'>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<td>{$row['databasename']}</td>
|
||||
<td>{$row['description']}</td>
|
||||
<td>{$row['size']}</td>
|
||||
<if 1 < count($sql_root)><td>{$sql_root[$row['dbserver']]['caption']}</td></if>
|
||||
<if 1 < count($sql_root)><td>{$sql_root['host']}</td></if>
|
||||
<if $row['apsdb'] != '1'>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
|
||||
Reference in New Issue
Block a user