From 5ff144b058259f4d1613559b86f1503ea62bf220 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 26 Apr 2012 17:05:14 +0000 Subject: [PATCH] fix small things git-svn-id: http://www.observium.org/svn/observer/trunk@3094 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/apps/default.inc.php | 2 +- includes/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/pages/apps/default.inc.php b/html/pages/apps/default.inc.php index a09e008e9..0fcba8b23 100644 --- a/html/pages/apps/default.inc.php +++ b/html/pages/apps/default.inc.php @@ -19,7 +19,7 @@ $graphs['mysql'] = array('network_traffic', 'connections', 'command_counters', foreach ($app_devices as $app_device) { echo(''); - echo(''.generate_device_link($device, shorthost($app_device['hostname']), array('tab'=>'apps','app'=>$vars['app'])).''); + echo(''.generate_device_link($app_device, shorthost($app_device['hostname']), array('tab'=>'apps','app'=>$vars['app'])).''); echo(''.$app_device['app_instance'].''); echo(''.$app_device['app_status'].''); echo(''); diff --git a/includes/functions.php b/includes/functions.php index 05928b947..273337742 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -533,8 +533,8 @@ function notify($device,$title,$message) $emails = parse_email($email); if ($emails) { - $message_header = $config['page_title_prefix']; - $message_footer .= "E-mail sent to: "; + $message_header = $config['page_title_prefix']."\n"; + $message_footer = "E-mail sent to: "; $i = 0; $count = count($emails); foreach ($emails as $email => $email_name)