diff --git a/wwwroot/inc/install.php b/wwwroot/inc/install.php index b141abf01..a4092816d 100644 --- a/wwwroot/inc/install.php +++ b/wwwroot/inc/install.php @@ -1070,7 +1070,7 @@ function get_pseudo_file ($name) ) ENGINE=InnoDB"; $query[] = "CREATE TABLE `TagStorage` ( - `entity_realm` enum('file','ipv4net','ipv4rspool','ipv4vs','ipvs','ipv6net','location','object','rack','user','vst') NOT NULL default 'object', + `entity_realm` enum('file','ipv4net','ipv4rspool','ipv4vs','ipvs','ipv6net','location','object','rack','row','user','vst') NOT NULL default 'object', `entity_id` int(10) unsigned NOT NULL, `tag_id` int(10) unsigned NOT NULL default '0', `tag_is_assignable` enum('yes','no') NOT NULL DEFAULT 'yes', diff --git a/wwwroot/inc/navigation.php b/wwwroot/inc/navigation.php index d83f59fed..6aa8b8f1f 100644 --- a/wwwroot/inc/navigation.php +++ b/wwwroot/inc/navigation.php @@ -124,14 +124,17 @@ $tabhandler['row']['editracks'] = 'renderRackSortForm'; $tabhandler['row']['newrack'] = 'renderNewRackForm'; $tabhandler['row']['log'] = 'renderObjectLogEditor'; +$tabhandler['row']['tags'] = 'renderEntityTags'; $tabhandler['row']['tagroller'] = 'renderTagRollerForRow'; $tabhandler['row']['files'] = 'renderFilesForEntity'; +$trigger['row']['tags'] = 'trigger_tags'; $ophandler['row']['edit']['clearSticker'] = 'clearSticker'; $ophandler['row']['edit']['deleteRow'] = 'deleteRow'; $ophandler['row']['edit']['updateRow'] = 'updateRow'; $ophandler['row']['newrack']['addRack'] = 'addRack'; $ophandler['row']['log']['add'] = 'addObjectlog'; $ophandler['row']['log']['del'] = 'tableHandler'; +$ophandler['row']['tags']['saveTags'] = 'saveEntityTags'; $ophandler['row']['tagroller']['rollTags'] = 'rollTags'; $ophandler['row']['files']['addFile'] = 'addFileToEntity'; $ophandler['row']['files']['linkFile'] = 'linkFileToEntity';