Remove Observium images

This commit is contained in:
Paul Gear
2013-10-29 08:08:23 +10:00
parent 87f656bd50
commit 7603d2074b
7 changed files with 16 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -1,3 +1,8 @@
<?php
if ($config['title_image'])
{
?>
<div id="gumax-header"> <div id="gumax-header">
<div id="gumax-p-logo"> <div id="gumax-p-logo">
<div id="p-logo"> <div id="p-logo">
@@ -11,6 +16,7 @@
<div id="gumax-p-login"> <div id="gumax-p-login">
<?php <?php
}
$toggle_url = preg_replace('/(\?|\&)widescreen=(yes|no)/', '', $_SERVER['REQUEST_URI']); $toggle_url = preg_replace('/(\?|\&)widescreen=(yes|no)/', '', $_SERVER['REQUEST_URI']);
if (strstr($toggle_url,'?')) { $toggle_url .= '&amp;'; } else { $toggle_url .= '?'; } if (strstr($toggle_url,'?')) { $toggle_url .= '&amp;'; } else { $toggle_url .= '?'; }

View File

@@ -119,7 +119,9 @@ if ($config['page_title']) { $config['page_title_prefix'] = $config['page_title'
if ($config['page_refresh']) { echo(' <meta http-equiv="refresh" content="'.$config['page_refresh'].'" />' . "\n"); } if ($config['page_refresh']) { echo(' <meta http-equiv="refresh" content="'.$config['page_refresh'].'" />' . "\n"); }
?> ?>
<link href="<?php echo($config['stylesheet']); ?>" rel="stylesheet" type="text/css" /> <link href="<?php echo($config['stylesheet']); ?>" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo($config['favicon']); ?>" /> <?php
if ($config['favicon']) { echo(' <link rel="shortcut icon" href="'.$config['favicon'].'" />' . "\n"); }
?>
<link rel="stylesheet" href="css/mktree.css" type="text/css" /> <link rel="stylesheet" href="css/mktree.css" type="text/css" />
<?php <?php
if ($_SESSION['widescreen']) { echo('<link rel="stylesheet" href="css/styles-wide.css" type="text/css" />'); } if ($_SESSION['widescreen']) { echo('<link rel="stylesheet" href="css/styles-wide.css" type="text/css" />'); }

View File

@@ -2,7 +2,7 @@
<div style="margin: auto; width:650px; padding:5px;"> <div style="margin: auto; width:650px; padding:5px;">
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><img src="images/login-hamster.png" alt="Login required" /></td> <td><img alt="Login required" /></td> <!-- FIXME: add logo -->
<td> <td>
<form action="" method="post" name="logonform"> <form action="" method="post" name="logonform">
<h3>Please log in:</h3> <h3>Please log in:</h3>

View File

@@ -98,14 +98,16 @@ if (isset($_SERVER["SERVER_NAME"]) && isset($_SERVER["SERVER_PORT"]))
} }
} }
$config['title_image'] = "images/observium-logo.png"; $config['project_name'] = "LibreNMS";
$config['title_image'] = "";
$config['stylesheet'] = "css/styles.css"; $config['stylesheet'] = "css/styles.css";
$config['mono_font'] = "DejaVuSansMono"; $config['mono_font'] = "DejaVuSansMono";
$config['favicon'] = "images/observium-icon.png"; $config['favicon'] = "";
$config['header_color'] = "#1F334E"; $config['header_color'] = "#1F334E";
$config['page_refresh'] = "300"; // Refresh the page every xx seconds, 0 to disable $config['page_refresh'] = "300"; // Refresh the page every xx seconds, 0 to disable
$config['front_page'] = "pages/front/default.php"; $config['front_page'] = "pages/front/default.php";
$config['page_title_prefix'] = "Observium :: Network Observation and Monitoring"; $config['page_title_prefix'] = "";
$config['page_title_suffix'] = $config['project_name'];
$config['timestamp_format'] = 'd-m-Y H:i:s'; $config['timestamp_format'] = 'd-m-Y H:i:s';
$config['page_gen'] = 1; $config['page_gen'] = 1;
$config['web_header'] = "header.inc.php"; # in html/includes $config['web_header'] = "header.inc.php"; # in html/includes

View File

@@ -647,7 +647,7 @@ function notify($device,$title,$message)
$emails = parse_email($email); $emails = parse_email($email);
if ($emails) if ($emails)
{ {
$message_header = $config['page_title_prefix']."\n\n"; $message_header = $config['page_title_prefix']."\n\n"; // FIXME: use different config element
$message_footer = "\n\nE-mail sent to: "; $message_footer = "\n\nE-mail sent to: ";
$i = 0; $i = 0;
$count = count($emails); $count = count($emails);