mirror of https://github.com/BOINC/boinc.git
web: add optional class param to row_heading()
This commit is contained in:
parent
8b06de2d28
commit
75d8bae2c5
|
@ -496,9 +496,10 @@ function row_heading_array($x, $attrs=null, $class='bg-primary') {
|
|||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
function row_heading($x) {
|
||||
echo '<tr><th class="bg-primary" colspan=99>'.$x.'</th></tr>
|
||||
';
|
||||
function row_heading($x, $class='bg-primary') {
|
||||
echo sprintf('<tr><th class="%s" colspan=99>%s</th></tr>
|
||||
', $class, $x
|
||||
);
|
||||
}
|
||||
|
||||
function random_string() {
|
||||
|
|
Loading…
Reference in New Issue