mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
fix differences between working installation and tree
nocaseavailable.php: enabled call restrictions and outside times calculation, modified querry to count samples waitnextcase_interface2.php: added quota filter for sample search , display "End work" button if no case aailable
This commit is contained in:
@@ -111,19 +111,19 @@ function xhtml_table($content,$fields,$head = false,$class = "tclass",$highlight
|
||||
{
|
||||
$tot = array();
|
||||
if ($class == "tclass") $class = "table-hover table-bordered table-condensed tclass";
|
||||
print "<table class=\"$class\" id=\"$id\" name=\"$name\">";
|
||||
print "<table class=\"$class\" id=\"$id\" name=\"$name\" data-toggle=\"table\" data-toolbar=\"filter-bar\" data-show-filter=\"true\" >";
|
||||
if ($head)
|
||||
{
|
||||
print "<thead class='highlight'><tr>"; // ! added <thead> to table formatting
|
||||
print "<thead class=\"highlight\"><tr>";
|
||||
foreach ($head as $e)
|
||||
print"<th>$e</th>";
|
||||
print"<th data-field=\"$e\" data-sortable=\"true\">$e</th>";
|
||||
print "</tr></thead>";
|
||||
}
|
||||
print "<tbody>";
|
||||
foreach($content as $row)
|
||||
{
|
||||
if ($highlight && isset($row[key($highlight)]) && $row[key($highlight)] == current($highlight))
|
||||
print "<tr class='highlight'>";
|
||||
print "<tr class=\"highlight\">";
|
||||
else
|
||||
print "<tr>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user