}
.orange {
background-color: orange;
- }
+ }
.red {
background-color: red;
- }
+ }
.table1colour {
background-color: $Header::table1colour;
}
$connstate = "<span>$Lang::tr{'connecting'} $profileused</span>" if (system("ps -ef | grep -q '[p]ppd'"));
}
}
-
+
return $connstate;
}
if($hostname_print eq "") { #print blank space if no hostname is found
$hostname_print = " ";
}
-
+
# separate active and expired leases with a horizontal line
if(($entries{$key}->{expired}) && ($divider_printed == 0)) {
$divider_printed = 1;
}
$id++;
}
-
+
print "<form method='post' action='/cgi-bin/dhcp.cgi'><tr>\n";
if ($id % 2) {
$col="bgcolor='$table1colour'";
} else {
$col="bgcolor='$table2colour'";
}
-
+
if($entries{$key}->{expired}) {
print <<END
<td align='center' $col><input type='hidden' name='FIX_ADDR' value='$entries{$key}->{IPADDR}' /><strike><i>$entries{$key}->{IPADDR}</i></strike></td>