All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 02679530 authored by Timothy Stack's avatar Timothy Stack

Add a row for node features in SHOWNODE().

parent 7fedfcbc
......@@ -1932,6 +1932,24 @@ function SHOWNODE($node_id, $flags = 0) {
<A href='shownodetype.php3?node_type=$type'>$type</td>
</tr>\n";
$feat_result =
DBQueryFatal("select * from node_features ".
"where node_id='$node_id'");
if (mysql_num_rows($feat_result) > 0) {
$features = "";
$count = 0;
while ($row = mysql_fetch_array($feat_result)) {
if (($count > 0) && ($count % 2) == 0) {
$features .= "<br>";
}
$features .= " $row[feature]";
$count += 1;
}
echo "<tr><td>Features:</td><td class=left>$features</td></tr>";
}
if (!$short && !$noperm) {
echo "<tr>
<td>Def Boot OS:</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment