Add the missing column to device edit.

This commit is contained in:
Mark Crane 2013-12-29 06:49:28 +00:00
parent ef1fc93499
commit eed350b38a
2 changed files with 7 additions and 4 deletions

View File

@ -349,14 +349,14 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_devices';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'device_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_category';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_id';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the key ID.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_category';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_type';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.';

View File

@ -574,6 +574,9 @@ require_once "resources/require.php";
echo " ".$row['device_key_id']." \n";
echo " </td>\n";
echo " <td class='vtable'>\n";
echo " ".$row['device_key_category']."&nbsp;\n";
echo " </td>\n";
echo " <td class='vtable'>\n";
echo " ".$row['device_key_type']."&nbsp;\n";
echo " </td>\n";
echo " <td class='vtable'>\n";