2012-06-04 14:58:40 +00:00
<? php
2014-12-26 03:27:54 +00:00
2012-06-04 14:58:40 +00:00
//application details
$apps [ $x ][ 'name' ] = "Modules" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'uuid' ] = "5eb9cba1-8cb6-5d21-e36a-775475f16b5e" ;
$apps [ $x ][ 'category' ] = "Switch" ;
$apps [ $x ][ 'subcategory' ] = "" ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'version' ] = "1.0" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'license' ] = "Mozilla Public License 1.1" ;
$apps [ $x ][ 'url' ] = "http://www.fusionpbx.com" ;
$apps [ $x ][ 'description' ][ 'en-us' ] = "Modules extend the features of the system. Use this page to enable or disable modules." ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-at' ] = "Module erweitern die Funktionalität des Systems. Verwende diese Seite um Module zu aktivieren oder deaktivieren." ;
$apps [ $x ][ 'description' ][ 'de-ch' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-de' ] = "Module erweitern die Funktionalität des Systems. Verwende diese Seite um Module zu aktivieren oder deaktivieren." ;
2014-02-13 20:15:59 +00:00
$apps [ $x ][ 'description' ][ 'es-cl' ] = "Los módulos extienden las funcionalidades del sistema. Utilice esta página para activar o desactivar los diferentes módulos." ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'description' ][ 'es-mx' ] = "" ;
$apps [ $x ][ 'description' ][ 'fr-ca' ] = "" ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = "Les Modules augmentent les fonctionnalitées du système. Ici il est possible de les activer et de les désactiver." ;
$apps [ $x ][ 'description' ][ 'he-il' ] = "" ;
$apps [ $x ][ 'description' ][ 'it-it' ] = "" ;
$apps [ $x ][ 'description' ][ 'nl-nl' ] = "" ;
$apps [ $x ][ 'description' ][ 'pl-pl' ] = "" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = "" ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = "Módulos estendem as funcionalidades do sistema. Utilize esta página para habilitar ou desabilitar módulos." ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = "" ;
$apps [ $x ][ 'description' ][ 'ru-ru' ] = "" ;
$apps [ $x ][ 'description' ][ 'sv-se' ] = "" ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = "" ;
2012-06-04 14:58:40 +00:00
//permission details
2017-02-15 22:47:48 -07:00
$y = 0 ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "module_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = "49fdb4e1-5417-0e7a-84b3-eb77f5263ea7" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "module_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "module_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "module_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2012-06-04 14:58:40 +00:00
//schema details
2017-02-15 22:47:48 -07:00
$y = 0 ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_modules" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "module_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "serial" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "integer" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "INT NOT NULL AUTO_INCREMENT" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "module_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' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "v_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_label" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "modulelabel" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "modulename" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_category" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "modulecat" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2016-05-24 23:12:01 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "module_order" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_enabled" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "moduleenabled" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_default_enabled" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "moduledefaultenabled" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "module_description" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "moduledesc" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
2017-06-03 16:00:20 +01:00
?>