Categories. A rack saved with a type that has // since been renamed or archived keeps it as an option, or the required select // would force the type to change on every edit. $rack_type_options = []; $sql_rack_types_select = mysqli_query($mysqli, "SELECT category_name, category_color, category_icon FROM categories WHERE category_type = 'rack_type' AND category_archived_at IS NULL ORDER BY category_order ASC, category_name ASC"); while ($row = mysqli_fetch_assoc($sql_rack_types_select)) { $rack_type_options[escapeHtml($row['category_name'])] = selectOptionColor($row['category_color'] ?? '', $row['category_icon'] ?? ''); } if ($rack_type !== '' && !isset($rack_type_options[$rack_type])) { $rack_type_options = [$rack_type => ''] + $rack_type_options; } ?>
U
0) { ?>
In use up to U
W
What the circuit or UPS feeding this rack can supply. Leave empty to skip power tracking.
['file', 'remove_photo', $rack_photo], 'rear' => ['file_rear', 'remove_photo_rear', $rack_photo_rear]] as $photo_side => [$photo_field, $photo_remove_field, $photo_current]) { ?>
" alt=" of the rack">