2012-06-04 14:58:40 +00:00
<? php
2013-09-30 16:21:08 +00:00
//application details
$apps [ $x ][ 'name' ] = "Menu Manager" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'uuid' ] = "f4b3b3d2-6287-489c-2a00-64529e46f2d7" ;
$apps [ $x ][ 'category' ] = "Core" ;
$apps [ $x ][ 'subcategory' ] = "" ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'version' ] = "1.0" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'license' ] = "Mozilla Public License 1.1" ;
$apps [ $x ][ 'url' ] = "http://www.fusionpbx.com" ;
$apps [ $x ][ 'description' ][ 'en-us' ] = "The menu can be customized using this tool." ;
2020-03-20 20:47:13 +00:00
$apps [ $x ][ 'description' ][ 'en-gb' ] = "The menu can be customized using this tool." ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = "" ;
2017-04-27 07:41:55 +02:00
$apps [ $x ][ 'description' ][ 'de-at' ] = "Das Menü kann mit diesem Werkzeug angepasst werden." ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'de-ch' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-de' ] = "Das Menü kann mit diesem Werkzeug angepasst werden." ;
$apps [ $x ][ 'description' ][ 'es-cl' ] = "El menú puede ser personalizado utilizando esta herramienta" ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = "" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'description' ][ 'fr-ca' ] = "" ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = "Le menu peut être personnalisé ici" ;
$apps [ $x ][ 'description' ][ 'he-il' ] = "" ;
$apps [ $x ][ 'description' ][ 'it-it' ] = "" ;
2024-08-31 20:02:51 +04:00
$apps [ $x ][ 'description' ][ 'ka-ge' ] = "ამ ხელსაწყოთი შეგიძლიათ მენიუს ჩასწორება." ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'nl-nl' ] = "" ;
$apps [ $x ][ 'description' ][ 'pl-pl' ] = "" ;
2019-11-27 21:53:28 -03:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = "Os menus podem ser personalizados com esta ferramenta." ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = "O menu pode ser personalizado utilizando esta ferramenta." ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = "" ;
2017-04-25 03:37:00 +05:00
$apps [ $x ][ 'description' ][ 'ru-ru' ] = "Меню можно настроить с помощью этого инструмента" ;
2017-06-03 16:01:10 +01:00
$apps [ $x ][ 'description' ][ 'sv-se' ] = "" ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = "" ;
2012-06-04 14:58:40 +00:00
2013-09-30 16:21:08 +00:00
//permission details
2017-02-15 21:20:08 -07:00
$y = 0 ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_restore" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_group_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_group_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_group_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_item_group_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_language_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_language_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_language_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "menu_language_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2012-06-04 14:58:40 +00:00
2013-09-30 16:21:08 +00:00
//schema details
2017-02-15 21:20:08 -07:00
$y = 0 ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_menus" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "primary" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Enter the name of the menu." ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_language" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Enter the language." ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_description" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_desc" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Enter the description." ;
2022-09-18 00:54:37 -06:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 13:19:40 +00:00
2017-02-15 21:20:08 -07:00
$y ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_menu_items" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "v_menus" ;
$z = 0 ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
2014-09-20 02:51:48 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "primary" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_menus" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_parent_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_parent_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2019-10-09 22:37:11 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_title" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_link" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_str" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2016-05-02 14:42:06 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_icon" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2025-03-03 14:08:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_icon_color" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_category" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_protected" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_order" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_description" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_desc" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_add_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_add_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_mod_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_mod_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2022-09-18 00:54:37 -06:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 13:19:40 +00:00
2017-02-15 21:20:08 -07:00
$y ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_menu_item_groups" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "v_menu_items" ;
$z = 0 ;
2014-09-20 02:51:48 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_group_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "primary" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_menus" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_menu_items" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "menu_item_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "group_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2015-05-09 20:22:19 +00:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "group_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_groups" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "group_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2022-09-18 00:54:37 -06:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 13:19:40 +00:00
2017-02-15 21:20:08 -07:00
$y ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_menu_languages" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "v_menus" ;
$z = 0 ;
2014-09-20 02:51:48 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_language_uuid" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
2014-09-20 02:51:48 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "primary" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_menus" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "menu_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "menu_item_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "menu_item_guid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_menu_items" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "menu_item_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_language" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2013-09-30 16:21:08 +00:00
$z ++ ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "menu_item_title" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2020-01-09 20:14:05 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = "true" ;
2022-09-18 00:54:37 -06:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "insert_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_date" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = 'timestamptz' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = 'date' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "update_user" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "char(36)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-10-11 14:12:52 +00:00
2025-03-06 20:08:48 -07:00
//default settings
$y = 0 ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = "30c52958-b79f-499e-9f48-665a038bba23" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = "menu" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = "domain_change_reload" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = "boolean" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = "false" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = "Reloads the menu when switching tenants/domains - useful when custom menu(s) exist." ;
$y ++ ;
?>