mirror of
https://github.com/moparisthebest/Server-Status-Page
synced 2025-02-16 05:40:10 -05:00
Version array can now be strings, created online css
This commit is contained in:
parent
ae637db6b8
commit
9610883c87
@ -670,6 +670,11 @@ img {
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
.online {
|
||||
color: #00FF00;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.offline {
|
||||
color: #FF0000;
|
||||
font-weight: bold;
|
||||
|
@ -358,7 +358,7 @@ function echoForm($name, $ip, $port, $version, $message, $pic_url, $edit = false
|
||||
|
||||
<td><select name="version">
|
||||
<?php
|
||||
$v_template = "<option>%d</option>\n";
|
||||
$v_template = "<option>%s</option>\n";
|
||||
if (isset($version))
|
||||
printf($v_template, $version);
|
||||
foreach ($g_versions as $v)
|
||||
|
@ -23,7 +23,7 @@ if (!defined('SS_PAGE'))
|
||||
function search() {
|
||||
forceLogin();
|
||||
|
||||
$chk_template = "\t\t" . '<input type="checkbox" checked="checked" name="versions[]" value="%d" /> %d <br />' . "\n";
|
||||
$chk_template = "\t\t" . '<input type="checkbox" checked="checked" name="versions[]" value="%s" /> %s <br />' . "\n";
|
||||
global $g_versions;
|
||||
|
||||
echo "Enter your search terms.<br />";
|
||||
|
Loading…
Reference in New Issue
Block a user