fix small things

git-svn-id: http://www.observium.org/svn/observer/trunk@3094 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-04-26 17:05:14 +00:00
parent a12c71df4e
commit 5ff144b058
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ $graphs['mysql'] = array('network_traffic', 'connections', 'command_counters',
foreach ($app_devices as $app_device)
{
echo('<tr class="list-device">');
echo('<td class="device-head" width=300px>'.generate_device_link($device, shorthost($app_device['hostname']), array('tab'=>'apps','app'=>$vars['app'])).'</td>');
echo('<td class="device-head" width=300px>'.generate_device_link($app_device, shorthost($app_device['hostname']), array('tab'=>'apps','app'=>$vars['app'])).'</td>');
echo('<td class="device-head" width=100px>'.$app_device['app_instance'].'</td>');
echo('<td class="device-head" width=100px>'.$app_device['app_status'].'</td>');
echo('<td></td>');

View File

@ -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)