Webgui code improvements for dropdown handling
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
* 0.2.0 2026-08-18 First public release tho
|
||||
* 0.2.1 2026-08-28 Foreign keys, bugfixes and output sanitation tho
|
||||
* 0.2.2 2026-09-21 Lots of improvements and fixes tho
|
||||
* 2026-10-01 Dropdown constants for readability tho
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -47,6 +48,22 @@ define('ROLE_CAPTAIN', 'captain');
|
||||
define('ROLE_HELMSMAN', 'helmsman');
|
||||
define('ROLE_SAILOR', 'sailor');
|
||||
|
||||
define('DD_HULL_TYPE', 1);
|
||||
define('DD_COMPANY_TYPE', 2);
|
||||
define('DD_STORAGE_TYPE', 3);
|
||||
define('DD_EQUIPMENT_CATEGORY', 4);
|
||||
define('DD_PROVISION_CATEGORY', 5);
|
||||
define('DD_PROVISION_UNIT', 6);
|
||||
define('DD_FUSE_TYPE', 7);
|
||||
define('DD_UNIT', 8);
|
||||
define('DD_BOX_TYPE', 9);
|
||||
define('DD_FUSE_BLOCK', 10);
|
||||
define('DD_CABLE_TYPE', 11);
|
||||
define('DD_CABLE_TECHNAME', 12);
|
||||
define('DD_INVENTORY_CATEGORY', 13);
|
||||
define('DD_BBN_VESSELDATA', 14);
|
||||
define('DD_MEASUREMENT_CATEGORY', 15);
|
||||
|
||||
// ========== PAGE START CODE =================================================
|
||||
|
||||
// global version string
|
||||
|
||||
Reference in New Issue
Block a user