From 9897b42321b613eb7f23e7c05edf7e14941d5dc3 Mon Sep 17 00:00:00 2001 From: mcuiza Date: Thu, 2 Jun 2016 11:40:30 -0400 Subject: [PATCH] HOR-1091: CLONE - Clean The Code - rbac/engine/* --- rbac/engine/content/languages/labels.xml | 172 --------- rbac/engine/content/languages/menus.xml | 64 ---- rbac/engine/content/messages.en | 18 - rbac/engine/content/messages.es | 18 - rbac/engine/content/messages.po | 18 - rbac/engine/content/rbac/myApp.cnt | 26 -- rbac/engine/data/mssql/insert.sql | 64 ---- rbac/engine/data/mssql/schema.sql | 361 ------------------ rbac/engine/data/mssql/sqldb.map | 2 - rbac/engine/data/oracle/create-db.sql | 4 - rbac/engine/data/oracle/schema.sql | 127 ------ rbac/engine/data/oracle/sqldb.map | 2 - rbac/engine/data/pgsql/create-db.sql | 2 - rbac/engine/data/pgsql/sqldb.map | 2 - rbac/engine/db/dbmodule_processmaker.php | 29 -- rbac/engine/includes/inc.application.php | 118 ------ rbac/engine/includes/inc.dynaForms.php | 224 ----------- rbac/engine/menus/backApp.php | 42 -- rbac/engine/menus/cancel.php | 47 --- rbac/engine/menus/rbac.appEdit.php | 64 ---- rbac/engine/menus/rbac.appView.php | 57 --- rbac/engine/menus/rbac.application.php | 34 -- rbac/engine/menus/rbac.authSource.php | 33 -- rbac/engine/menus/rbac.authentication.php | 33 -- rbac/engine/menus/rbac.login.php | 54 --- rbac/engine/menus/rbac.permission.php | 48 --- rbac/engine/menus/rbac.php | 66 ---- rbac/engine/menus/rbac.role.php | 65 ---- rbac/engine/menus/rbac.user.php | 52 --- rbac/engine/menus/rbac.userEdit.php | 69 ---- rbac/engine/menus/rbac.userView.php | 85 ----- rbac/engine/methods/controls/buscador2.php | 38 -- rbac/engine/methods/controls/calendar.js | 162 -------- rbac/engine/methods/controls/calendar.php | 183 --------- rbac/engine/methods/controls/img/cal.gif | Bin 127 -> 0 bytes rbac/engine/methods/controls/img/logo.gif | Bin 660 -> 0 bytes rbac/engine/methods/controls/img/next.gif | Bin 214 -> 0 bytes .../engine/methods/controls/img/next_year.gif | Bin 256 -> 0 bytes rbac/engine/methods/controls/img/pixel.gif | Bin 67 -> 0 bytes rbac/engine/methods/controls/img/prev.gif | Bin 212 -> 0 bytes .../engine/methods/controls/img/prev_year.gif | Bin 259 -> 0 bytes rbac/engine/methods/controls/img/tc.gif | Bin 8301 -> 0 bytes rbac/engine/methods/login/dbInfo.php | 89 ----- rbac/engine/methods/login/enumerate.php | 131 ------- rbac/engine/methods/login/login.php | 55 --- rbac/engine/methods/login/loginAjax.php | 82 ---- rbac/engine/methods/login/noViewPage.php | 37 -- rbac/engine/methods/login/showDBFiles.php | 34 -- rbac/engine/methods/login/verify-login.php | 85 ----- rbac/engine/methods/rbac/appDel.php | 36 -- rbac/engine/methods/rbac/appEdit.php | 50 --- rbac/engine/methods/rbac/appEdit2.php | 50 --- rbac/engine/methods/rbac/appList.php | 64 ---- rbac/engine/methods/rbac/appNew.php | 38 -- rbac/engine/methods/rbac/appNew2.php | 49 --- rbac/engine/methods/rbac/appView.php | 38 -- rbac/engine/methods/rbac/authAddUser.php | 49 --- rbac/engine/methods/rbac/authAjax.php | 219 ----------- rbac/engine/methods/rbac/authDel.php | 31 -- rbac/engine/methods/rbac/authEdit.php | 46 --- rbac/engine/methods/rbac/authEdit2.php | 45 --- rbac/engine/methods/rbac/authNew.php | 45 --- rbac/engine/methods/rbac/authNew2.php | 47 --- rbac/engine/methods/rbac/authTest.php | 133 ------- .../methods/rbac/authenticationList.php | 33 -- rbac/engine/methods/rbac/dbInfo.php | 92 ----- rbac/engine/methods/rbac/loadAuthSource.php | 27 -- rbac/engine/methods/rbac/loadPermView.php | 28 -- rbac/engine/methods/rbac/loadRoleProp.php | 35 -- rbac/engine/methods/rbac/loadRoleProp2.php | 40 -- rbac/engine/methods/rbac/loadRoleView.php | 28 -- rbac/engine/methods/rbac/loadUser.php | 27 -- rbac/engine/methods/rbac/loadUserRole.php | 29 -- rbac/engine/methods/rbac/message.php | 31 -- rbac/engine/methods/rbac/permDel.php | 38 -- rbac/engine/methods/rbac/permEdit.php | 48 --- rbac/engine/methods/rbac/permEdit2.php | 48 --- rbac/engine/methods/rbac/permList.php | 40 -- rbac/engine/methods/rbac/permNew.php | 56 --- rbac/engine/methods/rbac/permNew2.php | 48 --- rbac/engine/methods/rbac/roleDel.php | 38 -- rbac/engine/methods/rbac/roleEdit.php | 52 --- rbac/engine/methods/rbac/roleEdit2.php | 47 --- rbac/engine/methods/rbac/roleList.php | 38 -- rbac/engine/methods/rbac/roleNew.php | 63 --- rbac/engine/methods/rbac/roleNew2.php | 49 --- rbac/engine/methods/rbac/roleProp.php | 56 --- rbac/engine/methods/rbac/showFieldAjax.php | 206 ---------- rbac/engine/methods/rbac/userAssignRole.php | 70 ---- rbac/engine/methods/rbac/userAssignRole2.php | 37 -- rbac/engine/methods/rbac/userChangeLdap.php | 51 --- rbac/engine/methods/rbac/userChangeLdap2.php | 44 --- rbac/engine/methods/rbac/userChangePwd.php | 41 -- rbac/engine/methods/rbac/userChangePwd2.php | 43 --- rbac/engine/methods/rbac/userEdit.php | 155 -------- rbac/engine/methods/rbac/userEdit2.php | 98 ----- rbac/engine/methods/rbac/userList.php | 44 --- rbac/engine/methods/rbac/userNew.php | 33 -- rbac/engine/methods/rbac/userNew2.php | 75 ---- rbac/engine/methods/rbac/userNew3.php | 33 -- rbac/engine/methods/rbac/userNew4.php | 56 --- rbac/engine/methods/rbac/userRoleDel.php | 38 -- rbac/engine/methods/rbac/userRoleProp.php | 57 --- rbac/engine/methods/rbac/userTestLdap.php | 55 --- rbac/engine/methods/rbac/userTestLdap2.php | 62 --- rbac/engine/methods/rbac/userView.php | 47 --- rbac/engine/methods/rbac/userViewRole.php | 52 --- rbac/engine/pre_processor.php | 202 ---------- rbac/engine/tables/rbac.applications.list.php | 82 ---- .../tables/rbac.authentication.list.php | 42 -- rbac/engine/tables/rbac.permissions.list.php | 68 ---- rbac/engine/tables/rbac.roles.list.php | 71 ---- rbac/engine/tables/rbac.users.list.php | 78 ---- rbac/engine/tables/rbac.users.role.php | 89 ----- rbac/engine/templates/authListUsers.html | 71 ---- rbac/engine/templates/filterform.html | 111 ------ rbac/engine/templates/formFilter.html | 113 ------ rbac/engine/templates/grid.html | 107 ------ rbac/engine/templates/login/showDBFiles.php | 116 ------ rbac/engine/templates/paged-table.html | 58 --- rbac/engine/templates/paged-table.php | 221 ----------- rbac/engine/templates/popupMenu.html | 33 -- rbac/engine/templates/publish.php | 53 --- .../templates/testAuthenticationSource.html | 17 - .../templates/testAuthenticationSource.php | 256 ------------- rbac/engine/templates/toolbar.html | 21 - rbac/engine/templates/treePermRole.php | 173 --------- rbac/engine/templates/xmlform.html | 123 ------ rbac/engine/templates/xmlmenu.html | 77 ---- rbac/engine/xmlform/login.html | 33 -- rbac/engine/xmlform/login/login.es | 39 -- rbac/engine/xmlform/login/login.xml | 19 - rbac/engine/xmlform/login/noViewPage.xml | 19 - rbac/engine/xmlform/login/nologin.xml | 28 -- rbac/engine/xmlform/rbac/appEdit.xml | 58 --- rbac/engine/xmlform/rbac/appMenu.xml | 16 - rbac/engine/xmlform/rbac/appNew.es | 72 ---- rbac/engine/xmlform/rbac/appNew.xml | 41 -- .../engine/xmlform/rbac/applicationsList.html | 18 - rbac/engine/xmlform/rbac/applicationsList.xml | 39 -- .../xmlform/rbac/applicationsListCriteria.xml | 28 -- rbac/engine/xmlform/rbac/authAddUser.es | 21 - rbac/engine/xmlform/rbac/authAddUser.html | 22 -- rbac/engine/xmlform/rbac/authAddUser.xml | 125 ------ rbac/engine/xmlform/rbac/authNew.es | 103 ----- rbac/engine/xmlform/rbac/authNew.xml | 81 ---- .../xmlform/rbac/authenticationList.xml | 27 -- .../xmlform/rbac/authenticationsList.es | 44 --- .../xmlform/rbac/authenticationsList.xml | 27 -- rbac/engine/xmlform/rbac/dbInfo.es | 98 ----- rbac/engine/xmlform/rbac/dbInfo.xml | 79 ---- .../xmlform/rbac/noMoreRolesAvailable.xml | 18 - rbac/engine/xmlform/rbac/permEdit.xml | 38 -- rbac/engine/xmlform/rbac/permNew.xml | 47 --- rbac/engine/xmlform/rbac/roleEdit.es | 56 --- rbac/engine/xmlform/rbac/roleEdit.xml | 35 -- rbac/engine/xmlform/rbac/roleNew.xml | 52 --- rbac/engine/xmlform/rbac/userAssignRole.en | 57 --- rbac/engine/xmlform/rbac/userAssignRole.es | 57 --- rbac/engine/xmlform/rbac/userAssignRole.xml | 35 -- rbac/engine/xmlform/rbac/userAssignRole3.xml | 45 --- rbac/engine/xmlform/rbac/userChangeLdap.xml | 53 --- rbac/engine/xmlform/rbac/userChangePwd.xml | 28 -- rbac/engine/xmlform/rbac/userEdit.es | 98 ----- rbac/engine/xmlform/rbac/userEdit.xml | 77 ---- rbac/engine/xmlform/rbac/userNew.es | 53 --- rbac/engine/xmlform/rbac/userNew.xml | 33 -- rbac/engine/xmlform/rbac/userNewPwd.xml | 28 -- rbac/engine/xmlform/rbac/userTestLdap.xml | 26 -- rbac/engine/xmlform/rbac/userView.xml | 73 ---- rbac/engine/xmlform/rbac/usersList.xml | 41 -- rbac/engine/xmlform/rbac/usersListFilter.xml | 52 --- rbac/engine/xmlform/rbac/usersListMenu.xml | 16 - rbac/engine/xmlform/rbac/usersRolesList.xml | 26 -- 174 files changed, 10387 deletions(-) delete mode 100755 rbac/engine/content/languages/labels.xml delete mode 100755 rbac/engine/content/languages/menus.xml delete mode 100755 rbac/engine/content/messages.en delete mode 100755 rbac/engine/content/messages.es delete mode 100755 rbac/engine/content/messages.po delete mode 100755 rbac/engine/content/rbac/myApp.cnt delete mode 100755 rbac/engine/data/mssql/insert.sql delete mode 100755 rbac/engine/data/mssql/schema.sql delete mode 100755 rbac/engine/data/mssql/sqldb.map delete mode 100755 rbac/engine/data/oracle/create-db.sql delete mode 100755 rbac/engine/data/oracle/schema.sql delete mode 100755 rbac/engine/data/oracle/sqldb.map delete mode 100755 rbac/engine/data/pgsql/create-db.sql delete mode 100755 rbac/engine/data/pgsql/sqldb.map delete mode 100755 rbac/engine/db/dbmodule_processmaker.php delete mode 100755 rbac/engine/includes/inc.application.php delete mode 100755 rbac/engine/includes/inc.dynaForms.php delete mode 100755 rbac/engine/menus/backApp.php delete mode 100755 rbac/engine/menus/cancel.php delete mode 100755 rbac/engine/menus/rbac.appEdit.php delete mode 100755 rbac/engine/menus/rbac.appView.php delete mode 100755 rbac/engine/menus/rbac.application.php delete mode 100755 rbac/engine/menus/rbac.authSource.php delete mode 100755 rbac/engine/menus/rbac.authentication.php delete mode 100755 rbac/engine/menus/rbac.login.php delete mode 100755 rbac/engine/menus/rbac.permission.php delete mode 100755 rbac/engine/menus/rbac.php delete mode 100755 rbac/engine/menus/rbac.role.php delete mode 100755 rbac/engine/menus/rbac.user.php delete mode 100755 rbac/engine/menus/rbac.userEdit.php delete mode 100755 rbac/engine/menus/rbac.userView.php delete mode 100755 rbac/engine/methods/controls/buscador2.php delete mode 100755 rbac/engine/methods/controls/calendar.js delete mode 100755 rbac/engine/methods/controls/calendar.php delete mode 100755 rbac/engine/methods/controls/img/cal.gif delete mode 100755 rbac/engine/methods/controls/img/logo.gif delete mode 100755 rbac/engine/methods/controls/img/next.gif delete mode 100755 rbac/engine/methods/controls/img/next_year.gif delete mode 100755 rbac/engine/methods/controls/img/pixel.gif delete mode 100755 rbac/engine/methods/controls/img/prev.gif delete mode 100755 rbac/engine/methods/controls/img/prev_year.gif delete mode 100755 rbac/engine/methods/controls/img/tc.gif delete mode 100755 rbac/engine/methods/login/dbInfo.php delete mode 100755 rbac/engine/methods/login/enumerate.php delete mode 100755 rbac/engine/methods/login/login.php delete mode 100755 rbac/engine/methods/login/loginAjax.php delete mode 100755 rbac/engine/methods/login/noViewPage.php delete mode 100755 rbac/engine/methods/login/showDBFiles.php delete mode 100755 rbac/engine/methods/login/verify-login.php delete mode 100755 rbac/engine/methods/rbac/appDel.php delete mode 100755 rbac/engine/methods/rbac/appEdit.php delete mode 100755 rbac/engine/methods/rbac/appEdit2.php delete mode 100755 rbac/engine/methods/rbac/appList.php delete mode 100755 rbac/engine/methods/rbac/appNew.php delete mode 100755 rbac/engine/methods/rbac/appNew2.php delete mode 100755 rbac/engine/methods/rbac/appView.php delete mode 100755 rbac/engine/methods/rbac/authAddUser.php delete mode 100755 rbac/engine/methods/rbac/authAjax.php delete mode 100755 rbac/engine/methods/rbac/authDel.php delete mode 100755 rbac/engine/methods/rbac/authEdit.php delete mode 100755 rbac/engine/methods/rbac/authEdit2.php delete mode 100755 rbac/engine/methods/rbac/authNew.php delete mode 100755 rbac/engine/methods/rbac/authNew2.php delete mode 100755 rbac/engine/methods/rbac/authTest.php delete mode 100755 rbac/engine/methods/rbac/authenticationList.php delete mode 100755 rbac/engine/methods/rbac/dbInfo.php delete mode 100755 rbac/engine/methods/rbac/loadAuthSource.php delete mode 100755 rbac/engine/methods/rbac/loadPermView.php delete mode 100755 rbac/engine/methods/rbac/loadRoleProp.php delete mode 100755 rbac/engine/methods/rbac/loadRoleProp2.php delete mode 100755 rbac/engine/methods/rbac/loadRoleView.php delete mode 100755 rbac/engine/methods/rbac/loadUser.php delete mode 100755 rbac/engine/methods/rbac/loadUserRole.php delete mode 100755 rbac/engine/methods/rbac/message.php delete mode 100755 rbac/engine/methods/rbac/permDel.php delete mode 100755 rbac/engine/methods/rbac/permEdit.php delete mode 100755 rbac/engine/methods/rbac/permEdit2.php delete mode 100755 rbac/engine/methods/rbac/permList.php delete mode 100755 rbac/engine/methods/rbac/permNew.php delete mode 100755 rbac/engine/methods/rbac/permNew2.php delete mode 100755 rbac/engine/methods/rbac/roleDel.php delete mode 100755 rbac/engine/methods/rbac/roleEdit.php delete mode 100755 rbac/engine/methods/rbac/roleEdit2.php delete mode 100755 rbac/engine/methods/rbac/roleList.php delete mode 100755 rbac/engine/methods/rbac/roleNew.php delete mode 100755 rbac/engine/methods/rbac/roleNew2.php delete mode 100755 rbac/engine/methods/rbac/roleProp.php delete mode 100755 rbac/engine/methods/rbac/showFieldAjax.php delete mode 100755 rbac/engine/methods/rbac/userAssignRole.php delete mode 100755 rbac/engine/methods/rbac/userAssignRole2.php delete mode 100755 rbac/engine/methods/rbac/userChangeLdap.php delete mode 100755 rbac/engine/methods/rbac/userChangeLdap2.php delete mode 100755 rbac/engine/methods/rbac/userChangePwd.php delete mode 100755 rbac/engine/methods/rbac/userChangePwd2.php delete mode 100755 rbac/engine/methods/rbac/userEdit.php delete mode 100755 rbac/engine/methods/rbac/userEdit2.php delete mode 100755 rbac/engine/methods/rbac/userList.php delete mode 100755 rbac/engine/methods/rbac/userNew.php delete mode 100755 rbac/engine/methods/rbac/userNew2.php delete mode 100755 rbac/engine/methods/rbac/userNew3.php delete mode 100755 rbac/engine/methods/rbac/userNew4.php delete mode 100755 rbac/engine/methods/rbac/userRoleDel.php delete mode 100755 rbac/engine/methods/rbac/userRoleProp.php delete mode 100755 rbac/engine/methods/rbac/userTestLdap.php delete mode 100755 rbac/engine/methods/rbac/userTestLdap2.php delete mode 100755 rbac/engine/methods/rbac/userView.php delete mode 100755 rbac/engine/methods/rbac/userViewRole.php delete mode 100755 rbac/engine/pre_processor.php delete mode 100755 rbac/engine/tables/rbac.applications.list.php delete mode 100755 rbac/engine/tables/rbac.authentication.list.php delete mode 100755 rbac/engine/tables/rbac.permissions.list.php delete mode 100755 rbac/engine/tables/rbac.roles.list.php delete mode 100755 rbac/engine/tables/rbac.users.list.php delete mode 100755 rbac/engine/tables/rbac.users.role.php delete mode 100755 rbac/engine/templates/authListUsers.html delete mode 100755 rbac/engine/templates/filterform.html delete mode 100755 rbac/engine/templates/formFilter.html delete mode 100755 rbac/engine/templates/grid.html delete mode 100755 rbac/engine/templates/login/showDBFiles.php delete mode 100755 rbac/engine/templates/paged-table.html delete mode 100755 rbac/engine/templates/paged-table.php delete mode 100755 rbac/engine/templates/popupMenu.html delete mode 100755 rbac/engine/templates/publish.php delete mode 100755 rbac/engine/templates/testAuthenticationSource.html delete mode 100755 rbac/engine/templates/testAuthenticationSource.php delete mode 100755 rbac/engine/templates/toolbar.html delete mode 100755 rbac/engine/templates/treePermRole.php delete mode 100755 rbac/engine/templates/xmlform.html delete mode 100755 rbac/engine/templates/xmlmenu.html delete mode 100755 rbac/engine/xmlform/login.html delete mode 100755 rbac/engine/xmlform/login/login.es delete mode 100755 rbac/engine/xmlform/login/login.xml delete mode 100755 rbac/engine/xmlform/login/noViewPage.xml delete mode 100755 rbac/engine/xmlform/login/nologin.xml delete mode 100755 rbac/engine/xmlform/rbac/appEdit.xml delete mode 100755 rbac/engine/xmlform/rbac/appMenu.xml delete mode 100755 rbac/engine/xmlform/rbac/appNew.es delete mode 100755 rbac/engine/xmlform/rbac/appNew.xml delete mode 100755 rbac/engine/xmlform/rbac/applicationsList.html delete mode 100755 rbac/engine/xmlform/rbac/applicationsList.xml delete mode 100755 rbac/engine/xmlform/rbac/applicationsListCriteria.xml delete mode 100755 rbac/engine/xmlform/rbac/authAddUser.es delete mode 100755 rbac/engine/xmlform/rbac/authAddUser.html delete mode 100755 rbac/engine/xmlform/rbac/authAddUser.xml delete mode 100755 rbac/engine/xmlform/rbac/authNew.es delete mode 100755 rbac/engine/xmlform/rbac/authNew.xml delete mode 100755 rbac/engine/xmlform/rbac/authenticationList.xml delete mode 100755 rbac/engine/xmlform/rbac/authenticationsList.es delete mode 100755 rbac/engine/xmlform/rbac/authenticationsList.xml delete mode 100755 rbac/engine/xmlform/rbac/dbInfo.es delete mode 100755 rbac/engine/xmlform/rbac/dbInfo.xml delete mode 100755 rbac/engine/xmlform/rbac/noMoreRolesAvailable.xml delete mode 100755 rbac/engine/xmlform/rbac/permEdit.xml delete mode 100755 rbac/engine/xmlform/rbac/permNew.xml delete mode 100755 rbac/engine/xmlform/rbac/roleEdit.es delete mode 100755 rbac/engine/xmlform/rbac/roleEdit.xml delete mode 100755 rbac/engine/xmlform/rbac/roleNew.xml delete mode 100755 rbac/engine/xmlform/rbac/userAssignRole.en delete mode 100755 rbac/engine/xmlform/rbac/userAssignRole.es delete mode 100755 rbac/engine/xmlform/rbac/userAssignRole.xml delete mode 100755 rbac/engine/xmlform/rbac/userAssignRole3.xml delete mode 100755 rbac/engine/xmlform/rbac/userChangeLdap.xml delete mode 100755 rbac/engine/xmlform/rbac/userChangePwd.xml delete mode 100755 rbac/engine/xmlform/rbac/userEdit.es delete mode 100755 rbac/engine/xmlform/rbac/userEdit.xml delete mode 100755 rbac/engine/xmlform/rbac/userNew.es delete mode 100755 rbac/engine/xmlform/rbac/userNew.xml delete mode 100755 rbac/engine/xmlform/rbac/userNewPwd.xml delete mode 100755 rbac/engine/xmlform/rbac/userTestLdap.xml delete mode 100755 rbac/engine/xmlform/rbac/userView.xml delete mode 100755 rbac/engine/xmlform/rbac/usersList.xml delete mode 100755 rbac/engine/xmlform/rbac/usersListFilter.xml delete mode 100755 rbac/engine/xmlform/rbac/usersListMenu.xml delete mode 100755 rbac/engine/xmlform/rbac/usersRolesList.xml diff --git a/rbac/engine/content/languages/labels.xml b/rbac/engine/content/languages/labels.xml deleted file mode 100755 index 908f20876..000000000 --- a/rbac/engine/content/languages/labels.xml +++ /dev/null @@ -1,172 +0,0 @@ - -xml destinado para los lenguages de los labels - - Autor - Author - Autor - - - Tipo - Type - Type - - - UID - UID - UID - - - Si - Yes - Si - - - No - No - No - - - Rol - Role - Rol - - - Subir - Up - Subir - - - Bajar - Down - Bajar - - - Ciudad - City - Ciudad - - - El usuario se encuentra inactivo - The user is currently inactive - Usuario eu inactivo - - - Contraseña incorrecta para el usuario - Incorrect Password for the user - Senha incorrecta do usurio - - - El usuario no esta registrado en el sistema - The User is not registered in the system - - - - La contraseña y la confirmacion deben ser iguales - The New Password and the Confirm Password must be equals - - - - Contraseña antigua incorrecta para el usuario - Incorrect Old Password for the user - - - - Ud. no puede eliminar un usuario que tiene tramites - You can't remove a user with one or more Applications - voce no pode remover - - - El usuario no tiene derecho de ingresar al sistema - User haven't rights to login this system - - - - El usuario no tiene derechos para ingresar a esta opcion - User haven't rights in this page - - - - El usuario no tiene derecho para iniciar un nuevo Tramite - User haven't rights to start a New Application - - - - Ya existe un usuario con el mismo Identificador de usuario - There is another user with the same User ID. - - - - Contraseña de inicio, cambiada correctamente - Password changed succesfully - - - - Contraseña de inicio, reiniciada correctamente - Password reseted succesfully - - - - Nuevo Empleado creado satisfactoriamente - New Employee created successfully - - - - Nuevo Cliente creado satisfactoriamente - New Client created successfully - Noivo cliente creado - - - - Página - Page - Page - - - - de - of - do - - - - Nombre - Name - Nome - - - - Nombre Servidor - Server Name - Nome Server - - - - Proveedor - Provider - Proveedor - - - - Roles - Roles - Roles - - - - Permisos - Permissions - Permisos - - - - Borrar - Delete - Supressão - - - - Sin registros - Records not found - UID_NO_RECORDS_FOUND - - \ No newline at end of file diff --git a/rbac/engine/content/languages/menus.xml b/rbac/engine/content/languages/menus.xml deleted file mode 100755 index 5edd81367..000000000 --- a/rbac/engine/content/languages/menus.xml +++ /dev/null @@ -1,64 +0,0 @@ -xml destinado para los lenguajes de los menus - - Mis datos - My info - - - - Usuarios - Users - - - - - Añadir Usuarios - Add Users - Adicionar Usuarios - - - - - Añadir Nueva Applicación (sistema) - Add New Application - Inserir Novo Application - - - - Añadir Fuente de Autenticación - New Authentication Source - Inserir Authentication - - - - Editar - Edit - Editar - - - - Probar Conexión - Test Conectivity - Testar Conexion - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/rbac/engine/content/messages.en b/rbac/engine/content/messages.en deleted file mode 100755 index a7abc63c4..000000000 --- a/rbac/engine/content/messages.en +++ /dev/null @@ -1,18 +0,0 @@ -The User "$USER" is currently inactive -Incorrect Password for the user "$USER" -The User "$USER" is not registered in the system -The New Password and the Confirm Password must be equals -Incorrect Old Password for the user "$USER" -You can't remove a user with one or more Applications -There is another user with the same User ID. -Password changed succesfully -Password reseted succesfully -New User created successfully -Applications -Roles from Application $STR_APP. -Permissions from Application $STR_APP. -Permissions from Role $STR_ROL in Application $STR_APP -There is another role with the same Code. -There is another application with the same Code. -There is another permission with the same Code. -User haven't rights to login this system. diff --git a/rbac/engine/content/messages.es b/rbac/engine/content/messages.es deleted file mode 100755 index 7cb4c12a7..000000000 --- a/rbac/engine/content/messages.es +++ /dev/null @@ -1,18 +0,0 @@ -El usuario "$USER" se encuentra inactivo -Clave de ingreso incorrecto para el usuario "$USER" -El usuario "$USER" no esta registrado en el sistema -El password nuevo y el de confirmacion deben ser iguales -Password antiguo incorrecto para el usuario "$USER" -Ud. no puede eliminar un usuario que tiene tramites -Ya existe un usuario con el mismo Identificador de usuario -Clave de inicio, cambiada correctamente -Clave de inicio, reiniciada correctamente -Nuevo Empleado creado satisfactoriamente -Aplicaciones -Roles de la Aplicación $STR_APP -Permisos de la Aplicación $STR_APP -Permisos del Rol $STR_APP en la Aplicación $STR_APP -Ya existe un Rol con el mismo código -Ya existe una Applicatión con el mismo código -Ya existe un Permiso con el mismo código -El usuario no tiene derechos para ejecutar esta aplicación diff --git a/rbac/engine/content/messages.po b/rbac/engine/content/messages.po deleted file mode 100755 index 35db689cd..000000000 --- a/rbac/engine/content/messages.po +++ /dev/null @@ -1,18 +0,0 @@ -El usuario "$USER" se encuentra inactivo -Clave de ingreso incorrecto para el usuario "$USER" -El usuario "$USER" no esta registrado en el sistema -El password nuevo y el de confirmacion deben ser iguales -Password antiguo incorrecto para el usuario "$USER" -Ud. no puede eliminar un usuario que tiene tramites -Ya existe un usuario con el mismo Identificador de usuario -Clave de inicio, cambiada correctamente -Clave de inicio, reiniciada correctamente -Nuevo Usuario creado satisfactoriamente -Applicaciones -Roles de la Aplicacion $STR_APP -Permisos de la Aplicaciones $STR_APP -Permisos del Rol $STR_ROL en $STR_APP -Ya existe un Rol con el mismo Codigo -Ya existe una Aplicacion con el mismo Codigo -Ya existe un Permiso con el mismo Codigo -El usuario no tiene derechos para ejecutar esta aplicacion \ No newline at end of file diff --git a/rbac/engine/content/rbac/myApp.cnt b/rbac/engine/content/rbac/myApp.cnt deleted file mode 100755 index 6d88fd964..000000000 --- a/rbac/engine/content/rbac/myApp.cnt +++ /dev/null @@ -1,26 +0,0 @@ -%??.name=myApp.cnt basedir=content//files generic Mis trámites - -%es.title -Administración de usuarios -%es.body.header -
.
-%es.body - -%es.body.footer -
-%en.title -User Manager -%en.body.header -
.
-%en.body - -%en.body.footer -
-%po.title -User Administrator -%en.body.header -
.
-%en.body - -%en.body.footer -
diff --git a/rbac/engine/data/mssql/insert.sql b/rbac/engine/data/mssql/insert.sql deleted file mode 100755 index ad4968644..000000000 --- a/rbac/engine/data/mssql/insert.sql +++ /dev/null @@ -1,64 +0,0 @@ -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000001','PM_LOGIN','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000002','PM_SETUP','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000003','PM_USERS','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000004','PM_FACTORY','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000005','PM_CASES','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000006','PM_ALLCASES','2008-04-30 00:00:00','2008-04-30 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000008','PM_REPORTS','2008-05-12 00:00:00','2008-05-12 00:00:00',0,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000007','PM_REASSIGNCASE','2008-05-02 18:16:29','2008-05-02 18:16:29',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000009','PM_SUPERVISOR','0000-00-00 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000010','PM_SETUP_ADVANCE','0000-00-00 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000011','PM_DASHBOARD','2009-02-18 00:00:00','2009-02-18 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000012','PM_WEBDAV','2009-08-21 00:00:00','2009-08-21 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000013','PM_DELETECASE','2009-10-12 00:00:00','0000-00-00 00:00:00',0,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000014','PM_EDITPERSONALINFO','2009-10-12 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000015','PM_FOLDERS_VIEW','2009-10-12 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000016','PM_FOLDERS_ADD_FOLDER','2009-10-12 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); -INSERT INTO RBAC_PERMISSIONS VALUES ('00000000000000000000000000000017','PM_FOLDERS_ADD_FILE','2009-10-12 00:00:00','0000-00-00 00:00:00',1,'00000000000000000000000000000002'); - -INSERT INTO RBAC_ROLES VALUES ('00000000000000000000000000000001','','00000000000000000000000000000001','RBAC_ADMIN','2007-07-31 19:10:22','2007-08-03 12:24:36',1); -INSERT INTO RBAC_ROLES VALUES ('00000000000000000000000000000002','','00000000000000000000000000000002','PROCESSMAKER_ADMIN','2007-07-31 19:10:22','2007-08-03 12:24:36',1); -INSERT INTO RBAC_ROLES VALUES ('00000000000000000000000000000003','','00000000000000000000000000000002','PROCESSMAKER_OPERATOR','2007-07-31 19:10:22','2007-08-03 12:24:36',1); -INSERT INTO RBAC_ROLES VALUES ('00000000000000000000000000000004','','00000000000000000000000000000002','PROCESSMAKER_MANAGER', '2010-03-29 09:14:15', '2010-03-29 09:19:53', 1); - -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000001'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000002'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000003'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000004'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000005'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000006'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000007'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000008'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000009'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000010'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000011'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000012'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000013'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000014'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000015'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000016'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000002','00000000000000000000000000000017'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000003','00000000000000000000000000000001'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000003','00000000000000000000000000000005'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000001'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000003'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000005'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000006'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000007'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000008'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000009'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000011'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000013'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000014'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000015'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000016'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000017'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000018'); -INSERT INTO RBAC_ROLES_PERMISSIONS VALUES ('00000000000000000000000000000004', '00000000000000000000000000000019'); - -INSERT INTO RBAC_SYSTEMS VALUES ('00000000000000000000000000000001','RBAC','2007-07-31 19:10:22','2007-08-03 12:24:36',1); -INSERT INTO RBAC_SYSTEMS VALUES ('00000000000000000000000000000002','PROCESSMAKER','2007-07-31 19:10:22','2007-08-03 12:24:36',1); - -INSERT INTO RBAC_USERS VALUES ('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','admin@processmaker.com','2020-01-01','2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','','','',''); - -INSERT INTO RBAC_USERS_ROLES VALUES ('00000000000000000000000000000001','00000000000000000000000000000002'); diff --git a/rbac/engine/data/mssql/schema.sql b/rbac/engine/data/mssql/schema.sql deleted file mode 100755 index 918be57b2..000000000 --- a/rbac/engine/data/mssql/schema.sql +++ /dev/null @@ -1,361 +0,0 @@ - -/* ---------------------------------------------------------------------- */ -/* PERMISSIONS */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_PERMISSIONS') -BEGIN - DECLARE @reftable_1 nvarchar(60), @constraintname_1 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_PERMISSIONS' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_1, @constraintname_1 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_1+' drop constraint '+@constraintname_1) - FETCH NEXT from refcursor into @reftable_1, @constraintname_1 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_PERMISSIONS] -END - - -CREATE TABLE [RBAC_PERMISSIONS] -( - [PER_UID] VARCHAR(32) default '' NOT NULL, - [PER_CODE] VARCHAR(64) default '' NOT NULL, - [PER_CREATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [PER_UPDATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [PER_STATUS] INT default 1 NOT NULL, - [PER_SYSTEM] VARCHAR(32) default '00000000000000000000000000000002' NOT NULL, - CONSTRAINT RBAC_PERMISSIONS_PK PRIMARY KEY ([PER_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* ROLES */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_ROLES') -BEGIN - DECLARE @reftable_2 nvarchar(60), @constraintname_2 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'ROLES' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_2, @constraintname_2 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_2+' drop constraint '+@constraintname_2) - FETCH NEXT from refcursor into @reftable_2, @constraintname_2 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_ROLES] -END - - -CREATE TABLE [RBAC_ROLES] -( - [ROL_UID] VARCHAR(32) default '' NOT NULL, - [ROL_PARENT] VARCHAR(32) default '' NOT NULL, - [ROL_SYSTEM] VARCHAR(32) default '' NOT NULL, - [ROL_CODE] VARCHAR(32) default '' NOT NULL, - [ROL_CREATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [ROL_UPDATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [ROL_STATUS] INT default 1 NOT NULL, - CONSTRAINT RBAC_ROLES_PK PRIMARY KEY ([ROL_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* ROLES_PERMISSIONS */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_ROLES_PERMISSIONS') -BEGIN - DECLARE @reftable_3 nvarchar(60), @constraintname_3 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_ROLES_PERMISSIONS' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_3, @constraintname_3 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_3+' drop constraint '+@constraintname_3) - FETCH NEXT from refcursor into @reftable_3, @constraintname_3 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_ROLES_PERMISSIONS] -END - - -CREATE TABLE [RBAC_ROLES_PERMISSIONS] -( - [ROL_UID] VARCHAR(32) default '' NOT NULL, - [PER_UID] VARCHAR(32) default '' NOT NULL, - CONSTRAINT RBAC_ROLES_PERMISSIONS_PK PRIMARY KEY ([ROL_UID],[PER_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* SYSTEMS */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_SYSTEMS') -BEGIN - DECLARE @reftable_4 nvarchar(60), @constraintname_4 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_SYSTEMS' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_4, @constraintname_4 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_4+' drop constraint '+@constraintname_4) - FETCH NEXT from refcursor into @reftable_4, @constraintname_4 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_SYSTEMS] -END - - -CREATE TABLE [RBAC_SYSTEMS] -( - [SYS_UID] VARCHAR(32) default '' NOT NULL, - [SYS_CODE] VARCHAR(32) default '' NOT NULL, - [SYS_CREATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [SYS_UPDATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [SYS_STATUS] INT default 0 NOT NULL, - CONSTRAINT RBAC_SYSTEMS_PK PRIMARY KEY ([SYS_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* RBAC_USERS */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_USERS') -BEGIN - DECLARE @reftable_5 nvarchar(60), @constraintname_5 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_USERS' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_5, @constraintname_5 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_5+' drop constraint '+@constraintname_5) - FETCH NEXT from refcursor into @reftable_5, @constraintname_5 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_USERS] -END - - -CREATE TABLE [RBAC_USERS] -( - [USR_UID] VARCHAR(32) default '' NOT NULL, - [USR_USERNAME] VARCHAR(100) default '' NOT NULL, - [USR_PASSWORD] VARCHAR(32) default '' NOT NULL, - [USR_FIRSTNAME] VARCHAR(50) default '' NOT NULL, - [USR_LASTNAME] VARCHAR(50) default '' NOT NULL, - [USR_EMAIL] VARCHAR(100) default '' NOT NULL, - [USR_DUE_DATE] CHAR(19) default '0000-00-00' NOT NULL, - [USR_CREATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [USR_UPDATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [USR_STATUS] INT default 1 NOT NULL, - [USR_AUTH_TYPE] VARCHAR(32) default '' NOT NULL, - [UID_AUTH_SOURCE] VARCHAR(32) default '' NOT NULL, - [USR_AUTH_USER_DN] VARCHAR(MAX) NULL, - [USR_AUTH_SUPERVISOR_DN] VARCHAR(255) default '' NOT NULL, - CONSTRAINT RBAC_USERS_PK PRIMARY KEY ([USR_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* USERS_ROLES */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_USERS_ROLES') -BEGIN - DECLARE @reftable_6 nvarchar(60), @constraintname_6 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_USERS_ROLES' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_6, @constraintname_6 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_6+' drop constraint '+@constraintname_6) - FETCH NEXT from refcursor into @reftable_6, @constraintname_6 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_USERS_ROLES] -END - - -CREATE TABLE [RBAC_USERS_ROLES] -( - [USR_UID] VARCHAR(32) default '' NOT NULL, - [ROL_UID] VARCHAR(32) default '' NOT NULL, - CONSTRAINT RBAC_USERS_ROLES_PK PRIMARY KEY ([USR_UID],[ROL_UID]) -); - -/* ---------------------------------------------------------------------- */ -/* AUTHENTICATION_SOURCE */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_AUTHENTICATION_SOURCE') -BEGIN - DECLARE @reftable_7 nvarchar(60), @constraintname_7 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_AUTHENTICATION_SOURCE' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_7, @constraintname_7 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_7+' drop constraint '+@constraintname_7) - FETCH NEXT from refcursor into @reftable_7, @constraintname_7 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_AUTHENTICATION_SOURCE] -END - - -CREATE TABLE [RBAC_AUTHENTICATION_SOURCE] -( - [AUTH_SOURCE_UID] VARCHAR(32) default '' NOT NULL, - [AUTH_SOURCE_NAME] VARCHAR(50) default '' NOT NULL, - [AUTH_SOURCE_PROVIDER] VARCHAR(20) default '' NOT NULL, - [AUTH_SOURCE_SERVER_NAME] VARCHAR(50) default '' NOT NULL, - [AUTH_SOURCE_PORT] INT default 389 NULL, - [AUTH_SOURCE_ENABLED_TLS] INT default 0 NULL, - [AUTH_SOURCE_VERSION] VARCHAR(16) default '3' NOT NULL, - [AUTH_SOURCE_BASE_DN] VARCHAR(128) default '' NOT NULL, - [AUTH_ANONYMOUS] INT default 0 NULL, - [AUTH_SOURCE_SEARCH_USER] VARCHAR(128) default '' NOT NULL, - [AUTH_SOURCE_PASSWORD] VARCHAR(32) default '' NOT NULL, - [AUTH_SOURCE_ATTRIBUTES] VARCHAR(255) default '' NOT NULL, - [AUTH_SOURCE_OBJECT_CLASSES] VARCHAR(255) default '' NOT NULL, - [AUTH_SOURCE_DATA] TEXT NULL, - CONSTRAINT RBAC_AUTHENTICATION_SOURCE_PK PRIMARY KEY ([AUTH_SOURCE_UID]) -); - - -/* ---------------------------------------------------------------------- */ -/* USERS */ -/* ---------------------------------------------------------------------- */ - - -IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'RBAC_USERS') -BEGIN - DECLARE @reftable_8 nvarchar(60), @constraintname_8 nvarchar(60) - DECLARE refcursor CURSOR FOR - select reftables.name tablename, cons.name constraintname - from sysobjects tables, - sysobjects reftables, - sysobjects cons, - sysreferences ref - where tables.id = ref.rkeyid - and cons.id = ref.constid - and reftables.id = ref.fkeyid - and tables.name = 'RBAC_USERS' - OPEN refcursor - FETCH NEXT from refcursor into @reftable_8, @constraintname_8 - while @@FETCH_STATUS = 0 - BEGIN - exec ('alter table '+@reftable_8+' drop constraint '+@constraintname_8) - FETCH NEXT from refcursor into @reftable_8, @constraintname_8 - END - CLOSE refcursor - DEALLOCATE refcursor - DROP TABLE [RBAC_USERS] -END - -CREATE TABLE [RBAC_USERS] -( - [USR_UID] VARCHAR(32) default '' NOT NULL, - [USR_USERNAME] VARCHAR(100) default '' NOT NULL, - [USR_PASSWORD] VARCHAR(32) default '' NOT NULL, - [USR_FIRSTNAME] VARCHAR(50) default '' NOT NULL, - [USR_LASTNAME] VARCHAR(50) default '' NOT NULL, - [USR_EMAIL] VARCHAR(100) default '' NOT NULL, - [USR_DUE_DATE] CHAR(19) default '0000-00-00' NOT NULL, - [USR_CREATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [USR_UPDATE_DATE] CHAR(19) default '0000-00-00 00:00:00' NOT NULL, - [USR_STATUS] INT default 1 NOT NULL, - - [USR_AUTH_TYPE] VARCHAR(32) NOT NULL DEFAULT ('MSSQL'), - [UID_AUTH_SOURCE] VARCHAR(32) NOT NULL DEFAULT ('00000000000000000000000000000000'), - [USR_AUTH_USER_DN] VARCHAR(255) NOT NULL, - [USR_AUTH_SUPERVISOR_DN] VARCHAR(255) NULL, - - [USR_REPLACED_BY] varchar(32) NULL, - [USR_REPORTS_TO] varchar(32) NULL, - - - CONSTRAINT RBAC_USERS_PK PRIMARY KEY ([USR_UID]) -); - - - diff --git a/rbac/engine/data/mssql/sqldb.map b/rbac/engine/data/mssql/sqldb.map deleted file mode 100755 index ffa6fdeac..000000000 --- a/rbac/engine/data/mssql/sqldb.map +++ /dev/null @@ -1,2 +0,0 @@ -# Sqlfile -> Database map -schema.sql=rbac diff --git a/rbac/engine/data/oracle/create-db.sql b/rbac/engine/data/oracle/create-db.sql deleted file mode 100755 index 174843acc..000000000 --- a/rbac/engine/data/oracle/create-db.sql +++ /dev/null @@ -1,4 +0,0 @@ --- foreach ($databaseName in $databaseNames) --- drop database $databaseName; --- create database $databaseName; --- end diff --git a/rbac/engine/data/oracle/schema.sql b/rbac/engine/data/oracle/schema.sql deleted file mode 100755 index 913713729..000000000 --- a/rbac/engine/data/oracle/schema.sql +++ /dev/null @@ -1,127 +0,0 @@ - - -/* ----------------------------------------------------------------------- - PERMISSIONS - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_PERMISSIONS" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_PERMISSIONS" -( - "PER_UID" VARCHAR2(32) default '' NOT NULL, - "PER_CODE" VARCHAR2(64) default '' NOT NULL, - "PER_CREATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "PER_UPDATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "PER_STATUS" NUMBER default 1 NOT NULL -); - - ALTER TABLE "RBAC_PERMISSIONS" - ADD CONSTRAINT "PERMISSIONS_PK" - PRIMARY KEY ("PER_UID"); - - -/* ----------------------------------------------------------------------- - ROLES - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_ROLES" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_ROLES" -( - "ROL_UID" VARCHAR2(32) default '' NOT NULL, - "ROL_PARENT" VARCHAR2(32) default '' NOT NULL, - "ROL_SYSTEM" VARCHAR2(32) default '' NOT NULL, - "ROL_CODE" VARCHAR2(32) default '' NOT NULL, - "ROL_CREATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "ROL_UPDATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "ROL_STATUS" NUMBER default 1 NOT NULL -); - - ALTER TABLE "RBAC_ROLES" - ADD CONSTRAINT "ROLES_PK" - PRIMARY KEY ("ROL_UID"); - - -/* ----------------------------------------------------------------------- - ROLES_PERMISSIONS - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_ROLES_PERMISSIONS" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_ROLES_PERMISSIONS" -( - "ROL_UID" VARCHAR2(32) default '' NOT NULL, - "PER_UID" VARCHAR2(32) default '' NOT NULL -); - - ALTER TABLE "RBAC_ROLES_PERMISSIONS" - ADD CONSTRAINT "RBAC_ROLES_PERMISSIONS_PK" - PRIMARY KEY ("ROL_UID","PER_UID"); - - -/* ----------------------------------------------------------------------- - SYSTEMS - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_SYSTEMS" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_SYSTEMS" -( - "SYS_UID" VARCHAR2(32) default '' NOT NULL, - "SYS_CODE" VARCHAR2(32) default '' NOT NULL, - "SYS_CREATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "SYS_UPDATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "SYS_STATUS" NUMBER default 0 NOT NULL -); - - ALTER TABLE "RBAC_SYSTEMS" - ADD CONSTRAINT "SYSTEMS_PK" - PRIMARY KEY ("SYS_UID"); - - -/* ----------------------------------------------------------------------- - USERS - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_USERS" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_USERS" -( - "USR_UID" VARCHAR2(32) default '' NOT NULL, - "USR_USERNAME" VARCHAR2(100) default '' NOT NULL, - "USR_PASSWORD" VARCHAR2(32) default '' NOT NULL, - "USR_FIRSTNAME" VARCHAR2(50) default '' NOT NULL, - "USR_LASTNAME" VARCHAR2(50) default '' NOT NULL, - "USR_EMAIL" VARCHAR2(100) default '' NOT NULL, - "USR_DUE_DATE" DATE default '0000-00-00' NOT NULL, - "USR_CREATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "USR_UPDATE_DATE" DATE default '0000-00-00 00:00:00' NOT NULL, - "USR_STATUS" NUMBER default 1 NOT NULL -); - - ALTER TABLE "RBAC_USERS" - ADD CONSTRAINT "USERS_PK" - PRIMARY KEY ("USR_UID"); - - -/* ----------------------------------------------------------------------- - USERS_ROLES - ----------------------------------------------------------------------- */ - -DROP TABLE "RBAC_USERS_ROLES" CASCADE CONSTRAINTS; - - -CREATE TABLE "RBAC_USERS_ROLES" -( - "USR_UID" VARCHAR2(32) default '' NOT NULL, - "ROL_UID" VARCHAR2(32) default '' NOT NULL -); - - ALTER TABLE "RBAC_USERS_ROLES" - ADD CONSTRAINT "USERS_ROLES_PK" - PRIMARY KEY ("USR_UID","ROL_UID"); diff --git a/rbac/engine/data/oracle/sqldb.map b/rbac/engine/data/oracle/sqldb.map deleted file mode 100755 index ffa6fdeac..000000000 --- a/rbac/engine/data/oracle/sqldb.map +++ /dev/null @@ -1,2 +0,0 @@ -# Sqlfile -> Database map -schema.sql=rbac diff --git a/rbac/engine/data/pgsql/create-db.sql b/rbac/engine/data/pgsql/create-db.sql deleted file mode 100755 index 30b989c39..000000000 --- a/rbac/engine/data/pgsql/create-db.sql +++ /dev/null @@ -1,2 +0,0 @@ -drop database rbac; -create database rbac; diff --git a/rbac/engine/data/pgsql/sqldb.map b/rbac/engine/data/pgsql/sqldb.map deleted file mode 100755 index ffa6fdeac..000000000 --- a/rbac/engine/data/pgsql/sqldb.map +++ /dev/null @@ -1,2 +0,0 @@ -# Sqlfile -> Database map -schema.sql=rbac diff --git a/rbac/engine/db/dbmodule_processmaker.php b/rbac/engine/db/dbmodule_processmaker.php deleted file mode 100755 index 0ba587a02..000000000 --- a/rbac/engine/db/dbmodule_processmaker.php +++ /dev/null @@ -1,29 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - $DB_INDEX++; - $DB_MODULE[$DB_INDEX]['name'] = 'ProcessMaker'; - $DB_MODULE[$DB_INDEX]['type'] = 'multiple'; - $DB_MODULE[$DB_INDEX]['path'] = '/shared/workflow_data/sites/'; -?> \ No newline at end of file diff --git a/rbac/engine/includes/inc.application.php b/rbac/engine/includes/inc.application.php deleted file mode 100755 index fec753d80..000000000 --- a/rbac/engine/includes/inc.application.php +++ /dev/null @@ -1,118 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -class App -{ - function ForceLogin() - { - global $HTTP_SESSION_VARS; - global $G_MAIN_MENU; - global $G_SUB_MENU; - if( $HTTP_SESSION_VARS['LOGGED_IN'] == false) - { - header( "location: /sys/" . SYS_LANG . "/" . SYS_SKIN . "/login/login.html" ); - die(); - } - else - { - $cmptype = $HTTP_SESSION_VARS['USER_TYPE']; - switch( $cmptype ) - { - case 'BUYER': - $G_MAIN_MENU = "buyer"; - $G_SUB_MENU = ""; - break; - case 'PROVIDER': - $G_MAIN_MENU = "provider"; - $G_SUB_MENU = ""; - break; - case 'REINSURANCE': - $G_MAIN_MENU = "reinsurance"; - $G_SUB_MENU = ""; - break; - case 'ADMIN': - $G_MAIN_MENU = "admin"; - $G_SUB_MENU = ""; - break; - case '': - header( "location: /sys/" . SYS_LANG . "/" . SYS_SKIN . "/login/login.html" ); - die(); - break; - default: - $G_MAIN_MENU = "default"; - $G_SUB_MENU = ""; - break; - } - } - } - - function GetPartnerStatus() - { - global $HTTP_SESSION_VARS; - $slipid = $HTTP_SESSION_VARS['CURRENT_SLIP']; - $partnerid = $HTTP_SESSION_VARS['CURRENT_PARTNER']; - - $mdbc = new DBConnection(); - G::LoadClass( "slip" ); - $slip = new Slip; - $slip->SetTo( $mdbc ); - $slip->Load( $slipid ); - $partner = $slip->GetPartner( $partnerid ); - - $res = $partner->Fields['SLP_PARTNER_STATUS']; - unset( $partner ); - unset( $slip ); - unset( $mdbc ); - return $res; - } - - function SetPartnerStatus( $intStatus = 0 ) - { - global $HTTP_SESSION_VARS; - $slipid = $HTTP_SESSION_VARS['CURRENT_SLIP']; - $partnerid = $HTTP_SESSION_VARS['CURRENT_PARTNER']; - - $mdbc = new DBConnection(); - G::LoadClass( "slip" ); - $slip = new Slip; - $slip->SetTo( $mdbc ); - $slip->Load( $slipid ); - $partner = $slip->GetPartner( $partnerid ); - - $partner->Fields = NULL; - $partner->Fields['UID_SLIP'] = $slipid; - $partner->Fields['UID_REINSURANCE'] = $partnerid; - $partner->Fields['SLP_PARTNER_STATUS'] = $intStatus; - $partner->Fields['SLP_PARTNER_UPDATED'] = G::CurDate(); - $partner->Save(); - - unset( $partner ); - unset( $slip ); - unset( $mdbc ); - } - -} - -?> \ No newline at end of file diff --git a/rbac/engine/includes/inc.dynaForms.php b/rbac/engine/includes/inc.dynaForms.php deleted file mode 100755 index 19a0f86eb..000000000 --- a/rbac/engine/includes/inc.dynaForms.php +++ /dev/null @@ -1,224 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -class Node { - var $name = ""; - var $attribute = NULL; - var $value = NULL; - var $children = NULL; -} - -$header = ""; -$tree = NULL; - -function read_config_file(){ - global $home; - $directory = PATH_DYNAFORM; - $car = substr ($directory, strlen ($directory)-1, 1); - if ($car=='/' ) $directory = substr( $directory, 0, strlen($directory)- 1 ); - $home = $directory; - - global $showlang; - $showlang = "es,en"; -} - -function parseNodo1 ( $token ) { - //parse de en un nuevo nodo. - $nodo = new Node; - $nodo->children = NULL; - $tok = ""; $n = 0; - for ($i=0; $i - while ($bufIndex <= $size && $car !='>') { - $token .= $car; - $car = $buffer [$bufIndex++]; - } - if ($token[0] == "?") { - $header = $token; - return; - } - $nodo = parseNodo1 ($token); - - //SEGUNDO BUCLE buscar VALUE - $car = $buffer [$bufIndex++]; $token = ""; - while ($bufIndex <= $size && $car !='<') { - $token .= $car; - $car = $buffer [$bufIndex++]; - } - $nodo->value = trim($token); - - - //TERCER BUCLE buscar - $res = 0; - while ($res == 0) { - if ($car != "<") while ( ($car = trim( $buffer [$bufIndex++] )) == ""); - if ($car=="<") { - $res = 0; - $car = $buffer [$bufIndex++]; - //ADDCHILD nodo recien creado - if ($car != "/") { - $bufIndex --; - $n = count($nodo->children); - $nodo->children[$n] = getTag (); - } else $res = 1; - } - else die ("se esperaba '<' y se encontro $car"); - } - - //se supone que se ha leido "') { - $token .= $car; - $car = $buffer [$bufIndex++]; - } - if ( strcmp ($nodo->name, trim($token)) != 0) die ("no corresponde fin de tag </$token> con <" . $nodo->name. ">"); - - return $nodo; -} - -function parseFile ($filename) { - global $tree; - global $buffer; - global $bufIndex; - global $size; - - if (strlen($filename) <= 0) die ("invalid filename"); - - if ( ! file_exists ( $filename) ) die ("This file $filename does not exist"); - if ( ! is_file ( $filename) ) die ("$filename is not a file"); - - $size = filesize ($filename); - $fp = fopen ($filename, "rb"); - $i = 0; - - $aux = fread($fp, $size); - $buffer = ""; - for ($i = 0; $i < $size; $i++) { - if (!($aux[$i] == "\n" || $aux[$i] == "\r" || $aux[$i] == "\t")) $buffer .= $aux[$i]; - } - fclose ($fp); - $bufIndex = 0; - - $size = strlen ($buffer); - - while ( $bufIndex <= $size ) { - $car = $buffer [$bufIndex++]; - if ($car == '<' ) - $tree = getTag(); - } -} - - - -function saveXml(){ - global $tree; - global $header; - global $filename; - global $HTTP_POST_VARS; - global $curDir; - global $onlyName; - - //crear el archivo Xml -// print "$filename
"; - - $fp = fopen ($filename, "w+"); - fputs ($fp,"<$header>\n"); - - $aux = explode ( '/', $filename); - $onlyName = $aux[count($aux)-1]; - $curDir = $HTTP_POST_VARS['curDir']; - - fputs ($fp,"$tree->value\n"); - - for ($i = 0; $i < count($tree->children); $i++) { - $nodo = $tree->children[$i]; - - fputs ($fp,"<$nodo->name "); - if ( is_array ($nodo->attribute) ) - foreach ( $nodo->attribute as $attr=>$attrValue ) - fputs ($fp,"$attr=\"$attrValue\" "); - fputs ($fp,">\n"); - - //si es un dropdown-SQL la sentencia select va como valor del nodo - if (strlen ($nodo->value) > 0) { - fputs ($fp,"$nodo->value\n"); - } - - for ($j = 0; $j < count($nodo->children); $j++) { - $lang = $nodo->children[$j]; - fputs ($fp, " <$lang->name>$lang->value"); - - //si tiene etiquetas del tipo option - if (is_array($lang->children)) { - fputs ($fp, "\n"); - for ($k = 0; $k < count($lang->children); $k++) { - $option = $lang->children[$k]; - fputs ($fp, "\n"); - } - } //if tiene etiquetas del tipo opcion. - fputs ($fp, "name>\n"); - - } //for j - fputs ($fp,"name>\n"); - - } //for i - fputs ($fp,"\n"); - fclose ($fp); -} - -?> diff --git a/rbac/engine/menus/backApp.php b/rbac/engine/menus/backApp.php deleted file mode 100755 index b5ba507a4..000000000 --- a/rbac/engine/menus/backApp.php +++ /dev/null @@ -1,42 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $G_BACK_PAGE; - -$G_TMP_MENU->AddRawOption( $G_BACK_PAGE); - -switch ( SYS_LANG ) { - case "es" : - $G_TMP_MENU->Labels = Array ( - "Retornar al trámite" - ); - break; - default : - $G_TMP_MENU->Labels = Array ( - "Back to Application" - ); -} -?> diff --git a/rbac/engine/menus/cancel.php b/rbac/engine/menus/cancel.php deleted file mode 100755 index 23fccebec..000000000 --- a/rbac/engine/menus/cancel.php +++ /dev/null @@ -1,47 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $G_BACK_PAGE; - -$G_TMP_MENU->AddRawOption( $G_BACK_PAGE); - -switch ( SYS_LANG ) { - case "es" : - $G_TMP_MENU->Labels = Array ( - "Cancelar" - ); - break; - case "po" : - $G_TMP_MENU->Labels = Array ( - "Cancelar" - ); - break; - default : - $G_TMP_MENU->Labels = Array ( - "Cancel" - ); -} -?> diff --git a/rbac/engine/menus/rbac.appEdit.php b/rbac/engine/menus/rbac.appEdit.php deleted file mode 100755 index 65c314f8a..000000000 --- a/rbac/engine/menus/rbac.appEdit.php +++ /dev/null @@ -1,64 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $HTTP_SESSION_VARS; -$appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION']; - -$G_TMP_MENU->AddIdRawOption( "OP1", "rbac/appList.html" ); -$G_TMP_MENU->AddIdRawOption( "OP2", "rbac/appDel.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Cancelar", - "Eliminar Applicación" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Cancelar", - "Eliminar Application" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Cancel", - "Remove Application" - ); - break; -} - -//si no hay nada relacionado a esta aplicación se puede BORRAR!! -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -//G::LoadClassRBAC ("applications"); -$obj = New RBAC_Application; -$obj->SetTo ($dbc); -$sw = $obj->canRemoveApplication ($appid); -if ($sw > 0) - $G_TMP_MENU->disableOptionId ("OP2"); - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.appView.php b/rbac/engine/menus/rbac.appView.php deleted file mode 100755 index 0beb33598..000000000 --- a/rbac/engine/menus/rbac.appView.php +++ /dev/null @@ -1,57 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $HTTP_SESSION_VARS; - -$G_TMP_MENU->AddIdRawOption( "OP1", "rbac/roleList.html" ); -$G_TMP_MENU->AddIdRawOption( "OP2", "rbac/permList.html" ); -$G_TMP_MENU->AddIdRawOption( "OP3", "rbac/appList.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Ver Roles", - "Ver Permisos", - "Lista de Aplicaciones" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Ver Roles", - "Ver Permisos", - "Lista de Aplicaciones" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "View Roles", - "View Permissions", - "Applications List" - ); - break; -} -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.application.php b/rbac/engine/menus/rbac.application.php deleted file mode 100755 index a2d9100c9..000000000 --- a/rbac/engine/menus/rbac.application.php +++ /dev/null @@ -1,34 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $canCreateApp; - -$G_TMP_MENU->AddOption( G::LoadMenuXml ('ID_NEW_APPLICATION'), "rbac/appNew.html" ); - -if ( $canCreateApp != 1 ) - $G_TMP_MENU->DisableOptionPos (0); - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.authSource.php b/rbac/engine/menus/rbac.authSource.php deleted file mode 100755 index e69b85a68..000000000 --- a/rbac/engine/menus/rbac.authSource.php +++ /dev/null @@ -1,33 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $canCreateApp; - -$G_TMP_MENU->AddOption( G::LoadMenuXml ('ID_EDIT'), "rbac/authEdit.html" ); -$G_TMP_MENU->AddOption( G::LoadMenuXml ('ID_TEST'), "rbac/authTest.html" ); -$G_TMP_MENU->AddOption( G::LoadMenuXml ('ID_ADD_USERS'), "rbac/authAddUser.html" ); - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.authentication.php b/rbac/engine/menus/rbac.authentication.php deleted file mode 100755 index 13624a6cb..000000000 --- a/rbac/engine/menus/rbac.authentication.php +++ /dev/null @@ -1,33 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $canCreateApp; - -$G_TMP_MENU->AddOption( G::LoadMenuXml ('ID_NEW_AUTH_SOURCE'), "rbac/authNew.html" ); - -if ( $canCreateApp != 1 ) - $G_TMP_MENU->DisableOptionPos (0); -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.login.php b/rbac/engine/menus/rbac.login.php deleted file mode 100755 index 7c27aad20..000000000 --- a/rbac/engine/menus/rbac.login.php +++ /dev/null @@ -1,54 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddRawOption( "login/login.html" ); -$G_TMP_MENU->AddRawOption( "login/dbInfo.html" ); - - -switch( SYS_LANG ) -{ -case 'po': - $G_TMP_MENU->Labels = array( - "login", - "about" - ); - break; -case 'es': - $G_TMP_MENU->Labels = array( - "Iniciar Sesión", - "acerca de" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "login", - "about" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.permission.php b/rbac/engine/menus/rbac.permission.php deleted file mode 100755 index 2894cc0ce..000000000 --- a/rbac/engine/menus/rbac.permission.php +++ /dev/null @@ -1,48 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddRawOption( "rbac/permNew.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Añadir Nuevo Permiso" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Inserir Novo Permisio" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Add New Permission" - ); - break; -} -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.php b/rbac/engine/menus/rbac.php deleted file mode 100755 index d2102f273..000000000 --- a/rbac/engine/menus/rbac.php +++ /dev/null @@ -1,66 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddRawOption( "rbac/userList.html" ); -$G_TMP_MENU->AddRawOption( "rbac/appList.html" ); -$G_TMP_MENU->AddRawOption( "rbac/authenticationList.html" ); -$G_TMP_MENU->AddRawOption( "rbac/dbInfo.html" ); -$G_TMP_MENU->AddRawOption( "login/login.html" ); - - -switch( SYS_LANG ) -{ -case 'po': - $G_TMP_MENU->Labels = array( - "Usuarios", - "Applicaciones", - "Authentication Sources", - "Info Database", - "Saír do Sistema" - ); - break; -case 'es': - $G_TMP_MENU->Labels = array( - "Usuarios", - "Applicaciones", - "Fuentes de Autenticación", - "Información de BD", - "Salir del Sistema" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Users", - "Applications", - "Authentication Sources", - "DB Info", - "Logout" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.role.php b/rbac/engine/menus/rbac.role.php deleted file mode 100755 index 396d12ce1..000000000 --- a/rbac/engine/menus/rbac.role.php +++ /dev/null @@ -1,65 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddIdRawOption( "OP1", "rbac/roleNew.html" ); -$G_TMP_MENU->AddIdRawOption( "OP2", "rbac/roleList.html" ); -$G_TMP_MENU->AddIdRawOption( "OP3", "rbac/permList.html" ); -$G_TMP_MENU->AddIdRawOption( "OP4", "rbac/appList.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Añadir Nuevo Rol", - "Ver Roles", - "Ver Permisos", - "Lista de Aplicaciones" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Inserir Novo Rol", - "Ver Roles", - "Ver Permisos", - "Lista de Aplicaciones" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Add New Role", - "View Roles", - "View Permissions", - "Applications List" - ); - break; -} - -global $canCreateRole; -if ($canCreateRole != 1) - $G_TMP_MENU->DisableOptionID ("OP1"); - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.user.php b/rbac/engine/menus/rbac.user.php deleted file mode 100755 index 4df7f0501..000000000 --- a/rbac/engine/menus/rbac.user.php +++ /dev/null @@ -1,52 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; -global $canCreateUsers; - -$G_TMP_MENU->AddRawOption( "rbac/userNew.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Añadir Nuevo Usuario" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Inserir Novo Usuario" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Add New User" - ); - break; -} - -if ($canCreateUsers != 1 ) - $G_TMP_MENU->DisableOptionPos(0); -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.userEdit.php b/rbac/engine/menus/rbac.userEdit.php deleted file mode 100755 index 350d0f02d..000000000 --- a/rbac/engine/menus/rbac.userEdit.php +++ /dev/null @@ -1,69 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddIdRawOption("OP2b", "rbac/userChangeLdap.html" ); -$G_TMP_MENU->AddIdRawOption("OP2c", "rbac/userTestLdap.html" ); -$G_TMP_MENU->AddIdRawOption("OP4", "Javascript:go();", 'absolute' ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "LDAP/AD", - 'Test Login', - "Asignar Roles" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "LDAP/AD", - 'Test Login', - "Asignar Roles" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "LDAP/AD", - 'Test Login', - "Assign Role" - ); - break; -} - -global $access; -global $useLdap; - -if ($access != 1) { - $G_TMP_MENU->DisableOptionId ("OP4"); -} - -if ( ! $useLdap ) { - $G_TMP_MENU->DisableOptionId ("OP2b"); - $G_TMP_MENU->DisableOptionId ("OP2c"); -} - -?> \ No newline at end of file diff --git a/rbac/engine/menus/rbac.userView.php b/rbac/engine/menus/rbac.userView.php deleted file mode 100755 index 7953cb89e..000000000 --- a/rbac/engine/menus/rbac.userView.php +++ /dev/null @@ -1,85 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_MENU; - -$G_TMP_MENU->AddIdRawOption("OP1", "rbac/userEdit.html" ); -$G_TMP_MENU->AddIdRawOption("OP2", "rbac/userChangePwd.html" ); -$G_TMP_MENU->AddIdRawOption("OP2b", "rbac/userChangeLdap.html" ); -$G_TMP_MENU->AddIdRawOption("OP2c", "rbac/userTestLdap.html" ); -$G_TMP_MENU->AddIdRawOption("OP3", "rbac/userViewRole.html" ); -$G_TMP_MENU->AddIdRawOption("OP4", "rbac/userAssignRole.html" ); - -switch( SYS_LANG ) -{ -case 'es': - $G_TMP_MENU->Labels = array( - "Editar Usuario", - "Reiniciar Password", - "LDAP/AD", - 'Test Login', - "Ver Roles", - "Asignar Roles" - ); - break; -case 'po': - $G_TMP_MENU->Labels = array( - "Editar Usuario", - "Reiniciar Password", - "LDAP/AD", - 'Test Login', - "Ver Roles", - "Asignar Roles" - ); - break; -default: - $G_TMP_MENU->Labels = array( - "Edit User", - "Reset Password", - "LDAP/AD", - 'Test Login', - "View Roles", - "Assign Role" - ); - break; -} - -global $access; -global $useLdap; - -if ($access != 1) { - $G_TMP_MENU->DisableOptionId ("OP1"); - $G_TMP_MENU->DisableOptionId ("OP2"); - $G_TMP_MENU->DisableOptionId ("OP4"); -} - -if ( $useLdap ) - $G_TMP_MENU->DisableOptionId ("OP2"); -else { - $G_TMP_MENU->DisableOptionId ("OP2b"); - $G_TMP_MENU->DisableOptionId ("OP2c"); -} - -?> \ No newline at end of file diff --git a/rbac/engine/methods/controls/buscador2.php b/rbac/engine/methods/controls/buscador2.php deleted file mode 100755 index 9466b8641..000000000 --- a/rbac/engine/methods/controls/buscador2.php +++ /dev/null @@ -1,38 +0,0 @@ -demo de buscador
-/** - * buscador2.php - * - * ProcessMaker Open Source Edition - * Copyright (C) 2004 - 2008 Colosa Inc.23 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -Execute ( $sql ); -?> - - - diff --git a/rbac/engine/methods/controls/calendar.js b/rbac/engine/methods/controls/calendar.js deleted file mode 100755 index 699b00378..000000000 --- a/rbac/engine/methods/controls/calendar.js +++ /dev/null @@ -1,162 +0,0 @@ -// Title: Tigra Calendar -// URL: http://www.softcomplex.com/products/tigra_calendar/ -// Version: 3.2 (European date format) -// Date: 10/14/2002 (mm/dd/yyyy) -// Feedback: feedback@softcomplex.com (specify product title in the subject) -// Note: Permission given to use this script in ANY kind of applications if -// header lines are left unchanged. -// Note: Script consists of two files: calendar?.js and calendar.html -// About us: Our company provides offshore IT consulting services. -// Contact us at sales@softcomplex.com if you have any programming task you -// want to be handled by professionals. Our typical hourly rate is $20. - -// if two digit year input dates after this year considered 20 century. -var NUM_CENTYEAR = 30; -// is time input control required by default -var BUL_TIMECOMPONENT = false; -// are year scrolling buttons required by default -var BUL_YEARSCROLL = true; - -var calendars = []; -var RE_NUM = /^\-?\d+$/; - -function calendar1(obj_target) { - - // assing methods - this.gen_date = cal_gen_date1; - this.gen_time = cal_gen_time1; - this.gen_tsmp = cal_gen_tsmp1; - this.prs_date = cal_prs_date1; - this.prs_time = cal_prs_time1; - this.prs_tsmp = cal_prs_tsmp1; - this.popup = cal_popup1; - this.fecha = "0"; - - // validate input parameters - if (!obj_target) - return cal_error("Error calling the calendar: no target control specified"); - if (obj_target.value == null) - return cal_error("Error calling the calendar: parameter specified is not valid tardet control"); - this.target = obj_target; - this.time_comp = BUL_TIMECOMPONENT; - this.year_scroll = BUL_YEARSCROLL; - - // register in global collections - this.id = calendars.length; - calendars[this.id] = this; -} - -function cal_popup1 (str_datetime) { - this.dt_current = this.prs_tsmp(str_datetime ? str_datetime : this.target.value); - if (!this.dt_current) return; - - var obj_calwindow = window.open( - 'calendar.html?datetime=' + this.dt_current.valueOf()+ '&id=' + this.id, - 'Calendar', 'width=200,height='+(this.time_comp ? 215 : 190)+ - ',status=no,resizable=no,top=200,left=200,dependent=yes,alwaysRaised=yes' - ); - obj_calwindow.opener = window; - obj_calwindow.focus(); - - - -} - -// timestamp generating function -function cal_gen_tsmp1 (dt_datetime) { - return(this.gen_date(dt_datetime) + ' ' + this.gen_time(dt_datetime)); -} - -// date generating function -function cal_gen_date1 (dt_datetime) { - return ( - (dt_datetime.getDate() < 10 ? '0' : '') + dt_datetime.getDate() + "-" - + (dt_datetime.getMonth() < 9 ? '0' : '') + (dt_datetime.getMonth() + 1) + "-" - + dt_datetime.getFullYear() - ); -} -// time generating function -function cal_gen_time1 (dt_datetime) { - return ( - (dt_datetime.getHours() < 10 ? '0' : '') + dt_datetime.getHours() + ":" - + (dt_datetime.getMinutes() < 10 ? '0' : '') + (dt_datetime.getMinutes()) + ":" - + (dt_datetime.getSeconds() < 10 ? '0' : '') + (dt_datetime.getSeconds()) - ); -} - -// timestamp parsing function -function cal_prs_tsmp1 (str_datetime) { - // if no parameter specified return current timestamp - if (!str_datetime) - return (new Date()); - - // if positive integer treat as milliseconds from epoch - if (RE_NUM.exec(str_datetime)) - return new Date(str_datetime); - - // else treat as date in string format - var arr_datetime = str_datetime.split(' '); - return this.prs_time(arr_datetime[1], this.prs_date(arr_datetime[0])); -} - -// date parsing function -function cal_prs_date1 (str_date) { - - var arr_date = str_date.split('-'); - - if (arr_date.length != 3) return cal_error ("Invalid date format: '" + str_date + "'.\nFormat accepted is dd-mm-yyyy."); - if (!arr_date[0]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo day of month value can be found."); - if (!RE_NUM.exec(arr_date[0])) return cal_error ("Invalid day of month value: '" + arr_date[0] + "'.\nAllowed values are unsigned integers."); - if (!arr_date[1]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo month value can be found."); - if (!RE_NUM.exec(arr_date[1])) return cal_error ("Invalid month value: '" + arr_date[1] + "'.\nAllowed values are unsigned integers."); - if (!arr_date[2]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo year value can be found."); - if (!RE_NUM.exec(arr_date[2])) return cal_error ("Invalid year value: '" + arr_date[2] + "'.\nAllowed values are unsigned integers."); - - var dt_date = new Date(); - dt_date.setDate(1); - - if (arr_date[1] < 1 || arr_date[1] > 12) return cal_error ("Invalid month value: '" + arr_date[1] + "'.\nAllowed range is 01-12."); - dt_date.setMonth(arr_date[1]-1); - - if (arr_date[2] < 100) arr_date[2] = Number(arr_date[2]) + (arr_date[2] < NUM_CENTYEAR ? 2000 : 1900); - dt_date.setFullYear(arr_date[2]); - - var dt_numdays = new Date(arr_date[2], arr_date[1], 0); - dt_date.setDate(arr_date[0]); - if (dt_date.getMonth() != (arr_date[1]-1)) return cal_error ("Invalid day of month value: '" + arr_date[0] + "'.\nAllowed range is 01-"+dt_numdays.getDate()+"."); - - return (dt_date) -} - -// time parsing function -function cal_prs_time1 (str_time, dt_date) { - - if (!dt_date) return null; - var arr_time = String(str_time ? str_time : '').split(':'); - - if (!arr_time[0]) dt_date.setHours(0); - else if (RE_NUM.exec(arr_time[0])) - if (arr_time[0] < 24) dt_date.setHours(arr_time[0]); - else return cal_error ("Invalid hours value: '" + arr_time[0] + "'.\nAllowed range is 00-23."); - else return cal_error ("Invalid hours value: '" + arr_time[0] + "'.\nAllowed values are unsigned integers."); - - if (!arr_time[1]) dt_date.setMinutes(0); - else if (RE_NUM.exec(arr_time[1])) - if (arr_time[1] < 60) dt_date.setMinutes(arr_time[1]); - else return cal_error ("Invalid minutes value: '" + arr_time[1] + "'.\nAllowed range is 00-59."); - else return cal_error ("Invalid minutes value: '" + arr_time[1] + "'.\nAllowed values are unsigned integers."); - - if (!arr_time[2]) dt_date.setSeconds(0); - else if (RE_NUM.exec(arr_time[2])) - if (arr_time[2] < 60) dt_date.setSeconds(arr_time[2]); - else return cal_error ("Invalid seconds value: '" + arr_time[2] + "'.\nAllowed range is 00-59."); - else return cal_error ("Invalid seconds value: '" + arr_time[2] + "'.\nAllowed values are unsigned integers."); - - dt_date.setMilliseconds(0); - return dt_date; -} - -function cal_error (str_message) { - alert (str_message); - return null; -} diff --git a/rbac/engine/methods/controls/calendar.php b/rbac/engine/methods/controls/calendar.php deleted file mode 100755 index a10e176db..000000000 --- a/rbac/engine/methods/controls/calendar.php +++ /dev/null @@ -1,183 +0,0 @@ - - - -Select Date, Please. - - - - - - -
- - - - -
- - - -
- - - diff --git a/rbac/engine/methods/controls/img/cal.gif b/rbac/engine/methods/controls/img/cal.gif deleted file mode 100755 index 8526cf5d19a915aa8073cf344873c4505491970d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmZ?wbhEHb6krfwSj51v)Yr?)cd3`J*V1K6uU)?O9}E~67!-f9FfuT(G3WrDe9t*lIsLlMc^0!8j+%m;7N>1B?!Sq zpafVc$wL5(s0g}<@3aOsY=?&pa6R#E6I@5&JWFe%>W$uI0R~4WLFRxLqX*Xma5sVF zIAKT<8DU64IPlj{iD;t8x9C;3G&w5qhZz>3ur`SS^%48H2wSUJbv3K9_t=HRRAzB` z(JKaln=5H>v}oF?IHqh^87=&%j5=wCn&2wjcy+|!)K+|(9Fa<~+YRH+yda$rsb>m+ zeE@gQyu519%GiZT=-gotn9tHRKOx|~aLAxuHh!l9>a%eXV?lNQ6%}?$QtOG9MNhye z?3jVt$$rVoEb+!M*SeOy0IoFl$IzOE1N#)p7_(X?i^x=R;7MrRpDj9LvZT2M)Bs{s zI&ON3QO+%sajasUNfh5yo~YPm8+%b|R;=Cr61gW7}$Dy>L>Z{&WRn3778ue^b zwV9-!@5PNQZ3p(g!vlIhFF=mlB9QC70A}DD1l_)fT3(I zGFyT_Wg`8Tt*|niZF@H@JM0}RlFb%>lw2D&WRH+fD~M#&Xy@3UZSTG=M-v%tG`}oF zuHkGTuaynfevt2wYS|70KadENBK2#(vGy##crVbd`N{QdSCF1Dx@F`XP@2it)qJ^R zH=Yqdvp0Q(yhMc2(_uJnPDj&YkyiR$Y#mcBFXYt;9Jec0T-7 zci?5y(f4VK&vl>w>DIJG@h1xd2L8IRSE53)* zgd}9n8tC{Ouwt94tLDg5c$!s${mKCoNioUZu!NfvWdyoe51FQh$zNwYcyK|TeDBc) zN3&{yg$zuNZ1Y4Ujw=;f7&Wn0NHRvLu~~{XB?oiJ@H4gR>S<>6#xa>jW-)WHvBwFs ObFwYroi8iMU=09xqE7k% diff --git a/rbac/engine/methods/controls/img/next_year.gif b/rbac/engine/methods/controls/img/next_year.gif deleted file mode 100755 index ac12ea1307e4d35ee401f358372b5c69c06fae88..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 256 zcmV+b0ssC-Nk%w1VGsZi0J8u9s@(d7%Joi)x_Z0gn$-A-x!!E5(^!_obFtcCoXEN1 z`hLLag2nG}Y@>00$NYAYi~z;6?@{0Wh#Q zaHc>43>Y-XxU*ryjvzl4H7fAH#{mRT@?=^dKewZczmuz#XON+u0n@#=42nNl7#SFt7<7PY Nfa*bPrVvI3YXHjL5YGSr diff --git a/rbac/engine/methods/controls/img/prev.gif b/rbac/engine/methods/controls/img/prev.gif deleted file mode 100755 index 211e1faba1e22b37a9b329a020be9ce08999dfc9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 212 zcmZ?wbhEHb6krfw*v!B%{nC#O_kOpW{NmreyJXX?s$GvFrXEROe6I2Eo7`2G+jrib zdHi|LgGb?3`e=hQK1V3g*muHe+`u+^?Ek78$?Im^N=k&Ty~ Mlhb+{zaWD(0895#mjD0& diff --git a/rbac/engine/methods/controls/img/prev_year.gif b/rbac/engine/methods/controls/img/prev_year.gif deleted file mode 100755 index d8145d598f2651f4066f94885eec0c5525f7250a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 259 zcmV+e0sQ_)Nk%w1VGsZi0J8u9s@(d7%Joi)x_Z0gn$-A-x!!E5(^!_obFtcCoXEN1 z`hLLag2nG`N79SYcD3HMd2MhufIH2&sfs_FRa%6zOq5uZ~5;S1I zfIvwE4Fxa&Pyiyyh7Nl=7?AM*(xe%gIwQm$17-yrFkpA^f&~K_n00udfq}~j JoDK{K06QEwT@wHR diff --git a/rbac/engine/methods/controls/img/tc.gif b/rbac/engine/methods/controls/img/tc.gif deleted file mode 100755 index 576e14879b0a76f6a04c1bb694d1d067f3263621..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8301 zcmWlecRbXOc)m&d3VcE9H!Ab(D;#vq#3+J4bd%Mo4n9M-s9X zQXvXO^ih7_-#@R%^S{^M&)3VqNMBvUq5 zQ)7xQ#Yc*VOroq^#md>Mi-p8c(x!s87a9`{u&E$|b!)lT4pE|c@dWZ$7K2VNixRtG zq?Vqjd6NI3br5Ef~*`0)PGw^ zb_&@=)KwgE8PX>%Ys#>%G`-2$^4OiDL*qJdawR4+(!XHoV$9`tUhRj{C*M_EF|cXY z9M9!4!=Y(_?ekL~R|R5@Kg?#g=w_z*+PhO(?ugguOIQ`<5gA<1^3`4Clt3yZvIbVqTxb3q#3+T~jZcrRlxjoEhi7-V#Cs)KgA4+MT@W@!bg@?$ zS>Np|(oi>thNuSocC`SBbUI>^hiHn4!@a+5iQwrg_uhYFR{~xW_a?$kFKAq)Sek|A zczNq&tmLtU%_m*sNH^ZPF6gr9Q{DKbY!di9U9F!qdxLJJFeEi239PItUr+TnE z%HR;^2f3tvgd_d;dvABNgYzlpeS63F%BE#>MOD8k_czBTckd#7e{YA?YGi)LY^`Ui z><@r#ZYZl%XrWq;|_wE8BI4=k->_38fc*EAD?K$2Q;pk7VHS1_2f!2 zKg_7!h-4V?HJ1G0(?`pDN?nlADUb>lezIR?L}wR%Fd>FLJp`a3YB3B%wza>E+E72I z8yi=wVxX+*;}V}e7|V_PMEY--)EeNJP58X+ep3`|h1t>eH^!(^Rl>J+o8C9%V_vs@ z&mK)rsWb+rPeACf;1V(~1uT2~6!JLlK9O4XU0lQGRX9`?a#p)qk9k)}Bw#m_n#fMh;MS1%}9*VZ70dOxm+q@y$1%)g2x)Ym?x z9<1UfP`t@HaV&!Ra6{>u$b}qD)zm$F{pdQcGrT$5VIRr{5alJz0k{+%(ydOBu^S$- zeX*b2=ywCWKrZ{f!GyD3NertaHU3(86O7}ho41ov6W;-r#kYF}>v$5@R1`Bd>|Icj zM)=kCADQ<9>?GQZD$QIsGrTij1~`pL9hvEQQ2KFF!d(` z{vxL+F!m0mGwG=K?1l)~u8kg_E>jr&+OPML8u9uWpQ^6q#VZ*P3;%R(u!gErfbr8Z zemHTMfr&nzQDB|jymWn4#4tvtWm@UcZHfnL4n<|#D(^2w^8JkP>)Pwx&j zk&!8>hrUo)UqE)rITwr28_{O*(^edsrLwyI-!UTbr4?tzKFr>bCl3Tq~L!?gGAOQYU~MMy&wnbSTjEgqhyXN zmojor>;Li*W4T|cX0X7wcL6O8k4XY!4dJ)*Y8dqgUd?3yj}+KcD4=BlNAcU`J?dAJ zufp8CEm~HJ#Xfk!_J4YONtuC7T->7NPRFfI6LXk140C6c_D8Q_PL)tqiOxLwzs6Eh zwgacfbakz1p#Mz@S(&&L3)XW%-n{AebMQdTQrudC2UTS%v{bma#h9 zN{LB#Z7<5%E+BmloOMkBU!?dZSCkq5XVnx`VTy48*Mo z-Y?B={UX9A_G*eg-$bLvti~=a$!K+R&3lc{3O2Jk!L5Z7h_Koe(mQ1$gbk^QD8lZM zSOI8Hb?+6M#;4rK`w8@BGIk(ckSJEVzL%r6_DjcbqNcYin&-cp;%}t2dCI<26Y1dW z(BWjfG0T>z5o3cu@^xa7?MpA?44ai-RiejL=EKC2v&{0c7Zkq5|0`u0ri3EsPOl1u zdM{3@4HqmrMYbq){nBvvMX&Ptpz;8O-V0QD74ER(sCC7b*v{YR<+*>Hzjj`?n)-2i z9e+I5w6uD z?l+q=wBNursRGMAB8HVbqf@riZWuMR2})OJQ$=84z^h*oSxgR>6+s}gt=+)e@^_Je z+>{hD5h_Jun2UZ%#MF4AHdig!r6Pmkz_tl7zX@gqS7rq|#IlX`q8s9yB&&mV)GUp) z;l^2$rb}3;+}YgdytOC`*Sq<445z`-Y;Z6{fx_4qeSs%F4R2+I21-FjQwl2ZZcNjf zRzEHB9H0&%5)~R*ab5`FBbK_)a^*@;O_2vq3?2yyg2$eUZeEcrXfWRZ^h}5&ajN?8 zQ2Y|OZ+?pN7LBhSf|rO}y@Rw*68*@(%mo*g*4Y|{S8~*i;1=u*-+K*Hc2f3S!R$_OiH?ijIXf|E9VOI zTR{$Ipx&uG)V6*2!W^s~^lbgDrcS;en~*RPo$y8{`52H>qlEdP8Pl{~V>#mZBBcXo z+1P0pyf&gvzh3njO8H=zw32Y9NHx{dL#rIYuNMIGS0sy*eAv`HzgMF|rdXyX)a0K@ z4v`UY0XVBcL0mZoku6F9sEUe)rJooO^TbybR8(k+@&>hp2OTJhURF={w@)uDzsuuo z#6^qvV*%kaGVz;)ovuw&gzy>LNOy4!#)u)cH!EuAMT3r|VqaoRjLb93Z{Gk20y)hL zN4AND=oDg2;-7e6Rx0ZeGF_jSVpNmGIhU63Ej? zUa~`>De#|1cUJbmdzOf^9V*PaQCX9De!FmB7_pAdt@fsJ?Plgn1;?x;zTb!n>#$aB zk7Ld{6J?Yh{89c27{aBVJ6yO#3%bAB-|3!r}u&=7qqe*R(RgDP~% z`|3D+ZLZ#CZb@(!$1wY$QAyNrmiL|XV~sN~vd_kJ2|a)%ZP(ipkb&chpOe8hK+*}1 zxm&HIt9QR!3fgi9HwL-nMGC|fB-2;5B@}a!M0Ru{Q^;c~iuR!S_>mN@WXyxezZ!RN zoYI|GqQoRS9}J)<9O_|^Hgk~esAyRtKg~S94IS8uXXz339j1a%dcbvh!5PMiScwN| z8#y*%LI>oy#1-?u)Wj{$FlA)Pq7)i06X#Pv^!`(`f+YDb2>Vxp|GZJ5?Wog>n(p6^ z9GGaJw+$+79&Vs3QWdJ9h`)L>$co-Xcx|2eof4L^mj8PXel|Yk+ExW~VogL%*&c7Y z5u>mNQ*BxN#V*Fj3I!Gw3*1aq^_&yGFQ6htAMJ!G9EKRA@=-j>i zhn9xbb5;dnS$0O0uofMlxmA6@AUcH8AO{y#L@IM-s(&X_cx=G#GF9V~BppL2xuuZj zE90=N$$_ILrjc!&CJNVWJKeWIh?rlkNw#~3f&r4^rk%AZ>il63mf*(FV>;tp|L<8urg{rNXCizR%S3UiS0FM_HiwS4wVq zqbl6}$+N8&Z6D580WfqnC&^vU2gTrrN^;|oc15s17N9qudnjdsEl0ewdf}fPkR=U1 z5d)LFiJ1RhupYA^383H#=vWc={2u9ROy`?fV1E(#?^|vYFH@CL5<&zNBm?x)`p3rf zQ~Qs#j*H-fZwn7?)f9{@|8&Tm17D$(y5C>$amE(#YuyvCof}B z{ai+Lm}I=RU4Jkq&^7@q*g$yDjMtXjPMuBqUFE=h0_JUi88@BW-iSE-^Kbz7!Yt`} z?BNp)SCD}=$U!z^q7J%k11?E%!^Ux{CPTZjeHWI7Jizpc?TU{4mZhUiR488oY1pg| z`BR$SJ30(6x-Ix0k}+IV{SWAU&JvScB`V$F)Cge1&Dcrc@FaU0354N&I?P!n)*|tK zPs^fnOs8DRFk^0Vj0O%66FHEzvAce;rcGKZ%4DeRUbhI*Slg%u(OF~guya~&^3ed( z2S3OPbA&3ae|~!!?wnO=^w^w=rXFw)M@0`Rv z|9S+L8jn%Q2kQMGoCM&MVUS#5?d^x0*8VH;Y&0$=+-(0|r<98sCxwFxpE4nX!MR70pZi}j1SWF#2O6lHqT411LB0U1E zeDjeh1!OO-Kofx+`6bc*I=$esk133(AUpJ48Ml0??N4pQEa3U9HBw)QQ)aY z)VlfouOU01%~=haG%xR7Lvop`9heSWsZ)2Eg_wvLKd+@3+GI&-~#&it03WWS)5sqTsd)j=OMmZ^4iW3iiw3b zyLf*lKn52Y4oGQ3*acMYlx|x3h5c|8&|SToj8z?|A)BU7h5czLgMGXh{Pw}kSx&;} zM)~gfF0ne(fr@g_fKYdB0B(^#n98?(JGs0GBGL~m48gYZqrM|S!awuH>lNM>jI`~?F5xxX0V_tc}Zw@p5Woq!JLFR%ac z_I=;0ytC3GEG{TuIU@f%ckEpN?kDaaIC1}T(#2)T)UUbBi+Ho2$mi4sL4(260o}Lb z$%4!!@<*k`LnhrDHl{~vxu59yx9{Qr?najHoM3-P|BW{X+dHkikVDt*k6dI>hkJUL z|d{z%AT|5fDu)`R9ynf~9CFf1&?7K@BYz^D&qj+DpKWDm}Pv3(OI-ooe zd_TR?g(XRF_TXG`#3zBn`{Q3jC73R`?P-LF!QdX2QYTR?CN3@-60*8qV>k(VY?-sL zqn>1Dh_*fw)aa!Yoj_@@TubVfy zl+`bxAg5o28jZ2O;Xnr9rDN!Xgt&6%p z4X;?)U3KnOhryJ205Snhlf#hs+jslMrq|cE-3`2btX-~!dr>4H8m;y&Mqa#Jr9Bh` z6UClH2X#4(z1ADOGeI*Pl#4RwTQ>4m2#FG*oV>55$fBwRPcId?d(4Ql9X<*X`K32R zNY5@Rf($&-dm;}HRBf8Jd>s$b!JITxCUffyAocduG{0JFhKUB(h&X@Q*@m++8=K^) z9t0m0O~V713N&#$OMAP|o)TFAjq^*<>$gfOMeL|RON)$)9O;%Z?==l#8UXkzk}195 z|7LhWIiAnGBqbPXWxCwGJ2l+3og7_PT7&% zWWTvH-@+a8&ⅇw%V#$C;oeoW{@|GHz6V&&jR)JpYLkjV~ur^)?vaK??(mQ?0V2l zX(DA)He=<-rDigF_6mk>sp}mM3k#t+dORZ3qfRe-QBv*>GH`FiI9@qk+V8P23;$vi zAQ`DxD49sI%#ze6Zx~^iqz)21drL7RMwcTzB0Wd@rLq-<^>W>m-tQR}3ktc%Lm&tq zGyr&6{Ja*TmK^*V`(LK?bufQjFdeIb*5`h%)Cs9>kF74t_fk{Vpxy*C=b?5 z7K$m}<#J20(Ew^w9}7-Bu9;Dv03EgO+qg48#egp;<1;l-HWD%PDipA%R^%9seZFqF z7r7bzl;J4si)&W>ymKKxk4t5?-JjZ1lGvs~hF{F1lg&&SHlIYlRxWh27yFkecZcWQ zhc!uDt3G`8@#6Z8Kwz=Bq?`4af|`)+D0O742HHLGhOy3A6vDvRC?0*aRh1EB*mFO$ z;P!N))WO;VEc)+pgqJ13Nw`MimsvDM65ks$y?26cQnVdmH)ViRqZ?96OuS^Wk(l^p zB^)?|pTBA^+ABwDi4~ezlpVLbdG%?f6)2eU!*>x0Hu#`M{{_B{vix#IxDy(FI zol6Nm+wyXu7r-qcLTT0b4}S9)T)% zRz7%WL%S+s=Pca=v!imJE^9*< zok_U{l2Kf&n|>MoEW7gs=}7V8$!sYk*`)g9jN4)AIj7j?H6Lgcf(jaF?BTEEAkaP8 zdEiXe_bxZ|i00@!UIKB-bjYOW1A^F}0=yk1f~O8J6|G*vIo&S5CJDli5w$-=H&Ltqm{#)tvIxft;rccX4BHaM(lLO#I?hV&vKtT$p6 zE)e1)sbUmYr&DdgS9l7{oaT^w8_+0&>AH|15=x<>a9MjL)1!4q(z+i1y**y`3z0m6 z9iQSgdta}-v>+VnxQJL8zGhFYj=S0^%(^*M#G8_G;hbJk9c9A^>9+z`rS-slf}$D5 z0EWdzaB1y%irq~&s0t4N3??9;(=OMblXR#(m4TI(q0E#w#-4)V1t#(NBkrFO2%;DO zZe;Tj64caJk~9@zapC+BRZoRvt${s9A?=Syt@I3@h;pL2(O0H-jN^JDZad^xtNp&xFqoZEo`Jmr3GkOPr!Wstk-j`67~?L;gr69FYvE?+5(q#~ z9VlgdHY}c7E&>>CI^>@ACH~t)I{xCbC=X)^MZ^#Qf$c_m^pvtmxKm6Y2LK?cK<{i-0t8x=dV!1h8OH1=gVNrG()WgC_=((C zcrl=X4scm}KM{~a5VP`4_&D$sK@>a$|Za$*Jh<*?V zC2-vEFz!$ZnQ6|sT?sY3heyB;99675J)>}(4GTH1T9+HU$}*C9LdBf_84pOPXt?(1 zXZJpX7v9dSU7JgKZ#DAS?hZI|b!dy=tc>7$Xe!s(>i8QcK$GGXY=piTOG7Y1b=mL} z6qbY^cVHrlOzV`cUmV21{G%0q2hv5G>06MU^V70qfapx7Q;P1}2E6hGBm}x!@8!4HR_qy%Xx5oDa z)pm;cmK?nF)Ii7@cagb?yQ&mmDWc_~$bhcarmZ0JChA{30{D;wVG(;B!L0F7U?+G> zOPv?WO{Zj?`cRZaJ0XZUqStH|0COky_yR;o>Y$~TP<3e7qutg&D-6&e1YMf7g{C!Z zyP2{xm3CdNb3VmZ0B8G3i_5F(yy>P%!BO8AE}ojrf*kdl6-f1?0l`WIG4?z=9Q-SY z(znWDAS)MVL?=R$#e^Vv(=#q3-yX9 z(a`;q6(zomCB07hnx|#9rd%(Ub*`v6R{ZwBWVdqf#idqTd}aZ|jf^SC|Ll|n zqh%sM2zJD90A%wH2$T@~_w_G;@W$}TY^hi8jXn%|JwsRxE9$)#?uHr@O8URI2{Mjal7olpLQ ziX*KPQXb!uG6XW~OVO<6`S;EaDc16l??Svu?mq>H@$fLc2S0&b&q@>mIT7$bDS+O* z5Ni6~5P0-Q7@TZV!vD*8mACP3aXyaH4%WNAH9uam&qqv@W*(Q?^?&&J{P(Y-C*Pad L7hVVhfY$#3MtD_> diff --git a/rbac/engine/methods/login/dbInfo.php b/rbac/engine/methods/login/dbInfo.php deleted file mode 100755 index 060957ca9..000000000 --- a/rbac/engine/methods/login/dbInfo.php +++ /dev/null @@ -1,89 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -function lookup($target) -{ - global $ntarget; - $msg = $target . ' => '; - //if( eregi('[a-zA-Z]', $target) ) - if( preg_match('[a-zA-Z]', $target) ) //Made compatible to PHP 5.3 - $ntarget = gethostbyname($target); - else - $ntarget = gethostbyaddr($target); - $msg .= $ntarget; - return($msg); -} - - $G_MAIN_MENU = 'rbac.login'; - $G_MENU_SELECTED = 1; - - if (file_exists(PATH_METHODS . 'login/version-rbac.php')) - { - include('version-rbac.php'); - } - else { - define('RBAC_VERSION', 'Development Version'); - } - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $ses = new DBSession ($dbc); - $dset = $ses->execute ('SELECT VERSION() AS VERSION '); - $row = $dset->Read(); - - if (getenv('HTTP_CLIENT_IP')) { - $ip = getenv('HTTP_CLIENT_IP'); - } - elseif(getenv('HTTP_X_FORWARDED_FOR')) { - $ip = getenv('HTTP_X_FORWARDED_FOR'); - } else { - $ip = getenv('REMOTE_ADDR'); - } - - if ( file_exists ( '/etc/redhat-release' ) ) { - $fnewsize = filesize( '/etc/redhat-release' ); - $fp = fopen( '/etc/redhat-release' , 'r' ); - $redhat = fread( $fp, $fnewsize ); - fclose( $fp ); - } - - $Fields = $dbc->db->dsn; - $Fields['SYSTEM'] = $redhat; - $Fields['MYSQL'] = $row['VERSION']; - $Fields['PHP'] = phpversion(); - $Fields['FLUID'] = RBAC_VERSION; - $Fields['IP'] = lookup ($ip); - $Fields['ENVIRONMENT'] = SYS_SYS; - $Fields['SERVER_SOFTWARE'] = getenv('SERVER_SOFTWARE'); - $Fields['SERVER_NAME'] = getenv('SERVER_NAME'); - $Fields['SERVER_PROTOCOL'] = getenv('SERVER_PROTOCOL'); - $Fields['SERVER_PORT'] = getenv('SERVER_PORT'); - $Fields['REMOTE_HOST'] = getenv('REMOTE_HOST'); - $Fields['SERVER_ADDR'] = getenv('SERVER_ADDR'); - $Fields['HTTP_USER_AGENT'] = getenv('HTTP_USER_AGENT'); - $Fields['a'] = $dbc; - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo($dbc); - $G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/dbInfo', '', $Fields, 'appNew2'); - G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/enumerate.php b/rbac/engine/methods/login/enumerate.php deleted file mode 100755 index b27e02298..000000000 --- a/rbac/engine/methods/login/enumerate.php +++ /dev/null @@ -1,131 +0,0 @@ - -Execute ( "SHOW DATABASES; " ); - - $sites = array (); - $row = $dset->Read(); - while ( is_array ( $row ) ) { - $dbname = $row[Database]; - if ( substr ( $dbname,0,5) == 'rbac_' ) { - $sname = substr ( $dbname,5); - $sites[$sname]['rbac'] = 'Y'; - } - if ( substr ( $dbname,0,3) == 'wf_' ) { - $sname = substr ( $dbname,3); - $sites[$sname]['wf'] = 'Y'; - } - if ( substr ( $dbname,0,7) == 'report_' ) { - $sname = substr ( $dbname,7); - $sites[$sname]['report'] = 'Y'; - } - $row = $dset->Read(); - } - - $dynaPath = '/home/workflow/engine/xmlform/dynaform/'; - if ( $handle1 = opendir ( $dynaPath ) ) { - while ( false !== ($file1 = readdir($handle1) )) { - $dirSize = 0; $dirCant = 0; - if ( $file1 != '.' && $file1 != '..' && $handle2 = opendir ( $dynaPath . $file1 ) ) { - while ( false !== ($file2 = readdir($handle2) )) { - $dynaPath2 = $dynaPath . $file1 . '/' . $file2; - if ( is_dir( $dynaPath2) && $file2 != '.' && $file2 != '..' && $handle3 = opendir ( $dynaPath2 ) ) { - while ( false !== ($file3 = readdir($handle3) )) { - if ( $file3 != '.' && $file3 != '..' ) { - $dirSize += filesize ( $dynaPath. $file1.'/'.$file2.'/'.$file3 ); - $dirCant ++; - //print "$file1/$file2/$file3 $dirCant $dirSize
"; - } - } - } - } - } - if ( $file1 != '.' && $file1 != '..' ) { - $dirSize = (int)($dirSize / 1024 ); - $sites[$file1]['dynaCant'] = $dirCant; - $sites[$file1]['dynaSize'] = $dirSize; - //print "$file1 $dirCant $dirSize Kb.
"; - } - } - } - - foreach ( $sites as $key=>$val ) { - if ( $val['wf'] == 'Y' && $val['rbac'] == 'Y' ) { - print ""; - print "" . - ""; - - $dbc1 = new DBConnection (DB_HOST, 'root', '', 'wf_' . $key ); - $ses1 = new DBsession($dbc1); - $dset1 = $ses1->Execute ( "SELECT * FROM PROCESS; " ); - $row1 = $dset1->Read(); - while ( is_array ( $row1) ) { - print ""; - $ses2 = new DBsession($dbc1); - $dset2 = $ses2->Execute ( "SELECT count(*) as CANT FROM APPLICATION where APP_PROCESS = " . $row1[UID] ); - $row2 = $dset2->Read(); - print ""; - - $dynaPath = '/home/workflow/engine/xmlform/dynaform/' . $key . '/'. $row1[UID] . '/'; - //print_r ( $dynaPath); - $dirSize = 0; $dirCant = 0; - if ( is_dir ($dynaPath) && $handle1 = opendir ( $dynaPath ) ) { - while ( false !== ($file1 = readdir($handle1) )) { - if ( $file1 != '.' && $file1 != '..' ) { - $dirSize += (int) ( filesize ( $dynaPath. $file1 ) / 1024); - $dirCant ++; - //print "$file1 $dirCant $dirSize
"; - } - } - } - //if ( is_dir ( $dynaPath) ) - // print $dynaPath; - print ""; - - print ""; - $row1 = $dset1->Read(); - } - print "
$key " . - ($val[wf]=='Y' ? ' wf ' : ' - ') . ($val[rbac]=='Y' ? ' rbac ' : ' - ') . ($val[report]=='Y' ? ' report ' : ' - ') . - "  cases " . $val[dynaCant] . ' files   ' . - " " . $val[dynaSize] . " Kb.
" . $row1[UID] .'. '. $row1[PRO_TITLE] . "" . $row1[PRO_STATUS] . "" . $row2[CANT] . " $dirCant $dirSize

"; - } - } - - ; -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/login.php b/rbac/engine/methods/login/login.php deleted file mode 100755 index 0a2af559f..000000000 --- a/rbac/engine/methods/login/login.php +++ /dev/null @@ -1,55 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -if (!isset($_SESSION['G_MESSAGE'])) -{ - $_SESSION['G_MESSAGE'] = ''; -} -if (!isset($_SESSION['G_MESSAGE_TYPE'])) -{ - $_SESSION['G_MESSAGE_TYPE'] = ''; -} - -$msg = $_SESSION['G_MESSAGE']; -$msgType = $_SESSION['G_MESSAGE_TYPE']; - -session_destroy(); -session_start(); - -$G_MAIN_MENU = 'rbac.login'; -$G_MENU_SELECTED = ''; -if (strlen($msg) > 0 ) -{ - $_SESSION['G_MESSAGE'] = $msg; -} -if (strlen($msgType) > 0 ) -{ - $_SESSION['G_MESSAGE_TYPE'] = $msgType; -} - -$G_PUBLISH = new Publisher; -$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/login', '', '', 'verify-login.php'); - -G::RenderPage( "publish" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/loginAjax.php b/rbac/engine/methods/login/loginAjax.php deleted file mode 100755 index a35d706f1..000000000 --- a/rbac/engine/methods/login/loginAjax.php +++ /dev/null @@ -1,82 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -//G::LoadSystem('json'); -require_once(PATH_THIRDPARTY . 'pear/json/class.json.php'); -$json=new Services_JSON(); -$G_FORM=new form(G::getUIDName(urlDecode($_POST['form']))); -$G_FORM->id=urlDecode($_POST['form']); -$G_FORM->values=$_SESSION[$G_FORM->id]; - -$newValues=($json->decode(urlDecode(stripslashes($_POST['fields'])))); -//Resolve dependencies -//Returns an array ($dependentFields) with the names of the fields -//that depends of fields passed through AJAX ($_GET/$_POST) -$dependentFields=array(); -for($r=0;$rsetValues($newValues[$r]); - //Search dependent fields - foreach($newValues[$r] as $k => $v) { - $myDependentFields = explode( ',', $G_FORM->fields[$k]->dependentFields); - $dependentFields=array_merge($dependentFields, $myDependentFields); - } -} -$dependentFields=array_unique($dependentFields); - -//Parse and update the new content -$template = PATH_CORE . 'templates/xmlform.html'; -$newContent=$G_FORM->getFields($template); - -//Returns the dependentFields's content -$sendContent=array(); -$r=0; -foreach($dependentFields as $d) { - $sendContent[$r]->name=$d; - $sendContent[$r]->content=NULL; - foreach($G_FORM->fields[$d] as $attribute => $value) { - switch($attribute) { - case 'type': - $sendContent[$r]->content->{$attribute}=$value; break; - case 'options': - $sendContent[$r]->content->{$attribute}=toJSArray($value); break; - } - } - $sendContent[$r]->value=$G_FORM->values[$d]; - $r++; -} -echo($json->encode($sendContent)); - -function toJSArray($array) -{ - $result=array(); - foreach($array as $k => $v){ - $o=NULL; - $o->key=$k; - $o->value=$v; - $result[]=$o; - } - return $result; -} -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/noViewPage.php b/rbac/engine/methods/login/noViewPage.php deleted file mode 100755 index 3a3e0aca0..000000000 --- a/rbac/engine/methods/login/noViewPage.php +++ /dev/null @@ -1,37 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MENU_SELECTED = 0; -$G_MAIN_MENU = "empty"; -$G_SUB_MENU = "empty"; - -$referer = $_SERVER['HTTP_REFERER']; -$dbc = new DBConnection; -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo( $dbc ); -$G_PUBLISH->AddContent( "xmlform", "xmlform", "login/noViewPage", "", NULL ); - -G::RenderPage( "publish" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/showDBFiles.php b/rbac/engine/methods/login/showDBFiles.php deleted file mode 100755 index d43e8cd92..000000000 --- a/rbac/engine/methods/login/showDBFiles.php +++ /dev/null @@ -1,34 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = 'rbac.login'; -$G_MENU_SELECTED = ''; - - -$G_PUBLISH = new Publisher; -$G_PUBLISH->AddContent('view', 'login/showDBFiles'); - -G::RenderPage( "publish" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/login/verify-login.php b/rbac/engine/methods/login/verify-login.php deleted file mode 100755 index 042254d62..000000000 --- a/rbac/engine/methods/login/verify-login.php +++ /dev/null @@ -1,85 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -if (defined('SYS_SYS')) $_SESSION['ENVIRONMENT']= SYS_SYS; -else $_SESSION['ENVIRONMENT']= 'vacio'; - -$frm = $_POST['form']; -$usr = strtolower(trim($frm['USER_NAME'])); -$pwd = trim($frm['USER_PASS']); - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$_SESSION['USER_LOGGED'] = 0; -$_SESSION['VALID_SESSION'] = session_id(); -$_SESSION['USER'] = $usr; - -$res = $RBAC->VerifyLogin($usr, $pwd); - -switch ($res) -{ - case -1://don't exist - G::SendMessageXml('ID_USER_NOT_REGISTERED', 'warning'); - break; - case -2://password incorrect - G::SendMessageXml('ID_WRONG_PASS', 'warning'); - break; - case -3: //inactive - case -4: //due - G::SendMessageXml('ID_USER_INACTIVE', 'warning'); - break; -} -if ($res < 0 ) -{ - header('location: login.html'); - die; -} - -$uid = $res; -$_SESSION['USER_LOGGED'] = $uid; -$res = $RBAC->userCanAccess('RBAC_LOGIN'); -if ($res != 1 ) -{ - G::SendMessageXml('ID_USER_HAVENT_RIGHTS_PAGE', 'error'); - header('location: login.html'); - die; -} - -$_SESSION['USER_NAME'] = $usr; - -$file = PATH_RBAC . PATH_SEP . 'class.authentication.php'; -require_once($file); -$obj = new authenticationSource; -$obj->SetTo($dbc); -$res = $obj->verifyStructures(); - -if ($RBAC->userCanAccess("RBAC_READONLY") == 1) -{ - header('location: ../rbac/userList'); -} -else -{ - header('location: ../rbac/appList'); -} -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/appDel.php b/rbac/engine/methods/rbac/appDel.php deleted file mode 100755 index 44de3f4ef..000000000 --- a/rbac/engine/methods/rbac/appDel.php +++ /dev/null @@ -1,36 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -//crear Objeto -G::LoadClassRBAC ("applications"); -$obj = new RBAC_Application; -$obj->SetTo ($dbc); -$obj->removeApplication ( $appid ); -header( "location: appList.html" ); -?> diff --git a/rbac/engine/methods/rbac/appEdit.php b/rbac/engine/methods/rbac/appEdit.php deleted file mode 100755 index 341f98c65..000000000 --- a/rbac/engine/methods/rbac/appEdit.php +++ /dev/null @@ -1,50 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -/** - * @package classes.model - */ - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.appEdit"; -$G_MENU_SELECTED = 1; - -$appid = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; -$HTTP_SESSION_VARS['CURRENT_APPLICATION'] = $appid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -G::LoadClassRBAC ("applications"); -$obj = new RBAC_Application; -$obj->SetTo ($dbc); -$obj->Load($appid); - -$obj->Fields['EDIT_ROLES'] = G::LoadMessageXml ('ID_ROLES'); -$obj->Fields['EDIT_PERMISSIONS'] = G::LoadMessageXml ('ID_PERMISSIONS'); -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/appEdit", "", $obj->Fields, "../appEdit2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/appEdit2.php b/rbac/engine/methods/rbac/appEdit2.php deleted file mode 100755 index f92878bbf..000000000 --- a/rbac/engine/methods/rbac/appEdit2.php +++ /dev/null @@ -1,50 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $HTTP_POST_VARS['form']; -$frm = G::PrepareFormArray( $frm ); - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION']; -$code = strtoupper( $frm['APP_CODE']); -$descrip = $frm['APP_DESCRIPTION']; - -//crear nueva applicacion -G::LoadClassRBAC ( "applications"); -$obj = new RBAC_Application; -$obj->SetTo( $dbc ); - -print "xx $res"; -$res = $obj->applicationCodeRepetido ( $code ); -if ($res != 0 && $res != $appid ) { - G::SendMessage ( 15, "error"); - header ("location: appList.php"); - die; -} -print "xx $res"; -$uid = $obj->editApplication( $appid, $code , $descrip ); -header( "location: appList.html" ); -?> diff --git a/rbac/engine/methods/rbac/appList.php b/rbac/engine/methods/rbac/appList.php deleted file mode 100755 index 7872ea833..000000000 --- a/rbac/engine/methods/rbac/appList.php +++ /dev/null @@ -1,64 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -/*class XmlForm_Field_Menu extends XmlForm_Field -{ - function render( $value = NULL ) - { - return "�asdsad"; - } -} -class filterForm extends form -{ - var $cols = 3; - var $type = 'filterform'; - var $ajaxServer = '...'; -} -class xmlMenu extends form -{ - var $type = 'xmlmenu'; -}*/ - G::LoadClass("dynaform"); - G::GenericForceLogin ('RBAC_LOGIN','login/noViewPage','login/login'); - $G_MAIN_MENU = "rbac"; - $G_SUB_MENU = "rbac.application"; - $G_MENU_SELECTED = 1; - - //$RBAC->userCanAccess("RBAC_LOGIN"); - //$RBAC->userCanAccess("RBAC_READONLY" ); - //$RBAC->userCanAccess("RBAC_CREATE_ROLE" ); - //$RBAC->userCanAccess("RBAC_CREATE_PERMISSION" ); - $canCreateApp = $RBAC->userCanAccess("RBAC_CREATE_APPLICATION" ); - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - //$G_PUBLISH->AddContent ( "table", "paged-table", "rbac.applications.list", "rbac/myApp", "", "load"); - //$G_PUBLISH->AddContent ( "xmlform", "xmlmenu", "rbac/appMenu", "", "", "load"); - //$G_PUBLISH->AddContent ( "xmlform", "filterform", "rbac/applicationsList", "", "", "load"); - $G_PUBLISH->AddContent ( "xmlform", "pagedTable", "rbac/applicationsList", "", "", "", "../gulliver/pagedTableAjax.php"); - $content = ''; - G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/appNew.php b/rbac/engine/methods/rbac/appNew.php deleted file mode 100755 index 5a9941d5f..000000000 --- a/rbac/engine/methods/rbac/appNew.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/appList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/appNew", "", '', "appNew2"); -$content = '';//'';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/appNew2.php b/rbac/engine/methods/rbac/appNew2.php deleted file mode 100755 index 41f96b18d..000000000 --- a/rbac/engine/methods/rbac/appNew2.php +++ /dev/null @@ -1,49 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -header( "location: appList.html" );die; -/*Falta revisar la clase RBAC_Application*/ -$frm = $_POST['form']; - -$code = strtoupper ( $frm['APP_CODE']); -$description = $frm['APP_DESCRIPTION']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -//crear nueva aplicacion -G::LoadClassRBAC ('applications'); -$obj = new RBAC_Application; -$obj->SetTo( $dbc ); -$res = $obj->applicationCodeRepetido ( $code ); - -if ($res != 0 ) { - G::SendMessage ( 15, "error"); - header ("location: appNew.php"); - die; -} - -$appid = $obj->createApplication ($code, $description ); -$_SESSION['CURRENT_APPLICATION'] = $appid; - -header( "location: appList.html" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/appView.php b/rbac/engine/methods/rbac/appView.php deleted file mode 100755 index 75b91d446..000000000 --- a/rbac/engine/methods/rbac/appView.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/appList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/appNew", "", "", "appNew2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authAddUser.php b/rbac/engine/methods/rbac/authAddUser.php deleted file mode 100755 index 9713f17d3..000000000 --- a/rbac/engine/methods/rbac/authAddUser.php +++ /dev/null @@ -1,49 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.authSource'; -$G_BACK_PAGE = 'rbac/authenticationList.html'; -$G_MENU_SELECTED = 2; -$G_SUB_MENU_SELECTED = 2; - -if (!isset($_GET['UID'])) -{ - $_GET['UID'] = ''; -} -$appid = $_GET['UID']; -if ($appid == '' && $_SESSION['CURRENT_AUTH_SOURCE'] != '') -{ - $appid = $_SESSION['CURRENT_AUTH_SOURCE']; -} -$_SESSION['CURRENT_AUTH_SOURCE'] = $appid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -G::LoadClassRBAC('authentication'); -$Fields['authId'] = $appid; - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/authAddUser', '', $Fields); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authAjax.php b/rbac/engine/methods/rbac/authAjax.php deleted file mode 100755 index 39be5cbff..000000000 --- a/rbac/engine/methods/rbac/authAjax.php +++ /dev/null @@ -1,219 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - G::Loadinclude ('ajax'); - $function = get_ajax_value ( 'function' ); - $searchText = get_ajax_value ( 'text' ); - - $userName = get_ajax_value ( 'userName' ); - $authSource = get_ajax_value ( 'authSource' ); - $dn = get_ajax_value ( 'dn' ); - $fullname = get_ajax_value ( 'fullname' ); - $email = get_ajax_value ( 'email' ); - $roles = get_ajax_value ( 'roles' ); - - switch ( $function ) { - case 'searchText' : searchText( $searchText ); - break; - case 'validUser' : validUser( $searchText ); - break; - case 'createUser' : createUser( $userName, $authSource, $dn, $fullname, $email, $roles ); - break; - } - -function createUser( $userName, $authSource, $dn, $fullname, $email, $roles ){ - global $DB_MODULE; // :( - G::LoadClassRBAC ('user'); - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $obj = new RBAC_User; - $obj->SetTo( $dbc ); - - //is ProcessMaker? - $isPM = false; - foreach ( $DB_MODULE as $index => $module ) { if ( $module = 'ProcessMaker' ) $isPM = true; } - if ( $isPM ) { - $dbcPM = new DBConnection(DB_HOST, DB_USER, DB_PASS, DB_NAME ); - $sesPM = new DBSession ( $dbcPM ); - } - - $res = $obj->UserNameRepetido( 0, $userName ); - if ( $res != 0 ) { - $result = "-1"; - } - else { - $aux = explode( ' ', $fullname ); - $last = str_replace ( $aux[0] . ' ', '', $fullname ); - $uid = $obj->createUser ( $last, /*mid*/'', $aux[0], $email); - $result = $obj->createUserName ($uid, $userName, 'LDAP'); - $obj->updateLDAP ( $uid, $authSource, $dn ); - $rol = explode ( ',', $roles ); - foreach ( $rol as $key => $val ) { - if ( $val != 0 ) - $obj->assignUserRole ( $uid, $val ); - } - - if ($isPM ) { - $sql = "insert into USER (UID, USR_USER_NAME, USR_LASTNAME, USR_MIDNAME, USR_FIRSTNAME, USR_EMAIL) VALUES ( " . - $uid . ", '" . $userName . "', '" . $last . "','', '". $aux[0] . "', '". $email. "' ) "; - //$f =fopen ( '/shared/security.log', "a+" );fwrite ( $f, date("Y-m-d h:i:s") . "$isPM $sql \n" ); fclose ($f); - $sesPM->Execute ( $sql ); - } - } - header("Content-Type: text/xml"); - print ''; - print ''; - print "$result"; - print ''; -} - -function validUser ( $userid) { - global $RBAC; - $res = $RBAC->UserNameRepetido( 0, $userid ); - - header("Content-Type: text/xml"); - print ''; - print ''; - print "$res"; - print ''; -/* - if ( $res == 0 ) { - print "valid user"; - } - else { - print "user already used"; - } - */ -} - -function searchText ( $searchText) { - global $_SESSION; - global $RBAC; - $curAuthSource = $_SESSION['CURRENT_AUTH_SOURCE']; - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - $tpl = new TemplatePower( PATH_TPL . 'authListUsers.html' ); - $tpl->prepare(); - - $tpl->assign( "STYLE_CSS" , ( defined ('STYLE_CSS') ? STYLE_CSS : 'simple' ) ); - $tpl->assign( "title" , 'Search Results' ); - - //authentication source - G::LoadClassRBAC ('authentication'); - $obj = new authenticationSource; - $obj->SetTo( $dbc ); - $data = $obj->searchUsers ( $curAuthSource , $searchText); - if ( $data['codError'] == 0 && isset ( $data['rows'] ) && !is_array( $data['rows'] ) ) { - $tpl->newBlock( "empty-rows" ); - $tpl->assign( "title" , 'Search Results' ); - $tpl->assign( "empty-rows-text" , 'no records found' ); - $tpl->printToScreen(); - die; - } - if ( $data['codError'] != 0 ) { - $tpl->newBlock( "error" ); - $tpl->assign( "title" , 'Log Error' ); - $tpl->assign( "text" , "" . $data['rows'] . "" ) ; - $tpl->printToScreen(); - die; - } - - //build the options to create...an user, list the applications and their roles.. - $ses = new DBSession ( $dbc ); - $ses2 = new DBSession ( $dbc ); - $dset = $ses->execute ( "SELECT * from APPLICATION where APP_CODE != 'RBAC' " ); - $appRow = $dset->Read(); - $checkboxs = "
"; - $inputs = "
@@validuser
 "; - $options = "" ; - $options .= ""; - while ( is_array ( $appRow ) ) { - $appid = $appRow['UID']; - $selectId = 'S-@@Y-'. $appid; - $dset2 = $ses2->execute ( 'SELECT * from ROLE where ROL_APPLICATION = ' . $appid ); - $rolRow = $dset2->Read(); - $selectEnabled = false; - if ( is_array ( $rolRow ) ) { - $options .= '
' . $appRow['APP_CODE'] . '
'; - $options .= "\n
"; - } - - $appRow = $dset->Read(); - } - $options .= '
'; - - $i = 0; - if ( isset ( $data['rows'] ) ) - foreach ( $data['rows'] as $row ) { - - $tpl->newBlock( "users" ); - if ( ++$i % 2 == 0 ) - $tpl->assign( "class" , 'Row2' ); - else - $tpl->assign( "class" , 'Row1' ); - $tpl->assign( "index" , $i ); - $tpl->assign( "dn" , $row['dn'] ); - $tpl->assign( "name" , $row['attr']['givenName'] ); - $tpl->assign( "lastname" , $row['attr']['sn'] ); - $tpl->assign( "fullname" , $row['attr']['cn'] ); - $tpl->assign( "email" , $row['attr']['mail'] ); - $tpl->assign( "uid" , $row['attr']['uid'] ); - - //verificar uid - $userid = $row['attr']['uid']; - $res = $RBAC->UserNameRepetido( 0, $userid ); - - - $input = str_replace ( '@@Z', $userid, str_replace ( '@@X', $row['dn'], str_replace ( '@@Y', $i, $inputs) ) ); - $input = str_replace ( '@@validuser', ( $res == 0 ? "valid user" : "user already used"), $input ); - $checkbox = str_replace ( '@@X', $row['dn'], str_replace ( '@@Y', $i, $checkboxs) ); - $checkbox = str_replace ( '@@disabled', ( $res <> 0 ? 'disabled' : ''), $checkbox ); - $option = str_replace ( '@@X', $row['dn'], str_replace ( '@@Y', $i, $options) ); -// $option = str_replace ( '@@disabled', ( $res <> 0 ? 'disabled' : ''), $option ); - $tpl->assign( "checkbox" , $checkbox ); - $tpl->assign( "input" , $input ); - $tpl->assign( "options" , $option ); - } - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( "start-users" ); - $tpl->assign( "dummy" , 'dummy' ); - - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( "end-users" ); - $tpl->assign( "dummy" , 'dummy' ); - - $tpl->printToScreen(); - -} - - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authDel.php b/rbac/engine/methods/rbac/authDel.php deleted file mode 100755 index 62ee2fb6c..000000000 --- a/rbac/engine/methods/rbac/authDel.php +++ /dev/null @@ -1,31 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -G::LoadClassRBAC ('authentication'); -$obj = new authenticationSource; -$obj->SetTo($dbc); -$obj->removeSource($_GET['UID']); -header('location: authenticationList.html'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authEdit.php b/rbac/engine/methods/rbac/authEdit.php deleted file mode 100755 index 6bc9174fc..000000000 --- a/rbac/engine/methods/rbac/authEdit.php +++ /dev/null @@ -1,46 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.authSource'; -$G_BACK_PAGE = 'rbac/authenticationList.html'; -$G_MENU_SELECTED = 2; - -$appid = isset($_GET[0])?$_GET[0]:''; -if ( $appid == '' && $HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE'] != '' ) - $appid = $HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE']; - -$HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE'] = $appid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -G::LoadClassRBAC('authentication'); -$obj = new authenticationSource; -$obj->SetTo ($dbc); -$obj->Load($appid); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( 'xmlform', 'xmlform', 'rbac/authNew', '', $obj->Fields, 'authEdit2'); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authEdit2.php b/rbac/engine/methods/rbac/authEdit2.php deleted file mode 100755 index 77a6ebc9f..000000000 --- a/rbac/engine/methods/rbac/authEdit2.php +++ /dev/null @@ -1,45 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$frm = $_POST['form']; - -$code = strtoupper ( $frm['APP_CODE']); -$description = $frm['APP_DESCRIPTION']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -G::LoadClassRBAC('authentication'); -$obj = new authenticationSource; -$obj->SetTo($dbc); -$res = $obj->editSource($_SESSION['CURRENT_AUTH_SOURCE'], $frm); - -if ($res <= 0) -{ - G::SendMessageXml('ID_USER_HAVENT_RIGHTS_PAGE', 'error'); - header('location: authEdit'); - die; -} - -header('location: authTest.html'); -//header('location: authenticationList.html'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authNew.php b/rbac/engine/methods/rbac/authNew.php deleted file mode 100755 index 5949fd5d6..000000000 --- a/rbac/engine/methods/rbac/authNew.php +++ /dev/null @@ -1,45 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - G::GenericForceLogin ('RBAC_LOGIN','login/noViewPage','login/login'); - - $G_MAIN_MENU = "rbac"; - $G_BACK_PAGE = "rbac/authenticationList"; - $G_SUB_MENU = "cancel"; - $G_MENU_SELECTED = 1; - - $Fields['AUT_PROVIDER'] = 'adprovider'; - $Fields['AUT_ENABLED_TLS'] = '0'; - $Fields['AUT_PORT'] = '389'; - $Fields['AUT_SEARCH_ATTRIBUTES'] = "cn\nmail\nmsAMAccountName"; - $Fields['AUT_OBJECT_CLASSES'] = "user\ninetOrgPerson\nposixAccount"; - - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - $G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/authNew", "", $Fields, "authNew2"); - G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authNew2.php b/rbac/engine/methods/rbac/authNew2.php deleted file mode 100755 index bb19071b3..000000000 --- a/rbac/engine/methods/rbac/authNew2.php +++ /dev/null @@ -1,47 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - $frm = $_POST['form']; - - $code = strtoupper ( $frm['APP_CODE']); - $description = $frm['APP_DESCRIPTION']; - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - //crear nueva authentication source - G::LoadClassRBAC ('authentication'); - $obj = new authenticationSource; - $obj->SetTo( $dbc ); - $res = $obj->newSource ( $frm ); - - if ($res <= 0 ) { - //G::SendMessage ( -$res, "error"); - header ("location: authNew"); - die; - } - $HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE'] = $res; - - header( "location: authenticationList.html" ); - -?> diff --git a/rbac/engine/methods/rbac/authTest.php b/rbac/engine/methods/rbac/authTest.php deleted file mode 100755 index 1da5ef498..000000000 --- a/rbac/engine/methods/rbac/authTest.php +++ /dev/null @@ -1,133 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.authSource'; -$G_BACK_PAGE = 'rbac/authenticationList.html'; -$G_MENU_SELECTED = 2; -$G_SUB_MENU_SELECTED = 1; - -$appid = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; -if ($appid == '' && $_SESSION['CURRENT_AUTH_SOURCE'] != '') -{ - $appid = $_SESSION['CURRENT_AUTH_SOURCE']; -} - -$_SESSION['CURRENT_AUTH_SOURCE'] = $appid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -G::LoadClassRBAC('authentication'); -$obj = new authenticationSource; -$obj->SetTo($dbc); -$obj->Load($appid); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent('view', 'testAuthenticationSource'); -G::RenderPage( 'publish'); - -/* - require_once('Net/LDAP.php'); - $rootDn = 'OU=Ventas,DC=colosa,DC=net'; - $config = array( - 'dn' => 'scout@colosa.net', - 'password' => 'Colosa1', - 'host' => '192.168.0.50', - 'base' => $rootDn, - 'options' => array('LDAP_OPT_REFERRALS' => 0), - 'tls' => false, - 'port'=> 389 - ); - - $oLdap =& Net_LDAP::connect($config); - if (PEAR::isError($oLdap)) { - print ( $oLdap->message); - return $oLdap; - } - - - $sFilter = '(&(|(objectClass=user)(objectClass=inetOrgPerson)(objectClass=posixAccount))(|(cn=*a*)(mail=*a*)(sAMAccountName=*a*)))'; - $aParams = array( - 'scope' => 'sub', - 'attributes' => array('cn', 'dn', 'samaccountname'), - ); - - $oResult = $oLdap->search($rootDn, $sFilter, $aParams); - if (PEAR::isError($oResult)) { - print ( $oLdap->message); - return $oResult; - } - $aRet = array(); - foreach($oResult->entries() as $oEntry) { - $aAttr = $oEntry->attributes(); - $aAttr['dn'] = $oEntry->dn(); - $aRet[] = $aAttr; - } - - print_r ($aRet); - print '
'; - -//ahora pedir todos los datos - //active directory - $aAttributes = array ('cn', 'samaccountname', 'givenname', 'sn', 'userprincipalname', 'telephonenumber'); - //ldap - //$aAttributes = array ('cn', 'uid', 'givenname', 'sn', 'mail', 'mobile'); - - $sFilter = '(objectClass=*)'; - $aParams = array( - 'scope' => 'base', - 'attributes' => $aAttributes, - ); - - $userDn = 'CN=Javier,OU=Ventas,DC=colosa,DC=net'; - $oResult = $oLdap->search($userDn, $sFilter, $aParams); - if (PEAR::isError($oResult)) { - print ( $oLdap->message); - return $oResult; - } - $aRet = array(); - foreach($oResult->entries() as $oEntry) { - $aAttr = $oEntry->attributes(); - $aAttr['dn'] = $oEntry->dn(); - $aRet[] = $aAttr; - } - print_r ($aRet); - print '
'; - - $oLdap =& Net_LDAP::connect($config); - if (PEAR::isError($oLdap)) { - print ( $oLdap->message); - return $oLdap; - } - $res = $oLdap->reBind('scout@colosa.net', 'Colosa1'); - - if (PEAR::isError($res)) { - print ( $res->message); - return $res; - } - if ($res === true) { - print 'ok'; - } -*/ -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/authenticationList.php b/rbac/engine/methods/rbac/authenticationList.php deleted file mode 100755 index c47230729..000000000 --- a/rbac/engine/methods/rbac/authenticationList.php +++ /dev/null @@ -1,33 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.authentication'; -$G_MENU_SELECTED = 2; -$canCreateApp = $RBAC->userCanAccess('RBAC_CREATE_APPLICATION' ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->AddContent('xmlform', 'pagedTable', 'rbac/authenticationsList', '', array('DELETE' => G::LoadMessageXml('ID_DELETE')), ''); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/dbInfo.php b/rbac/engine/methods/rbac/dbInfo.php deleted file mode 100755 index cf86b1c7b..000000000 --- a/rbac/engine/methods/rbac/dbInfo.php +++ /dev/null @@ -1,92 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - $G_MAIN_MENU = "rbac"; - $G_BACK_PAGE = "rbac/appList"; - $G_MENU_SELECTED = 3; - - if ( file_exists ( PATH_METHODS . 'login/version-rbac.php') ) { - include ( PATH_METHODS . 'login/version-rbac.php' ); - } - else { - define ( 'RBAC_VERSION', "Development Version" ); - } - - function lookup($target){ - global $ntarget; - $msg = "$target => "; - //if( eregi("[a-zA-Z]", $target) ) - if( preg_match("[a-zA-Z]", $target) ) //Made compatible to PHP 5.3 - $ntarget = gethostbyname($target); - else - $ntarget = gethostbyaddr($target); - $msg .= $ntarget; - return($msg); - } - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $ses = new DBSession ($dbc); - $dset = $ses->execute ("SELECT VERSION() AS VERSION "); - $row = $dset->Read(); - - if (getenv('HTTP_CLIENT_IP')) { - $ip = getenv('HTTP_CLIENT_IP'); - } - elseif(getenv('HTTP_X_FORWARDED_FOR')) { - $ip = getenv('HTTP_X_FORWARDED_FOR'); - } else { - $ip = getenv('REMOTE_ADDR'); - } - - if ( file_exists ( "/etc/redhat-release" ) ) { - $fnewsize = filesize( "/etc/redhat-release" ); - $fp = fopen( "/etc/redhat-release" , "r" ); - $redhat = fread( $fp, $fnewsize ); - fclose( $fp ); - } - - $Fields = $dbc->db->dsn; - $Fields['SYSTEM'] = $redhat; - $Fields['MYSQL'] = $row['VERSION']; - $Fields['PHP'] = phpversion(); - $Fields['FLUID'] = RBAC_VERSION; - $Fields['IP'] = lookup ($ip); - $Fields['ENVIRONMENT'] = SYS_SYS; - $Fields['SERVER_SOFTWARE'] = getenv('SERVER_SOFTWARE'); - $Fields['SERVER_NAME'] = getenv('SERVER_NAME'); - $Fields['SERVER_PROTOCOL'] = getenv('SERVER_PROTOCOL'); - $Fields['SERVER_PORT'] = getenv('SERVER_PORT' ); - $Fields['REMOTE_HOST'] = getenv('REMOTE_HOST'); - $Fields['SERVER_ADDR'] = getenv('SERVER_ADDR'); - $Fields['HTTP_USER_AGENT'] = getenv('HTTP_USER_AGENT'); - - - $Fields['a'] = $dbc; - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - $G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/dbInfo", "", $Fields, "appNew2"); - $content = '';//'';//G::LoadContent( "rbac/myApp" ); - G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadAuthSource.php b/rbac/engine/methods/rbac/loadAuthSource.php deleted file mode 100755 index 3627bb012..000000000 --- a/rbac/engine/methods/rbac/loadAuthSource.php +++ /dev/null @@ -1,27 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$_SESSION['CURRENT_AUTH_SOURCE'] = $_GET['UID']; -header('location: authEdit.htm'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadPermView.php b/rbac/engine/methods/rbac/loadPermView.php deleted file mode 100755 index 80b6e9dc2..000000000 --- a/rbac/engine/methods/rbac/loadPermView.php +++ /dev/null @@ -1,28 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -if ($_GET['UID'] != "") - $_SESSION['CURRENT_APPLICATION'] = isset($_GET['UID'])?$_GET['UID']:'';//$URI_VARS[0]; -header ("location: permList.htm"); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadRoleProp.php b/rbac/engine/methods/rbac/loadRoleProp.php deleted file mode 100755 index af9186db3..000000000 --- a/rbac/engine/methods/rbac/loadRoleProp.php +++ /dev/null @@ -1,35 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$_SESSION['CURRENT_ROLE'] = $_GET['ROL_UID']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); -$ses = new DBSession; -$ses->SetTo ($dbc); -$dset = $ses->Execute('SELECT ROL_APPLICATION FROM USER_ROLE LEFT JOIN ROLE ON (ROL_UID = UID) WHERE ROL_UID = ' . $_SESSION['CURRENT_ROLE']); -$row = $dset->Read(); -$_SESSION['CURRENT_APPLICATION'] = $row['ROL_APPLICATION']; - -header('location: userRoleProp.htm'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadRoleProp2.php b/rbac/engine/methods/rbac/loadRoleProp2.php deleted file mode 100755 index cbcb9553b..000000000 --- a/rbac/engine/methods/rbac/loadRoleProp2.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$rolid = isset($_GET['ROL_UID']) ? $_GET['ROL_UID']:''; -if ($rolid != "") - $_SESSION['CURRENT_ROLE'] = $rolid; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$ses = new DBSession; -$ses->SetTo ($dbc); - -$sql = "select ROL_APPLICATION FROM USER_ROLE LEFT JOIN ROLE ON (ROL_UID = UID) WHERE ROL_UID = $rolid "; -$dset = $ses->Execute ($sql); -$row = $dset->Read(); -if (is_array($row) ) - $_SESSION['CURRENT_APPLICATION'] = $row['ROL_APPLICATION']; -header ("location: roleProp.htm"); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadRoleView.php b/rbac/engine/methods/rbac/loadRoleView.php deleted file mode 100755 index a2a30cd7c..000000000 --- a/rbac/engine/methods/rbac/loadRoleView.php +++ /dev/null @@ -1,28 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -if ($_GET['UID'] != "") - $_SESSION['CURRENT_APPLICATION'] = $_GET['UID']; -header('location: roleList.htm'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadUser.php b/rbac/engine/methods/rbac/loadUser.php deleted file mode 100755 index c2054af43..000000000 --- a/rbac/engine/methods/rbac/loadUser.php +++ /dev/null @@ -1,27 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$_SESSION['CURRENT_USER'] = $_GET['UID']; -header('location: userEdit.htm'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/loadUserRole.php b/rbac/engine/methods/rbac/loadUserRole.php deleted file mode 100755 index 596474bc5..000000000 --- a/rbac/engine/methods/rbac/loadUserRole.php +++ /dev/null @@ -1,29 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - $_GET['UID'] = (int)$_GET['UID']; - $_SESSION['CURRENT_USER'] = $_GET['UID']; - header('location: userEdit'); -// header('location: userViewRole'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/message.php b/rbac/engine/methods/rbac/message.php deleted file mode 100755 index e94a4593e..000000000 --- a/rbac/engine/methods/rbac/message.php +++ /dev/null @@ -1,31 +0,0 @@ - -/** - * message.php - * - * ProcessMaker Open Source Edition - * Copyright (C) 2004 - 2008 Colosa Inc.23 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - -
- This test will connect to a mail server via SMTP, perform a simple Open Relay Test and verify the server has a reverse DNS (PTR) record.
-   - -
diff --git a/rbac/engine/methods/rbac/permDel.php b/rbac/engine/methods/rbac/permDel.php deleted file mode 100755 index 352426a0e..000000000 --- a/rbac/engine/methods/rbac/permDel.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$permid = isset($_GET['UID'])?$_GET['UID']:'';//$URI_VARS[0]; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -//crear Objeto Permission -G::LoadClassRBAC ("permissions"); -$obj = new RBAC_Permission; -$obj->SetTo ($dbc); -$obj->removePermission ( $permid ); - -header( "location: permList.html" ); -?> diff --git a/rbac/engine/methods/rbac/permEdit.php b/rbac/engine/methods/rbac/permEdit.php deleted file mode 100755 index 27124a4eb..000000000 --- a/rbac/engine/methods/rbac/permEdit.php +++ /dev/null @@ -1,48 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/permList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -$uid = isset($_GET['UID'])?$_GET['UID']:'';//$URI_VARS[0]; -$_SESSION['CURRENT_PERM_PARENT'] = $uid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -G::LoadClassRBAC ("permissions"); -$obj = new RBAC_Permission; -$obj->SetTo ($dbc); -$obj->Load($uid); - -$obj->Fields['UID'] = $_SESSION['CURRENT_APPLICATION']; -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/permEdit", "", $obj->Fields, "permEdit2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/permEdit2.php b/rbac/engine/methods/rbac/permEdit2.php deleted file mode 100755 index c1867e678..000000000 --- a/rbac/engine/methods/rbac/permEdit2.php +++ /dev/null @@ -1,48 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $_POST['form']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -$permid = $_SESSION['CURRENT_PERM_PARENT']; -$appid = $_SESSION['CURRENT_APPLICATION']; -$code = strtoupper( $frm['PRM_CODE']); -$descrip = $frm['PRM_DESCRIPTION']; - -//crear nuevo permiso -G::LoadClassRBAC ( "permissions"); -$obj = new RBAC_Permission; -$obj->SetTo( $dbc ); -$res = $obj->permissionCodeRepetido ( $code ); -if ($res != 0 && $res != $permid) { - G::SendMessage ( 16, "error"); - header ("location: permList.php"); - die; -} -$uid = $obj->editPermission( $permid, $appid, $code , $descrip ); -header( "location: permList.html" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/permList.php b/rbac/engine/methods/rbac/permList.php deleted file mode 100755 index 7eb602058..000000000 --- a/rbac/engine/methods/rbac/permList.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.appView"; -$G_MENU_SELECTED = 1; - -$canCreatePerm = $RBAC->userCanAccess("RBAC_CREATE_PERMISSION" ); - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "view", "treePerm"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/permNew.php b/rbac/engine/methods/rbac/permNew.php deleted file mode 100755 index 23684c987..000000000 --- a/rbac/engine/methods/rbac/permNew.php +++ /dev/null @@ -1,56 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/permList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -$permid = isset($_GET['UID'])?$_GET['UID']:'';//$URI_VARS[0]; -$HTTP_SESSION_VARS['CURRENT_PERM_PARENT'] = $permid; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); - -$fields['APPID'] = $_SESSION['CURRENT_APPLICATION']; -if ( PEAR_DATABASE == 'pgsql' ) { - $CONCAT1 = "APP_CODE || \" - \" || APP_DESCRIPTION "; - $CONCAT2 = "PRM_CODE || \" - \" || PRM_DESCRIPTION "; -} -else { - $CONCAT1 = "CONCAT(APP_CODE,\" - \",APP_DESCRIPTION) "; - $CONCAT2 = "CONCAT(PRM_CODE,\" - \",PRM_DESCRIPTION) "; -} -$fields['CONCAT1'] = $CONCAT1; -$fields['CONCAT2'] = $CONCAT2; -$fields['PERMID'] = $permid; - -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/permNew", "", $fields, "permNew2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/permNew2.php b/rbac/engine/methods/rbac/permNew2.php deleted file mode 100755 index 50fd2a5f9..000000000 --- a/rbac/engine/methods/rbac/permNew2.php +++ /dev/null @@ -1,48 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $_POST['form']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -$parent = $_SESSION['CURRENT_PERM_PARENT']; -$appid = $_SESSION['CURRENT_APPLICATION']; -$code = strtoupper( $frm['PRM_CODE']); -$descrip = $frm['PRM_DESCRIPTION']; - -//crear nuevo permiso -G::LoadClassRBAC ( "permissions"); -$obj = new RBAC_Permission; -$obj->SetTo( $dbc ); -$res = $obj->permissionCodeRepetido ( $code ); -if ($res != 0 ) { - G::SendMessage ( 16, "error"); - header ("location: permList.php"); - die; -} -$uid = $obj->createPermission( $parent, $appid, $code , $descrip ); -header( "location: permList.html" ); -?> diff --git a/rbac/engine/methods/rbac/roleDel.php b/rbac/engine/methods/rbac/roleDel.php deleted file mode 100755 index 2bdaf151f..000000000 --- a/rbac/engine/methods/rbac/roleDel.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$roleid = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -//crear Objeto Roles -G::LoadClassRBAC ("roles"); -$obj = new RBAC_Role; -$obj->SetTo ($dbc); -$obj->removeRole ( $roleid ); - -header( "location: roleList.html" ); -?> diff --git a/rbac/engine/methods/rbac/roleEdit.php b/rbac/engine/methods/rbac/roleEdit.php deleted file mode 100755 index 83b13a0fa..000000000 --- a/rbac/engine/methods/rbac/roleEdit.php +++ /dev/null @@ -1,52 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/roleList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -$uid = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; -$_SESSION['CURRENT_ROLE_PARENT'] = $uid; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -G::LoadClassRBAC ("roles"); -$obj = new RBAC_Role; -$obj->SetTo ($dbc); -$obj->Load($uid); - -$obj->Fields['EDIT_ROLES'] = G::LoadMessageXml ('ID_ROLES'); -$obj->Fields['EDIT_PERMISSIONS'] = G::LoadMessageXml ('ID_PERMISSIONS'); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$fields = $obj->Fields; -$fields['CURRENT_APPLICATION'] = $_SESSION['CURRENT_APPLICATION']; -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/roleEdit", "", $fields, "roleEdit2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/roleEdit2.php b/rbac/engine/methods/rbac/roleEdit2.php deleted file mode 100755 index 0d4f3c238..000000000 --- a/rbac/engine/methods/rbac/roleEdit2.php +++ /dev/null @@ -1,47 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $_POST['form']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$roleid = $_SESSION['CURRENT_ROLE_PARENT']; -$appid = $_SESSION['CURRENT_APPLICATION']; -$code = strtoupper( $frm['ROL_CODE']); -$descrip = $frm['ROL_DESCRIPTION']; - -//crear nuevo rol -G::LoadClassRBAC ( "roles"); -$obj = new RBAC_Role; -$obj->SetTo( $dbc ); -$res = $obj->roleCodeRepetido ( $code ); -if ($res != 0 && $res != $roleid) { - G::SendMessage ( 14, "error"); - header ("location: roleList.php"); - die; -} -$uid = $obj->editRole( $roleid, $appid, $code , $descrip ); -header( "location: roleList.html" ); -?> diff --git a/rbac/engine/methods/rbac/roleList.php b/rbac/engine/methods/rbac/roleList.php deleted file mode 100755 index c8aee25c2..000000000 --- a/rbac/engine/methods/rbac/roleList.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.role"; -$G_MENU_SELECTED = 1; - -$canCreateRole = $RBAC->userCanAccess("RBAC_CREATE_ROLE" ); -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "view", "treeRole"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/roleNew.php b/rbac/engine/methods/rbac/roleNew.php deleted file mode 100755 index a3378881c..000000000 --- a/rbac/engine/methods/rbac/roleNew.php +++ /dev/null @@ -1,63 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_BACK_PAGE = "rbac/roleList"; -$G_SUB_MENU = "cancel"; -$G_MENU_SELECTED = 1; - -if (!isset($_GET[0])) { - $parent = "0"; - $postFile = "roleNew2"; -} -else { - $parent = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; - $postFile = "roleNew2"; -} - -$_SESSION ['CURRENT_ROLE_PARENT'] = $parent; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); - - if ( PEAR_DATABASE == 'pgsql' ) { - $concat1 = 'APP_CODE || " - " || APP_DESCRIPTION'; - $concat2 = 'ROL_CODE || " - " || ROL_DESCRIPTION'; - } - else { - $concat1 = 'CONCAT(APP_CODE," - ",APP_DESCRIPTION)'; - $concat2 = 'CONCAT(ROL_CODE," - ",ROL_DESCRIPTION)'; - } - -$fields['APPID'] = $_SESSION['CURRENT_APPLICATION']; -$fields['ROLID'] = $_SESSION['CURRENT_ROLE_PARENT']; -$fields['CONCAT1'] = $concat1; -$fields['CONCAT2'] = $concat2; -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/roleNew", "", $fields, $postFile ); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/roleNew2.php b/rbac/engine/methods/rbac/roleNew2.php deleted file mode 100755 index 903fc051b..000000000 --- a/rbac/engine/methods/rbac/roleNew2.php +++ /dev/null @@ -1,49 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $_POST['form']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -$parent = $_SESSION['CURRENT_ROLE_PARENT']; -$appid = $_SESSION['CURRENT_APPLICATION']; -$code = strtoupper( $frm['ROL_CODE']); -$descrip = $frm['ROL_DESCRIPTION']; - -//crear nuevo ROL -G::LoadClassRBAC ( "roles"); -$obj = new RBAC_Role; -$obj->SetTo( $dbc ); -$res = $obj->roleCodeRepetido( $code ); -if ($res != 0 ) { - G::SendMessage (14, "error"); - header ("location: roleList.php"); - die; -} - -$uid = $obj->createRole( $parent, $appid, $code , $descrip ); -header( "location: roleList.html" ); -?> diff --git a/rbac/engine/methods/rbac/roleProp.php b/rbac/engine/methods/rbac/roleProp.php deleted file mode 100755 index 6090d187e..000000000 --- a/rbac/engine/methods/rbac/roleProp.php +++ /dev/null @@ -1,56 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.appView"; -$G_MENU_SELECTED = 1; - -$permid = isset($_GET[0])?$_GET[0]:'';//$URI_VARS[0]; -$rolid = $_SESSION['CURRENT_ROLE']; - -G::LoadClassRBAC ( "roles" ); -G::LoadClassRBAC ( "user" ); -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -$canCreateRole = $RBAC->userCanAccess("RBAC_CREATE_PERMISSION" ); -$obj = New RBAC_role; -$obj->SetTo ($dbc); -$parents = $obj->GetAllParents($rolid); -$_SESSION['CURRENT_ROLE_PARENTS'] = $parents; - -if ( $permid != "" ) { - $obj->flipFlopRole($rolid, $permid); -} - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "view", "treePermRole"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/showFieldAjax.php b/rbac/engine/methods/rbac/showFieldAjax.php deleted file mode 100755 index a0f28d1a9..000000000 --- a/rbac/engine/methods/rbac/showFieldAjax.php +++ /dev/null @@ -1,206 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -global $HTTP_SESSION_VARS; -global $G_FORM; - -G::LoadInclude ( 'ajax' ); -/* -if(isset($HTTP_SESSION_VARS['CURRENT_APPLICATION'])){ -if ($HTTP_GET_VARS['__dynaform__'] == '') - $filename = $HTTP_SESSION_VARS['CURRENT_REQ_DYNAFORM_FILENAME']; -if ($HTTP_GET_VARS['__filename__'] != '') - $filename = $HTTP_GET_VARS['__filename__']; - -$Connection = new DBConnection; -$ses = new DBSession($Connection); - -if ($HTTP_GET_VARS['__dynaform__'] == '') { - $Dataset = $ses->Execute("SELECT UID FROM REQ_DYNAFORM WHERE REQ_FILENAME = '$filename' AND UID_PROCESS = '" . $HTTP_SESSION_VARS['PROCESS_GUID']."'"); - $Row = $Dataset->Read(); -} -else { - $Dataset = $ses->Execute('SELECT REQ_FILENAME FROM REQ_DYNAFORM WHERE UID = "' . $HTTP_GET_VARS['__dynaform__'].'"'); - $Row = $Dataset->Read(); - - $filename = $Row['REQ_FILENAME']; -} - -if ($HTTP_GET_VARS['__dynaform__'] == '') - $HTTP_SESSION_VARS['CURRENT_REQ_DYNAFORM'] = $Row['UID']; - -} -*/ - $filename = 'rbac/userAssignRole'; - - -$fieldName = get_ajax_value( 'field' ); -$fieldValue = get_ajax_value( 'value' ); -$fieldParent = get_ajax_value( 'parent' ); -$function = get_ajax_value( 'function' ); -$appid = get_ajax_value( 'application' ); -$Dynaform = get_ajax_value( 'Dynaform' ); -$InitValue = get_ajax_value( 'InitValue' ); - -switch ( $function ) { - case 'text' : fillText( $fieldName, $fieldParent, $fieldValue, $appid, $filename ); break; - case 'dropdown' : fillDropdown( $fieldName, $fieldParent, $fieldValue, $appid, $filename,$InitValue ); break; - default : echo'none'; -} -function fillCaption ( $fieldName,$fieldParent, $valueRecived, $appid, $filename) { - $options = reload( $fieldName,$fieldParent, $valueRecived, $appid,$filename ); - header("Content-Type: text/xml"); - print ' - - ' . $value . ' - '; -// ' . utf8_encode($value) . ' -} -function fillText ( $fieldName,$fieldParent, $valueRecived, $appid, $filename) { - $options = reload( $fieldName,$fieldParent, $valueRecived, $appid,$filename ); - $value = "_vacio"; - if(is_array($options)) - foreach($options as $key => $val){ - $value = $val; - } - header("Content-Type: text/xml"); - print ' - - ' . $value . ' - '; - -// '.utf8_encode($value).' - -} - -function fillDropdown ( $fieldName,$fieldParent, $valueRecived, $appid,$filename, $InitValue ) { - - global $HTTP_SESSION_VARS; - $options = reload( $fieldName,$fieldParent, $valueRecived, $appid,$filename); - if(is_array($options)) - foreach($options as $key => $val){ - $value .= '' . $val .' '; -// $value .= ''.utf8_encode($val) .' '; - } - if($value == ""){ - $value = "_vacio"; - }else{ - if($InitValue == 'true'){ - if(isset($HTTP_SESSION_VARS['INIT_VALUES'][$fieldName])){ -// $value .= '' . utf8_encode($HTTP_SESSION_VARS['INIT_VALUES'][$fieldName]) .' '; - $value .= '' . $HTTP_SESSION_VARS['INIT_VALUES'][$fieldName] .' '; - } - } - } - //$value = ''.$HTTP_SESSION_VARS['INIT_VALUES'][$fieldName].' '; - //$value = 'HOLA '; - //header("Content-Type: text/xml"); - //header("Content-type: text/xml;charset=UTF-8"); - header('Content-Type: text/xml; charset=UTF-8'); - print ''; - print ''.$value.''; - - - -} - - function LoadOptions( $stQry , $dbc ) - { - - $stQry = str_replace("''''", "''", $stQry); - - //cuando la conexion es normal... se intenta realizar el query - $dses = new DBSession; - $dses->SetTo( $dbc ); - $dses->UseDB( DB_NAME ); - $dset = $dses->Execute($stQry, false, 3 ); - $data = $dset->ReadAbsolute(); - - while( $data ) - { - $key = $data[0]; - $val = $data[1]; - $result[$key] = $val; - $data = $dset->ReadAbsolute(); - } - return $result; - } - - - -function reload( $fieldName,$fieldParent, $valueRecived, $appid, $filename){ - global $HTTP_SESSION_VARS; - $G_FORM = new Form; - G::LoadSystem("xmlform"); - G::LoadClass("dynaform"); - $fieldNew[$fieldParent] = $valueRecived; - $Connection = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME );; - $ses = new DBSession($Connection); - $xml = new Xmlform; - $vars = explode('][',$fieldName); - if(is_array($vars)){ - $cant = count($vars); - $fieldName = $vars[$cant-1]; - if ($cant > 1) - $filename = $vars[0]; - } - $vars2 = explode('][',$fieldParent); - if(is_array($vars2)){ - $cant2 = count($vars2); - $fieldParent = $vars2[$cant2-1]; - - } - $v = $filename; - $xml->home = PATH_XMLFORM; - - $fieldXmlform = $xml->parseXmlformToArray ($v); - - $fieldNew[$fieldParent] = $fieldXmlform[$fieldName][defaultvalue]; - if($valueRecived != '') $fieldNew[$fieldParent] = $valueRecived; - $qry = stripslashes($fieldXmlform[$fieldName][Sql]); - $fieldNew[$fieldParent] = $fieldXmlform[$fieldName][defaultvalue]; - if($valueRecived != '') $fieldNew[$fieldParent] = $valueRecived; - - if($qry != ''){ - $conexion = $fieldXmlform[$fieldName][sqlconnection]; - G::LoadClass('dynaform'); - $myDyna = new Dynaform($Connection); - $fieldsBase = array(); - - if ($HTTP_SESSION_VARS['CURRENT_APPLICATION'] != "0") - $fieldsBase = $myDyna->getFieldsDefaultDynaform( $appid, 0 ); - if ( $appid != "" ) { - $Fields = G::array_merges ( $fieldsBase, $fieldNew ); - $qry = $myDyna->replaceTextWithFields($qry, $Fields); - } - else - $qry = "Select '1', 'dynamically filled' "; - - - eval ( '$Result = "$qry "; ' ); - $options = LoadOptions ( $Result , $Connection ); - } - return $options; -} -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userAssignRole.php b/rbac/engine/methods/rbac/userAssignRole.php deleted file mode 100755 index af139d8cb..000000000 --- a/rbac/engine/methods/rbac/userAssignRole.php +++ /dev/null @@ -1,70 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -//$G_MAIN_MENU = 'rbac'; -//$G_SUB_MENU = 'rbac.userView'; -//$G_MENU_SELECTED = 0; -//$G_SUB_MENU_SELECTED = 3; - -unset($_SESSION['CURRENT_APPLICATION']); -G::LoadClassRBAC('user'); -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - -$obj = new RBAC_user; -$obj->SetTo($dbc); -$access = $RBAC->userCanAccess('RBAC_CREATE_USERS'); - -$obj->SetTo($dbc); -$obj->Load($_SESSION['CURRENT_USER']); -$useLdap = $obj->Fields['USR_USE_LDAP'] == 'Y'; - -$ses = new DBSession; -$ses->SetTo ($dbc); - -$stQry = 'SELECT ROL_APPLICATION FROM USER_ROLE LEFT JOIN ROLE AS R ON (ROL_UID = R.UID) WHERE USR_UID = ' . $_SESSION['CURRENT_USER']; -$dset = $ses->Execute($stQry); -$row = $dset->Read(); -$inApps = '(0'; -while (is_array($row)) -{ - $inApps .= ', ' . (int)$row['ROL_APPLICATION']; - $row = $dset->Read(); -} -$inApps .= ')'; -$obj->Fields['INAPPS'] = $inApps; - -$stQry = 'SELECT COUNT(*) AS CANT FROM APPLICATION WHERE UID NOT IN ' . $inApps; -$dset = $ses->Execute($stQry); -$row = $dset->Read(); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); - -if ( $row['CANT'] > 0 ) - $G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userAssignRole', '', $obj->Fields, 'userAssignRole2'); -else - $G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/noMoreRolesAvailable', '', $obj->Fields, 'userViewRole'); - -G::RenderPage( 'publish', 'blank'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userAssignRole2.php b/rbac/engine/methods/rbac/userAssignRole2.php deleted file mode 100755 index 01437ba28..000000000 --- a/rbac/engine/methods/rbac/userAssignRole2.php +++ /dev/null @@ -1,37 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$frm = $_POST['form']; -$rolid = $frm['USR_ROLE']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -G::LoadClassRBAC('user'); -$obj = new RBAC_User; -$obj->SetTo($dbc); -$obj->assignUserRole($_SESSION['CURRENT_USER'], $rolid); -//header('location: userViewRole.html'); -?> - \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userChangeLdap.php b/rbac/engine/methods/rbac/userChangeLdap.php deleted file mode 100755 index 0a0dcb18e..000000000 --- a/rbac/engine/methods/rbac/userChangeLdap.php +++ /dev/null @@ -1,51 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - $G_MAIN_MENU = "rbac"; - $G_SUB_MENU = "rbac.userEdit"; - $G_MENU_SELECTED = 0; - - $uid = $HTTP_SESSION_VARS['CURRENT_USER']; - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $ses = new DBSession ( $dbc ); - - $stQry = "SELECT UID, USR_USE_LDAP FROM USERS where UID = $uid "; - $dset = $ses->Execute ( $stQry ); - $row = $dset->Read(); - $useLdap = $row['USR_USE_LDAP'] == 'Y'; - - $access = $RBAC->userCanAccess ("RBAC_CREATE_USERS"); - - G::LoadClassRBAC ("user"); - $obj = new RBAC_User; - $obj->SetTo ($dbc); - $obj->Load ($uid); - - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - $G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/userChangeLdap", "", $obj->Fields, "userChangeLdap2"); - G::RenderPage( "publish" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userChangeLdap2.php b/rbac/engine/methods/rbac/userChangeLdap2.php deleted file mode 100755 index 722178124..000000000 --- a/rbac/engine/methods/rbac/userChangeLdap2.php +++ /dev/null @@ -1,44 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $_POST['form']; -//$frm = G::PrepareFormArray( $frm ); - -$use = $frm['USR_USE_LDAP']; -$source = $frm['USR_LDAP_SOURCE']; -$dn = $frm['USR_LDAP_DN']; - -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - -G::LoadClassRBAC ('user'); -$obj = new RBAC_User; -$obj->SetTo( $dbc ); - -$obj->updateLDAP( $uid, $source, $dn, $use ); - -header( "location: userEdit.html" ); -?> diff --git a/rbac/engine/methods/rbac/userChangePwd.php b/rbac/engine/methods/rbac/userChangePwd.php deleted file mode 100755 index f28bc74ff..000000000 --- a/rbac/engine/methods/rbac/userChangePwd.php +++ /dev/null @@ -1,41 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.userView'; -$G_MENU_SELECTED = 0; -$G_SUB_MENU_SELECTED = 1; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); -$access = $RBAC->userCanAccess('RBAC_CREATE_USERS'); - -G::LoadClassRBAC('user'); -$obj = new RBAC_User; -$obj->SetTo($dbc); -$obj->Load($_SESSION['CURRENT_USER']); -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo($dbc); -$G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userChangePwd', '', $obj->Fields, 'userChangePwd2'); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userChangePwd2.php b/rbac/engine/methods/rbac/userChangePwd2.php deleted file mode 100755 index 789e3cf7f..000000000 --- a/rbac/engine/methods/rbac/userChangePwd2.php +++ /dev/null @@ -1,43 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - $frm = $_POST['form']; - $pass1 = $frm['PASSWORD']; - $pass2 = $frm['PASSWORD2']; - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - G::LoadClassRBAC('user'); - $obj = new RBAC_User; - $obj->SetTo($dbc); - if ($pass1 != $pass2) - { - G::SendMessage(3, 'error'); - header('location: userChangePwd.php'); - die; - } - $obj->SetTo($dbc); - $obj->changePassword($_SESSION['CURRENT_USER'], $pass1); - header('location: userEdit.html'); - //header('location: userViewRole.html'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userEdit.php b/rbac/engine/methods/rbac/userEdit.php deleted file mode 100755 index 2ad36976f..000000000 --- a/rbac/engine/methods/rbac/userEdit.php +++ /dev/null @@ -1,155 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - G::GenericForceLogin ('RBAC_LOGIN','login/noViewPage','login/login'); - - $G_MAIN_MENU = 'rbac'; - $G_SUB_MENU = 'rbac.userEdit'; - $G_MENU_SELECTED = 0; - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - $ses = new DBSession($dbc); - - $dset = $ses->Execute('SELECT UID, USR_USE_LDAP FROM USERS where UID = ' . $_SESSION['CURRENT_USER']); - $row = $dset->Read(); - $useLdap = $row['USR_USE_LDAP'] == 'Y'; - $access = $RBAC->userCanAccess ('RBAC_CREATE_USERS'); - - G::LoadClassRBAC('user'); - $obj = new RBAC_User; - $obj->SetTo($dbc); - $obj->Load($_SESSION['CURRENT_USER']); - - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - $G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userEdit', '', $obj->Fields, 'userEdit2'); - $G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userChangePwd', '', $obj->Fields, 'userChangePwd2'); - $G_PUBLISH->AddContent('xmlform', 'pagedTable', 'rbac/usersRolesList', '', array('CURRENT_USER' => $_SESSION['CURRENT_USER']), ''); - - G::RenderPage('publish'); -?> - \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userEdit2.php b/rbac/engine/methods/rbac/userEdit2.php deleted file mode 100755 index 48c900f00..000000000 --- a/rbac/engine/methods/rbac/userEdit2.php +++ /dev/null @@ -1,98 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - $frm = $_POST['form']; - $first = strtoupper ($frm['USR_LASTNAME']); - $mid = strtoupper ($frm['USR_MIDNAME']); - $names = strtoupper ($frm['USR_FIRSTNAME']); - if (!isset($frm['USR_EMAIL'])) - { - $frm['USR_EMAIL'] = ''; - } - if (!isset($frm['USR_PHONE'])) - { - $frm['USR_PHONE'] = ''; - } - if (!isset($frm['USR_CELLULAR'])) - { - $frm['USR_CELLULAR'] = ''; - } - if (!isset($frm['USR_FAX'])) - { - $frm['USR_FAX'] = ''; - } - if (!isset($frm['USR_POBOX'])) - { - $frm['USR_POBOX'] = ''; - } - if (!isset($frm['USR_USERNAME'])) - { - $frm['USR_USERNAME'] = ''; - } - if (!isset($frm['USR_STATUS'])) - { - $frm['USR_STATUS'] = ''; - } - if (!isset($frm['USR_DUE_DATE'])) - { - $frm['USR_DUE_DATE'] = ''; - } - if (!isset($frm['USR_USE_LDAP'])) - { - $frm['USR_USE_LDAP'] = ''; - } - $email = $frm['USR_EMAIL']; - $phone = $frm['USR_PHONE']; - $cell = $frm['USR_CELLULAR']; - $fax = $frm['USR_FAX']; - $pobox = $frm['USR_POBOX']; - $userID = $frm['USR_USERNAME']; - $status = $frm['USR_STATUS']; - $due = $frm['USR_DUE_DATE']; - $useLdap = $frm['USR_USE_LDAP']; - $uid = $_SESSION['CURRENT_USER']; - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - - G::LoadClassRBAC ('user'); - $obj = new RBAC_User; - $obj->SetTo($dbc); - $repId = $obj->UserNameRepetido($uid, $userID); - if ($repId != 0 ) - { - G::SendMessage (6, 'error'); - header('location: userEdit.php'); - die; - } - - $obj->SetTo($dbc); - $obj->SetToRBAC(DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - $uid = $obj->editUser($uid, $first, $mid, $names, $email, '', '', '', '', $userID, $status, $due, '', '', ''); - $obj->Load( $uid ); - if ( $obj->Fields['USR_USE_LDAP'] != $useLdap ) - { - $obj->updateLDAP( $uid, $obj->Fields['USR_LDAP_SOURCE'] , $obj->Fields['USR_LDAP_DN'] , $useLdap ); - } - header('location: userEdit.html'); - //header('location: userViewRole.html'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userList.php b/rbac/engine/methods/rbac/userList.php deleted file mode 100755 index 2bd57ba3c..000000000 --- a/rbac/engine/methods/rbac/userList.php +++ /dev/null @@ -1,44 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - G::GenericForceLogin ('RBAC_LOGIN','login/noViewPage','login/login'); - - $userID = isset ( $_SESSION ['USER_LOGGED'] ) ? $_SESSION ['USER_LOGGED'] : ''; - $G_MAIN_MENU = "rbac"; - $G_SUB_MENU = "rbac.user"; - $G_MENU_SELECTED = 0; - - $canCreateUsers = $RBAC->userCanAccess("RBAC_CREATE_USERS" ); - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - $G_PUBLISH = new Publisher; - $G_PUBLISH->SetTo ($dbc); - //$G_PUBLISH->AddContent ( "table", "paged-table", "rbac.users.list", "rbac/myApp", "", "load"); - $fields['CURRENT_USER'] = '';//"WHERE USR_UID = 1";//$HTTP_SESSION_VARS['CURRENT_USER']; - $G_PUBLISH->AddContent ( "xmlform", "pagedTable", "rbac/usersList", "", $fields, ""); - $content = '';//'';//G::LoadContent( "rbac/myApp" ); - G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userNew.php b/rbac/engine/methods/rbac/userNew.php deleted file mode 100755 index 39ca35297..000000000 --- a/rbac/engine/methods/rbac/userNew.php +++ /dev/null @@ -1,33 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_BACK_PAGE = 'rbac/userList'; -$G_SUB_MENU = 'cancel'; -$G_MENU_SELECTED = 0; - -$G_PUBLISH = new Publisher; -$G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userNew', '', '', 'userNew2'); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userNew2.php b/rbac/engine/methods/rbac/userNew2.php deleted file mode 100755 index 002c6ae8a..000000000 --- a/rbac/engine/methods/rbac/userNew2.php +++ /dev/null @@ -1,75 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$frm = $_POST['form']; -if (!isset($frm['USR_FIRSTNAME'])) -{ - $frm['USR_FIRSTNAME'] = ''; -} -if (!isset($frm['USR_MIDNAME'])) -{ - $frm['USR_MIDNAME'] = ''; -} -if (!isset($frm['USR_NAMES'])) -{ - $frm['USR_NAMES'] = ''; -} -if (!isset($frm['USR_EMAIL'])) -{ - $frm['USR_EMAIL'] = ''; -} -if (!isset($frm['USR_PHONE'])) -{ - $frm['USR_PHONE'] = ''; -} -if (!isset($frm['USR_CELLULAR'])) -{ - $frm['USR_CELLULAR'] = ''; -} -if (!isset($frm['USR_FAX'])) -{ - $frm['USR_FAX'] = ''; -} -if (!isset($frm['USR_POBOX'])) -{ - $frm['USR_POBOX'] = ''; -} -$first = strtoupper ($frm['USR_FIRSTNAME']); -$mid = strtoupper ($frm['USR_MIDNAME']); -$names = strtoupper ($frm['USR_NAMES']); -$email = $frm['USR_EMAIL']; -$phone = $frm['USR_PHONE']; -$cell = $frm['USR_CELLULAR']; -$fax = $frm['USR_FAX']; -$pobox = $frm['USR_POBOX']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - -G::LoadClassRBAC ('user'); -$obj = new RBAC_User; -$obj->SetTo($dbc); -$uid = $obj->createUser ($first, $mid, $names, $email, $phone, $cell, $fax, $pobox); -$_SESSION['CURRENT_USER'] = $uid; - -header('location: userNew3.html'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userNew3.php b/rbac/engine/methods/rbac/userNew3.php deleted file mode 100755 index ad95f43be..000000000 --- a/rbac/engine/methods/rbac/userNew3.php +++ /dev/null @@ -1,33 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$G_MAIN_MENU = 'rbac'; -$G_BACK_PAGE = 'rbac/userList'; -$G_SUB_MENU = 'cancel'; -$G_MENU_SELECTED = 0; - -$G_PUBLISH = new Publisher; -$G_PUBLISH->AddContent('xmlform', 'xmlform', 'rbac/userNewPwd', '', '', 'userNew4'); -G::RenderPage( 'publish'); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userNew4.php b/rbac/engine/methods/rbac/userNew4.php deleted file mode 100755 index 74749a32a..000000000 --- a/rbac/engine/methods/rbac/userNew4.php +++ /dev/null @@ -1,56 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -$frm = $_POST['form']; -$user = $frm['USR_USERNAME']; -$pass1 = $frm['USR_PASSWORD']; -$pass2 = $frm['USR_PASSWORD2']; -$uid = $_SESSION['CURRENT_USER']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - -G::LoadClassRBAC ('user'); -$obj = new RBAC_User; -$obj->SetTo($dbc); -$repId = $obj->UserNameRepetido($uid, $user); - -if ($repId != 0) -{ - G::SendMessage(6, 'error'); - header('location: userNew3.php'); - die; -} - -if ($pass1 != $pass2) -{ - G::SendMessage(3, 'error'); - header('location: userNew3.php'); - die; -} - -$obj->SetTo($dbc); -$obj->createUserName($uid, $user, $pass1); - -header('location: userList.html'); -?> diff --git a/rbac/engine/methods/rbac/userRoleDel.php b/rbac/engine/methods/rbac/userRoleDel.php deleted file mode 100755 index 66b1ff165..000000000 --- a/rbac/engine/methods/rbac/userRoleDel.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - $roleid = isset($_GET['r'])?$_GET['r']: ''; - $uid = $HTTP_SESSION_VARS['CURRENT_USER']; - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - //crear Objeto Roles - G::LoadClassRBAC ("user"); - $obj = new RBAC_User; - $obj->SetTo ($dbc); - $obj->removeUserRole( $uid, $roleid ); - - header( "location: userEdit.html" ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userRoleProp.php b/rbac/engine/methods/rbac/userRoleProp.php deleted file mode 100755 index 0a80b7e4a..000000000 --- a/rbac/engine/methods/rbac/userRoleProp.php +++ /dev/null @@ -1,57 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = 'rbac'; -$G_SUB_MENU = 'rbac.userView'; -$G_MENU_SELECTED = 0; -$G_SUB_MENU_SELECTED = 2; - -//$permid = $URI_VARS[0]; -$rolid = $_SESSION['CURRENT_ROLE']; - -G::LoadClassRBAC ('roles'); -G::LoadClassRBAC ('user'); -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - -$obj = new RBAC_user; -$obj->SetTo ($dbc); -$access = $RBAC->userCanAccess('RBAC_CREATE_USERS'); -//$accessChangeRole = 0; - -$obj = New RBAC_role; -$obj->SetTo ($dbc); -$parents = $obj->GetAllParents($rolid); -$_SESSION['CURRENT_ROLE_PARENTS'] = $parents; - -/*if ( $permid != '' ) { - $obj->flipFlopRole($rolid, $permid); -}*/ - -$G_PUBLISH = new Publisher; -//$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( 'view', 'treePermRole'); -//$content = G::LoadContent( 'rbac/myApp' ); -G::RenderPage( 'publish' ); -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userTestLdap.php b/rbac/engine/methods/rbac/userTestLdap.php deleted file mode 100755 index 0132787cd..000000000 --- a/rbac/engine/methods/rbac/userTestLdap.php +++ /dev/null @@ -1,55 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.userView"; -$G_MENU_SELECTED = 0; - -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$ses = new DBSession ( $dbc ); - -$stQry = "SELECT UID, USR_USE_LDAP FROM USERS where UID = $uid "; - -$dset = $ses->Execute ( $stQry ); -$row = $dset->Read(); -$useLdap = $row['USR_USE_LDAP'] == 'Y'; - -$access = $RBAC->userCanAccess ("RBAC_CREATE_USERS"); - -G::LoadClassRBAC ("user"); -$obj = new RBAC_User; -$obj->SetTo ($dbc); -$obj->Load ($uid); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/userTestLdap", "", $obj->Fields, "userTestLdap"); -$G_PUBLISH->AddContent ( "view", "testAuthenticationUser" ); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userTestLdap2.php b/rbac/engine/methods/rbac/userTestLdap2.php deleted file mode 100755 index 2b3481b91..000000000 --- a/rbac/engine/methods/rbac/userTestLdap2.php +++ /dev/null @@ -1,62 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$frm = $HTTP_POST_VARS['form']; -$frm = G::PrepareFormArray( $frm ); - -$password = $frm['PASS']; - -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$ses = new DBSession ( $dbc ); - - -G::LoadClassRBAC ('user'); -$obj = new RBAC_User; -$obj->SetTo( $dbc ); - -//$obj->updateLDAP( $uid, $source, $dn, $use ); - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.userView"; -$G_MENU_SELECTED = 0; - -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; - -$access = $RBAC->userCanAccess ("RBAC_CREATE_USERS"); - -G::LoadClassRBAC ("user"); -$obj = new RBAC_User; -$obj->SetTo ($dbc); -$obj->Load ($uid); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "xmlform", "rbac/userTestLdap", "", $obj->Fields, "userTest2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - - -?> diff --git a/rbac/engine/methods/rbac/userView.php b/rbac/engine/methods/rbac/userView.php deleted file mode 100755 index eb19b5e29..000000000 --- a/rbac/engine/methods/rbac/userView.php +++ /dev/null @@ -1,47 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -$G_MAIN_MENU = "rbac"; -$G_SUB_MENU = "rbac.userView"; -$G_MENU_SELECTED = 0; - -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; -G::LoadClassRBAC ("user"); -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$obj = new RBAC_user; - -$obj->SetTo ($dbc); -$access = $RBAC->userCanAccess ("RBAC_CREATE_USERS" ); - -$obj->SetTo ($dbc); -$obj->Load ($uid); - -$G_PUBLISH = new Publisher; -$G_PUBLISH->SetTo ($dbc); -$G_PUBLISH->AddContent ( "xmlform", "view", "rbac/userView", "", $obj->Fields, "userNew2"); -$content = '';//G::LoadContent( "rbac/myApp" ); -G::RenderPage( "publish" ); - -?> \ No newline at end of file diff --git a/rbac/engine/methods/rbac/userViewRole.php b/rbac/engine/methods/rbac/userViewRole.php deleted file mode 100755 index 621ccc83e..000000000 --- a/rbac/engine/methods/rbac/userViewRole.php +++ /dev/null @@ -1,52 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - G::GenericForceLogin ('RBAC_LOGIN','login/noViewPage','login/login'); - - $G_MAIN_MENU = 'rbac'; - $G_SUB_MENU = 'rbac.userView'; - $G_MENU_SELECTED = 0; - $G_SUB_MENU_SELECTED = 2; - -//$uid = $_SESSION['CURRENT_USER']; - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); -/*$ses = new DBSession ( $dbc ); - -$stQry = 'SELECT UID, USR_USE_LDAP FROM USERS where UID = ' . $uid; -$dset = $ses->Execute ( $stQry ); -$row = $dset->Read(); -$useLdap = $row['USR_USE_LDAP'] == 'Y';*/ - -$access = $RBAC->userCanAccess ('RBAC_CREATE_USERS' ); - -$G_PUBLISH = new Publisher; -//$G_PUBLISH->SetTo ($dbc); -//$G_PUBLISH->AddContent ( 'table', 'paged-table', 'rbac.users.role', 'rbac/myApp', '', ''); -//$content = G::LoadContent( 'rbac/myApp' ); -$G_PUBLISH->AddContent('xmlform', 'pagedTable', 'rbac/usersRolesList', '', array('CURRENT_USER' => $_SESSION['CURRENT_USER']), ''); -G::RenderPage( 'publish'); - -?> \ No newline at end of file diff --git a/rbac/engine/pre_processor.php b/rbac/engine/pre_processor.php deleted file mode 100755 index 643ba4422..000000000 --- a/rbac/engine/pre_processor.php +++ /dev/null @@ -1,202 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -define ( 'PEAR_DB', '1' ); -define ( 'PEAR_DATABASE', 'mysql'); - - -//***************** Application specific Directories & Paths ************************** - // This is defined in sysGeneric: - //define('PATH_DATA', '/shared/rbac/'); - //define('PATH_DATA_SITE', PATH_DATA . 'sites/' . SYS_SYS . '/'); - - // Application's General Paths - define( 'PATH_CORE', PATH_HOME . 'engine' . PATH_SEP ); - define( 'PATH_SKINS', PATH_CORE . 'skins' . PATH_SEP ); - define( 'PATH_METHODS', PATH_CORE . 'methods' . PATH_SEP ); - define( 'PATH_XMLFORM', PATH_CORE . 'xmlform' . PATH_SEP ); - -// Other Paths -define( 'PATH_DB' , PATH_HOME . 'engine' . PATH_SEP . 'db' . PATH_SEP); -define( 'PATH_RTFDOCS' , PATH_CORE . 'rtf_templates' . PATH_SEP ); -define( 'PATH_HTMLMAIL', PATH_CORE . 'html_templates' . PATH_SEP ); -define( 'PATH_TPL' , PATH_CORE . 'templates' . PATH_SEP ); -define( 'PATH_DYNAFORM', PATH_XMLFORM . 'dynaform' . PATH_SEP ); -define( 'PATH_DYNACONT', PATH_CORE . 'content' . PATH_SEP . 'dynaform' . PATH_SEP ); -define( 'SYS_UPLOAD_PATH', PATH_HOME . "public_html/files/" ); -define( 'PATH_UPLOAD', PATH_HTML . "/" . "files" ); - -//***************** Call Gulliver Classes ************************** - - G::LoadSystem('dbconnection'); - G::LoadSystem('dbsession'); - G::LoadSystem('dbrecordset'); - G::LoadSystem('dbtable'); - - require_once(PATH_THIRDPARTY . 'pear/json/class.json.php'); - require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'); - G::LoadSystem('xmlDocument'); - G::LoadSystem('xmlform'); - G::LoadSystem('form'); - G::LoadSystem('menu'); -// G::LoadSystem('content'); - G::LoadSystem('table'); - G::LoadSystem('publisher'); - G::LoadSystem('templatePower'); - - G::LoadSystem('headPublisher'); - $oHeadPublisher =& headPublisher::getSingleton(); - -/* Setup ... */ - //global $G_STRINGS; -// $languageDir = glob( G::ExpandPath('content') . 'languages/*.xml' ); -// foreach($languageDir as $languageFile) { -// G::loadLanguageFile ($languageFile); -// } - - define('TIMEOUT_RESPONSE', 100 ); - - define( 'APPLICATION_CODE', 'ProcessMaker' ); //to login like workflow system - -if ( defined('SYS_TEMP') && SYS_TEMP != '') { - if ( file_exists( PATH_DB . 'db_' . SYS_TEMP . '.php' )) { - require_once( PATH_DB . 'db_' . SYS_TEMP . '.php' ); - define ( SYS_SYS, SYS_TEMP ); - } - else { - $sysParts = explode('-',SYS_TEMP); - if ( count($sysParts) == 3) { - $fileName = 'dbmodule_'.$sysParts[1].'.php'; - $DB_INDEX = 0; - $DB_MODULE = array(); - - if ( !file_exists( PATH_DB . $fileName)) { - header ("location: /errors/error701.php"); - die; - } - require_once ( PATH_DB . $fileName ); - $moduleName = $DB_MODULE[$DB_INDEX]['name']; - $modulePath = $DB_MODULE[$DB_INDEX]['path']; - $moduleType = $DB_MODULE[$DB_INDEX]['type']; - if ( !file_exists( $modulePath )) { - header ("location: /errors/error704.php"); die; - } - if ( $moduleType == 'single-file' ) { - $workspaceDB = $modulePath. 'db_'. $sysParts[2] . '.php'; - } - else { - $workspaceDB = $modulePath. $sysParts[2] . '/db.php'; - } - if ( !file_exists( $workspaceDB )) { - header ("location: /errors/error704.php"); die; - } - require_once( $workspaceDB ) ; - define ( 'SYS_SYS', $sysParts[2]); - } - else { - header ("location: /errors/error701.php"); - die; - } - } -} -else { - require_once( PATH_METHODS . "login/showDBFiles.php" ) ; - die(); -} - -G::LoadSystem( 'rbac' ); //to enable rbac - -//***************** Other global definitions ************************** -$G_CONTENT = NULL; -$G_MESSAGE = ""; -$G_MESSAGE_TYPE = "info"; -$G_MENU_SELECTED = -1; -$G_MAIN_MENU = "default"; -$G_APPLICATION_CODE = "RBAC"; //to enable rbac -$RBAC = new rbac; //to enable rbac - -/* -if (defined('SYS_SYS')){ - if ( $HTTP_SESSION_VARS['ENVIRONMENT'] != '' && -// $HTTP_SESSION_VARS['ENVIRONMENT'] != 'vacio' && - SYS_SYS != 'vacio' && - SYS_SYS != $HTTP_SESSION_VARS['ENVIRONMENT'] ) { - $HTTP_SESSION_VARS['ENVIRONMENT'] = SYS_SYS; - header ("location: /sys".SYS_SYS."/" . SYS_LANG . "/" . SYS_SKIN . "/login/login.html"); - die; - } -} -else{ //cuando no esta definido - if ( $HTTP_SESSION_VARS['ENVIRONMENT'] != '' && - $HTTP_SESSION_VARS['ENVIRONMENT'] != 'vacio' && - SYS_SYS != 'vacio' && - SYS_SYS != $HTTP_SESSION_VARS['ENVIRONMENT'] ) { - $HTTP_SESSION_VARS['ENVIRONMENT'] = SYS_SYS; - header ("location: /sys/" . SYS_LANG . "/" . SYS_SKIN . "/login/login.html"); - die; - } -} -*/ - - -//***************** Session Initializations **************************/ - ini_alter( 'session.auto_start', '1' ); - // This feature has been DEPRECATED as of PHP 5.3.0. default value Off - // ini_alter( 'register_globals', 'Off' ); - session_start(); - ob_start(); - -//*********Log Handler************* -// logPage ( $URL , SYS_CURRENT_PARMS); - - -//*********jump to php file in methods directory ************* - $phpFile = G::ExpandPath('methods') . SYS_COLLECTION . "/" . SYS_TARGET.'.php'; - if ( substr(SYS_COLLECTION , 0,8) === 'gulliver' ) { - $phpFile = PATH_GULLIVER_HOME . 'methods/' . substr( SYS_COLLECTION , 8) . - SYS_TARGET.'.php'; - } else { - if ( ! file_exists( $phpFile ) ) { - header ("location: /errors/error404.php"); - die; - } - } - -//***************** Headers ************************** -if ( ! defined('EXECUTE_BY_CRON') ) { - header("Expires: Tue, 19 Jan 1999 04:30:00 GMT"); - header("Last-Modified: Tue, 19 Jan 1999 04:30:00 GMT"); - header('Cache-Control: no-cache, must-revalidate, post-check=0,pre-check=0 '); - //header("Cache-Control: max-age=0"); - header('P3P: CP="CAO PSA OUR"'); - require_once( $phpFile ); - if ( defined('SKIP_HEADERS') ) { - header("Expires: " . gmdate("D, d M Y H:i:s", mktime( 0,0,0,date('m'),date('d'),date('Y') + 1) ) . " GMT"); - header('Cache-Control: public'); - header('Pragma: '); - } - ob_end_flush(); -} -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.applications.list.php b/rbac/engine/tables/rbac.applications.list.php deleted file mode 100755 index 81008b8b0..000000000 --- a/rbac/engine/tables/rbac.applications.list.php +++ /dev/null @@ -1,82 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $G_TMP_TARGET; -global $HTTP_SESSION_VARS; -global $canCreateApp; //verificar si tiene permiso para editar una APLICACION - - -$lang = SYS_LANG; - -switch( $lang ) -{ -case 'po': - $Labels = array( - "ID", - "Código", - "Descripcion", - "Roles", - "Permisos", - ); - break; -case 'es': - $Labels = array( - "ID", - "Código", - "Descripción", - "Roles", - "Permisos", - ); - break; -default: - $Labels = array( - "ID", - "Code", - "Description", - "Roles", - "Permissions", - ); - break; -} - -$canEdit = ( $canCreateApp == 1? "link" : "text" ); - -$stQry = "SELECT *, '$Labels[3]' as ROL_UID, '$Labels[4]' AS PRM_UID " . - "FROM APPLICATION AS A ORDER BY UID"; - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; - -$G_TMP_TABLE->AddRawColumn( "text", "UID", "center", 35, $G_TMP_TARGET, "&UID" ); -$G_TMP_TABLE->AddRawColumn( $canEdit, "APP_CODE", "left", 110, "appEdit", "&UID" ); -$G_TMP_TABLE->AddRawColumn( "text", "APP_DESCRIPTION", "left", 270 ); -$G_TMP_TABLE->AddRawColumn( "link", "ROL_UID", "center", 80, "loadRoleView", "&UID" ); -$G_TMP_TABLE->AddRawColumn( "link", "PRM_UID", "center", 90, "loadPermView", "&UID" ); - -$G_TMP_TABLE->Labels = $Labels; - - -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.authentication.list.php b/rbac/engine/tables/rbac.authentication.list.php deleted file mode 100755 index 7cf7c2aab..000000000 --- a/rbac/engine/tables/rbac.authentication.list.php +++ /dev/null @@ -1,42 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $HTTP_SESSION_VARS; - -$stQry = "SELECT * " . - "FROM AUTHENTICATION_SOURCES ORDER BY AUT_UID"; - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; - -$G_TMP_TABLE->AddColumn( G::LoadMessageXml ("ID_UID"), "link", "AUT_UID", "center", 35, 'loadAuthSource', "&AUT_UID" ); -$G_TMP_TABLE->AddColumn( G::LoadMessageXml ("ID_NAME"), "link", "AUT_NAME", "left", 200, 'loadAuthSource', "&AUT_UID" ); -$G_TMP_TABLE->AddColumn( G::LoadMessageXml ("ID_SERVER_NAME"),"text", "AUT_SERVER_NAME", "left", 100 ); -$G_TMP_TABLE->AddColumn( G::LoadMessageXml ("ID_PROVIDER"), "text", "AUT_PROVIDER", "center", 90 ); -$G_TMP_TABLE->AddRawColumn( "image", "/images/trash.gif","center", 90, "authDel", "&AUT_UID" ); -//$G_TMP_TABLE->AddColumn( G::LoadMessageXml ("ID_UID"), "link", "PRM_UID", "center", 90 , "loadPermView", "&UID" ); - -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.permissions.list.php b/rbac/engine/tables/rbac.permissions.list.php deleted file mode 100755 index e58fcafcf..000000000 --- a/rbac/engine/tables/rbac.permissions.list.php +++ /dev/null @@ -1,68 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $G_TMP_TARGET; -global $HTTP_SESSION_VARS; - -$lang = SYS_LANG; -$appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION']; - -$stQry = "SELECT * " . - "FROM PERMISSION AS P WHERE PRM_APPLICATION = $appid"; - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; - -$G_TMP_TABLE->AddRawColumn( "link", "UID", "center", 60, $G_TMP_TARGET, "&UID" ); -$G_TMP_TABLE->AddRawColumn( "link", "PRM_CODE", "left", 200, $G_TMP_TARGET, "&UID" ); -$G_TMP_TABLE->AddRawColumn( "text", "PRM_DESCRIPTION", "left", 200 ); - -switch( $lang ) -{ -case 'po': - $G_TMP_TABLE->Labels = array( - "ID", - "Código", - "Descripcion" - ); - break; -case 'es': - $G_TMP_TABLE->Labels = array( - "ID", - "Código", - "Descripción" - ); - break; -default: - $G_TMP_TABLE->Labels = array( - "ID", - "Code", - "Description" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.roles.list.php b/rbac/engine/tables/rbac.roles.list.php deleted file mode 100755 index 963d87475..000000000 --- a/rbac/engine/tables/rbac.roles.list.php +++ /dev/null @@ -1,71 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $G_TMP_TARGET; -global $HTTP_SESSION_VARS; - -$lang = SYS_LANG; - -$stQry = "SELECT * " . - "FROM ROLE AS R left JOIN APPLICATION AS A ON (ROL_APPLICATION = A.UID ) "; - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; - -$G_TMP_TABLE->AddRawColumn( "text", "UID", "center" , 60 ); -$G_TMP_TABLE->AddRawColumn( "text", "APP_CODE", "left", 150 ); -$G_TMP_TABLE->AddRawColumn( "text", "ROL_CODE", "left", 200 ); -$G_TMP_TABLE->AddRawColumn( "text", "ROL_DESCRIPTION", "left", 200 ); - -switch( $lang ) -{ -case 'po': - $G_TMP_TABLE->Labels = array( - "ID", - "Application", - "Código", - "Descripcion" - ); - break; -case 'es': - $G_TMP_TABLE->Labels = array( - "ID", - "Applicación", - "Código", - "Descripción" - ); - break; -default: - $G_TMP_TABLE->Labels = array( - "ID", - "Application", - "Code", - "Description" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.users.list.php b/rbac/engine/tables/rbac.users.list.php deleted file mode 100755 index 726401ce5..000000000 --- a/rbac/engine/tables/rbac.users.list.php +++ /dev/null @@ -1,78 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $G_TMP_TARGET; -global $HTTP_SESSION_VARS; - -$lang = SYS_LANG; - - -$stQry = "SELECT UID, USR_USERNAME, USR_USE_LDAP, " . - "CONCAT(USR_LASTNAME,' ',USR_MIDNAME,' ',USR_FIRSTNAME) AS USR_NAME, " . - "USR_EMAIL, USR_CREATE_DATE, USR_DUE_DATE, USR_STATUS " . - "FROM USERS AS U ORDER BY UID"; - - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; - -$G_TMP_TABLE->AddRawColumn( "link", "UID", "center", 45, "loadUser", "&UID" ); -$G_TMP_TABLE->AddRawColumn( "link", "USR_USERNAME", "left", 110, "loadUserRole", "&UID" ); -$G_TMP_TABLE->AddRawColumn( "text", "USR_NAME" , "left", 220 ); -$G_TMP_TABLE->AddRawColumn( "text", "USR_EMAIL", "left", 80 ); -$G_TMP_TABLE->AddRawColumn( "text", "USR_STATUS", "center", 80 ); -//$G_TMP_TABLE->AddRawColumn( "text", "USR_CREATE_DATE","center",100 ); -$G_TMP_TABLE->AddRawColumn( "text", "USR_USE_LDAP","center",60 ); -$G_TMP_TABLE->AddRawColumn( "text", "USR_DUE_DATE","center",100 ); -// $G_TMP_TABLE->AddRawColumn("jslink", "DELETEBID", "center", 50,"DeleteDraftBid","&JOBID",'','',false); - -switch( $lang ) -{ -case 'es': - $G_TMP_TABLE->Labels = array( - "ID", - "Nombre de Usuario", - "Nombre completo", - "Email", - "Estado", - 'LDAP/AD', - "Fecha Venc." - ); - break; -default: - $G_TMP_TABLE->Labels = array( - "ID", - "User Name", - "Full Name", - "Email", - "Status", - 'LDAP/AD', //"Creation Date", - "Due Date" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/tables/rbac.users.role.php b/rbac/engine/tables/rbac.users.role.php deleted file mode 100755 index 1a9d9eea3..000000000 --- a/rbac/engine/tables/rbac.users.role.php +++ /dev/null @@ -1,89 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - -global $G_TMP_TABLE; -global $G_TMP_TARGET; -global $HTTP_SESSION_VARS; -global $access; - -$lang = SYS_LANG; -$uid = $HTTP_SESSION_VARS['CURRENT_USER']; - -$stQry = "SELECT " . - "USR_USERNAME FROM USERS WHERE UID = $uid"; - - -$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); -$ses = new DBSession ( $dbc ); -$dset = $ses->Execute ( $stQry ); -$row = $dset->Read( ); - -$stQry = "SELECT " . - "USR_USERNAME, APP_CODE, ROL_UID, USR_UID, " . - "ROL_CODE, ROL_DESCRIPTION, ROL_APPLICATION " . - " FROM USER_ROLE AS A LEFT JOIN USERS AS U ON (USR_UID = U.UID) " . - " LEFT JOIN ROLE AS R ON (ROL_UID = R.UID) " . - " LEFT JOIN APPLICATION AS P ON (ROL_APPLICATION = P.UID) " . - " WHERE USR_UID = $uid"; - -$G_TMP_TABLE->SetSource( $stQry, "" ); -$G_TMP_TABLE->WhereClause = ""; -$G_TMP_TABLE->title = "user: " . $row['USR_USERNAME']; - -$G_TMP_TABLE->AddRawColumn( "text", "APP_CODE", "left", 120 ); -$G_TMP_TABLE->AddRawColumn( "link", "ROL_CODE", "left", 120, "loadRoleProp", "&ROL_UID" ); -$G_TMP_TABLE->AddRawColumn( "text", "ROL_DESCRIPTION","left", 180 ); -if ($access == 1) - $G_TMP_TABLE->AddRawColumn( "image", "/images/trash.gif","center", 90, "userRoleDel", "&ROL_UID" ); - -switch( $lang ) -{ -case 'po': - $G_TMP_TABLE->Labels = array( - "Application", - "Rol Code", - "Rol Descripcion", - "Quitar Rol" - ); - break; -case 'es': - $G_TMP_TABLE->Labels = array( - "Aplicación", - "Código de Rol", - "Descripcion de Rol", - "Quitar Rol" - ); - break; -default: - $G_TMP_TABLE->Labels = array( - "Application", - "Role Code", - "Role Description", - "Remove Rol" - ); - break; -} - -?> \ No newline at end of file diff --git a/rbac/engine/templates/authListUsers.html b/rbac/engine/templates/authListUsers.html deleted file mode 100755 index 6e575bbb6..000000000 --- a/rbac/engine/templates/authListUsers.html +++ /dev/null @@ -1,71 +0,0 @@ -
- - - -
- - - - - - -
{title} -
- - -
{text}

-
- - - - - - \n"; - $tpl->assign( "href" , (ENABLE_ENCRYPT=='yes'?str_replace(G::encrypt('sys' . SYS_SYS, URL_KEY), SYS_SYS, G::encryptUrl(urldecode(SYS_CURRENT_URI), URL_KEY)):SYS_CURRENT_URI) . "?order=" . $G_TABLE->Columns[$intPos]['Name']."&page=".$pa."&label=true" ); - $Fields['headers'][] = $header; - } - else - { - $tpl->assign( "href" , '' ); - $res = "\n"; - } - } - //end grid titles - - if ( $G_TABLE->rows_per_page == '' ) $G_TABLE->rows_per_page = 25; - if ($cuenta >= $G_TABLE->rows_per_page) - $lastrow = $G_TABLE->rows_per_page; - else - $lastrow = $cuenta; - - while ( $G_TABLE->CurRow() < $lastrow ) - { - $G_TABLE->Read(); - $class = ( $G_TABLE->CurRow() % 2 == 0 ? "Row1" : "Row2" ); - - $tpl->newBlock( "row" ); - $tpl->assign( "class" , $class ); - for ( $ncount=0 ; $ncount < $G_TABLE->ColumnCount() ; $ncount++ ) - { - $tpl->newBlock( "field" ); - $col = $G_TABLE->Columns[$ncount]["Align"]; - $tpl->assign( "align" , ( $col <> '' ? " align=\"$col\"" : 'x' ) ); - $tpl->assign( "value" , $G_TABLE->RenderColumn( $ncount, '', '',0, 0) ); - } - } - - if( $curpage > 1 ) { - $firstUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=1'; - $prevpage = $curpage - 1; - $prevUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $prevpage; - $tpl->assign( "firstUrl" , $firstUrl ); - $tpl->assign( "prevUrl" , $prevUrl ); - $first = "<<"; - $prev = "<"; - } - else - { - $tpl->assign( "firstOff" , 1 ); - $tpl->assign( "prevOff" , 1 ); - $first = "<<"; - $prev = "<"; - } - - - $tpl->gotoBlock( "_ROOT" ); - if ( $totpages !=1 ) $tpl->newBlock( "paging" ); - $tpl->assign( "first" , $first ); - $tpl->assign( "prev" , $prev ); - - $tpl->assign( "curPage" , '' . G::LoadMessageXml('ID_PAGE') . ' ' . $curpage . ' ' . G::LoadMessageXml('ID_OF') . ' ' . $totpages . ' ' . ''); - - if( $curpage < $totpages ) { - $lastUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $totpages; - $nextpage = $curpage + 1; - $nextUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $nextpage; - $next = ">"; - $last = ">>"; - } - else - { - $next = ">"; - $last = ">>"; - } - $tpl->assign( "next" , $next ); - $tpl->assign( "last" , $last ); - $tpl->assign( "columnCount", $G_TABLE->ColumnCount() ); - - if( $totpages > 1 ) - { - // --------- codigo para colocar numeros de paginas --------- - $ncount = 1; - $inicio=$HTTP_SESSION_VARS['COMIENZO']; - $fin=$HTTP_SESSION_VARS['FINAL']; - // echo "Inicio:".$inicio." fin".$fin; - - for( $ncount = $inicio; $ncount <= $fin-1; $ncount++ ) - { - if($ncount>=1 && $ncount<=$totpages) - { - if( $ncount <= $totpages ) $pagesEnum .= "   "; - $pagesEnum .= ""; - $pagesEnum .= $ncount; - $pagesEnum .= ""; - } - } - $pagesEnum .="   "; - $tpl->assign("pagesEnum", $pagesEnum); - } - - if ( $lastrow == 0 ) { - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( 'norecords' ); - $tpl->assign( "noRecordsFound", G::LoadMessageXml('ID_NO_RECORDS_FOUND') ); - $tpl->assign( "columnCount", $G_TABLE->ColumnCount()); - } - - if ( $lastrow > $G_TABLE->rows_per_page * 0.66 ) { - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( "bottomFooter" ); - $tpl->assign( "columnCount", $G_TABLE->ColumnCount() + 1); - $tpl->assign( "first" , $first ); - $tpl->assign( "prev" , $prev ); - $tpl->assign( "next" , $next ); - $tpl->assign( "last" , $last ); - $tpl->assign("pagesEnum", $pagesEnum); - } - $tpl->gotoBlock( "_ROOT" ); - $tpl->printToScreen(); - ?> \ No newline at end of file diff --git a/rbac/engine/templates/popupMenu.html b/rbac/engine/templates/popupMenu.html deleted file mode 100755 index 1cbe08d4d..000000000 --- a/rbac/engine/templates/popupMenu.html +++ /dev/null @@ -1,33 +0,0 @@ -{if $printJSFile} -function popupMenu_{$form->name}( target ) -{literal} -{ - try { - var menu = new leimnud.module.app.menuRight(); - menu.make({ - target: target, - menu:[ - {/literal} - {php}$this->assign('firstfield', true);{/php} - {foreach from=$form->fields item=field key=name} - {if $field->type==='popupoption'} - {if !$firstfield},{/if} - {$field->getEvents()} - {php}$this->assign('firstfield', false);{/php} - {/if} - {/foreach} - {literal} - ], - parent:leimnud - }); - } catch (e) { - } -} -{/literal} -{* Javascript TAGs *} - {foreach from=$form->fields item=field key=name} - {if $field->type==='javascript'} - {$field->render('',$form)} - {/if} - {/foreach} -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/publish.php b/rbac/engine/templates/publish.php deleted file mode 100755 index b307d6edd..000000000 --- a/rbac/engine/templates/publish.php +++ /dev/null @@ -1,53 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - global $G_PUBLISH; - global $G_CONTENT; - global $G_FORM; - global $G_TABLE; - global $RBAC; - if ( !is_object( $G_PUBLISH ) ) die ("Publisher object is required by this template!"); -?> -
- - - - - - -
{title} -
- - -
{empty-rows-text}

-
- - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
User{title} User IdRoles{title}
{index}{dn}
{fullname} ( {email} )
{checkbox}{input}{options}
 
-
- diff --git a/rbac/engine/templates/filterform.html b/rbac/engine/templates/filterform.html deleted file mode 100755 index 4f903f1d3..000000000 --- a/rbac/engine/templates/filterform.html +++ /dev/null @@ -1,111 +0,0 @@ -{if $printTemplate} -{* this is the xmlform template *} - - - - - - -{/if} -{if $printJSFile} -var form_{$form->id}; -var i; -function loadForm_{$form->id}(ajaxServer) -{literal}{{/literal} -if (typeof(G_Form)==='undefined') return alert('form.js was not loaded'); - form_{$form->id}=new G_Form(document.getElementById('form[{$form->id}]'),'{$form->id}'); - var myForm=form_{$form->id}; - myForm.ajaxServer=ajaxServer; - {foreach from=$form->fields item=field key=name} - i = myForm.aElements.length; - {if ($field->type==='dropdown')} - myForm.aElements[i] = new G_DropDown(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='text')} - myForm.aElements[i] = new G_Text(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='percentage')} - myForm.aElements[i] = new G_Percentage(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='currency')} - myForm.aElements[i] = new G_Currency(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='date')} - myForm.aElements[i] = new G_Date(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='grid')} - myForm.aElements[i] = new G_Grid(myForm, '{$name}'); - grid_{$field->id}(myForm.aElements[i]); - {$field->attachEvents("myForm.aElements[i].element")} - {else} - var element = getField("{$name}"); - {$field->attachEvents("element")} - {/if} - {/foreach} - {foreach from=$form->fields item=field key=name} - {if isset($field->dependentFields) && ($field->dependentFields!='')} - {if ($field->type==='dropdown')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='text')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='percentage')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='currency')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {/if} - {/if} - {/foreach} -{literal}}{/literal} -{/if} -{if $printJavaScript} -leimnud.event.add(window,'load',function(){literal}{{/literal}loadForm_{$form->id}('{$form->ajaxServer}');{literal}}{/literal}); -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/formFilter.html b/rbac/engine/templates/formFilter.html deleted file mode 100755 index e0d860aa1..000000000 --- a/rbac/engine/templates/formFilter.html +++ /dev/null @@ -1,113 +0,0 @@ -{if $printTemplate} -{* this is the xmlform template *} - - - - -
-{if isset($form->title) && $form->title !=='' } - - - - -
{$form->title}
-{/if} - -{assign name='colCounter' value='0'} -{foreach from=$form->fields item=field} -{if ($field->type==='title')} - - - - {assign name='colCounter' value='0'} -{elseif ($field->type==='subtitle')} - - - - {assign name='colCounter' value='0'} -{elseif ($field->type==='button') || ($field->type==='submit') || ($field->type==='reset')} - - - - {assign name='colCounter' value='0'} -{elseif ($field->type==='grid')} - - - - {assign name='colCounter' value='0'} -{elseif ($field->type==='javascript')} - -{elseif ($field->type==='phpvariable')} -{elseif ($field->type==='private')} -{elseif ($field->type==='')} -{else} - {if $colCounter==0} {/if} - {assign name='colCounter' value=`($colCounter+1) % $form->cols`} - - - {if $colCounter==0} {/if} -{/if} -{/foreach} -
{$field->field}
{$field->field}
{$field->field}
{$field->field}
{$field->label}{$field->field}
-
-{/if} -{if $printJSFile} -var form_{$form->id}; -var i; -function loadForm_{$form->id}(ajaxServer) -{literal}{{/literal} -if (typeof(G_Form)==='undefined') return alert('form.js was not loaded'); - form_{$form->id}=new G_Form(document.getElementById('{$form->id}'),'{$form->id}'); - var myForm=form_{$form->id}; - myForm.ajaxServer=ajaxServer; - {foreach from=$form->fields item=field key=name} - i = myForm.aElements.length; - {if ($field->type==='dropdown')} - myForm.aElements[i] = new G_DropDown(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='text')} - myForm.aElements[i] = new G_Text(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='percentage')} - myForm.aElements[i] = new G_Percentage(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='currency')} - myForm.aElements[i] = new G_Currency(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='date')} - myForm.aElements[i] = new G_Date(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='grid')} - myForm.aElements[i] = new G_Grid(myForm, '{$name}'); - grid_{$field->id}(myForm.aElements[i]); - {$field->attachEvents("myForm.aElements[i].element")} - {else} - var element = getField("{$name}"); - {$field->attachEvents("element")} - {/if} - {/foreach} - {foreach from=$form->fields item=field key=name} - {if isset($field->dependentFields) && ($field->dependentFields!='')} - {if ($field->type==='dropdown')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='text')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='percentage')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='currency')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {/if} - {/if} - {/foreach} -{literal}}{/literal} -{/if} -{if $printJavaScript} -leimnud.event.add(window,'load',function(){literal}{{/literal}loadForm_{$form->id}('{$form->ajaxServer}');{literal}}{/literal}); -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/grid.html b/rbac/engine/templates/grid.html deleted file mode 100755 index f9208a093..000000000 --- a/rbac/engine/templates/grid.html +++ /dev/null @@ -1,107 +0,0 @@ -{if $printTemplate} -{* this is the grid template *} - - -
- - - - -
{$form->label} -
- - - -{foreach from=$form->fields item=field} - -{/foreach} - -{literal} -{section name=row loop=$form_rows} -{if ($smarty.section.row.index==0)} - -{else} - -{/if} - -{/literal} -{foreach from=$form->fields item=field} - -{/foreach} -{if ($form->deleteRow) } - -{/if} -{if ($form->editRow)} - -{/if} -{literal} - -{/section} -{* TOTALIZABLE ROW *} - - -{/literal} -{foreach from=$form->fields item=field} - -{/foreach} -{literal} - -{/literal} -
#{$field->label}
{$smarty.section.row.index+1} {$field->field}edit
- {if isset($field->function) && $field->function!=='' } - {if $field->function=='sum'} - Σ = 0 - {elseif $field->function=='avg'} - ¯X = 0 - {/if} - {/if} -
-{if ($form->addRow) } - - - - -
-{/if} -
-{/if} -{if $printJSFile} -function grid_{$form->id}(myGrid) -{literal}{{/literal} - {* setFunctions: Define the aggregate functions *} - {php}$this->assign('firstfield', true);{/php} - myGrid.setFunctions([ - {foreach from=$form->fields item=field name=foreachField} - {if isset($field->function)&& $field->function!==''} - {if !$firstfield},{/if} - {literal}{{/literal}sFieldName: '{$field->name}', sFunction: '{$field->function}'{literal}}{/literal} - {php}$this->assign('firstfield', false);{/php} - {/if} - {/foreach} - ]); - {* setFormulas: Define the customs formulas *} - {php}$this->assign('firstfield', true);{/php} - myGrid.setFormulas([ - {foreach from=$form->fields item=field name=foreachField} - {if isset($field->formula)} - {foreach from=$field->dependentOf() item=dependentOf name=foreachDependent} - {if !$firstfield},{/if} - {literal}{{/literal} sDependentOf: '{$dependentOf}', sFieldName: '{$field->name}', sFormula: '{$field->formula}'{literal}}{/literal} - {php}$this->assign('firstfield', false);{/php} - {/foreach} - {/if} - {/foreach} - ]); - {* setFields: Define the controles's javascript *} - {php}$this->assign('firstfield', true);{/php} - myGrid.setFields([ - {foreach from=$form->fields item=field name=foreachField} - {if !$firstfield},{/if} - {literal}{{/literal}sFieldName: '{$field->name}', sType: '{$field->type}', oProperties:{$field->getAttributes()}, oEvents:{$field->getEvents()}{literal}}{/literal} - {php}$this->assign('firstfield', false);{/php} - {/foreach} - ]); -{literal}}{/literal} -{/if} -{if $printJavaScript} -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/login/showDBFiles.php b/rbac/engine/templates/login/showDBFiles.php deleted file mode 100755 index 89cab1860..000000000 --- a/rbac/engine/templates/login/showDBFiles.php +++ /dev/null @@ -1,116 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - $path = PATH_DB; - //using the opendir function - if ( ! $dir_handle = @opendir( PATH_DB )) - { - header ("location: /errors/error704.php"); - die; - } - - G::LoadSystem('inputfilter'); - $filter = new InputFilter(); - - echo ""; - echo ""; - echo ""; - $curPage = getenv( "REQUEST_URI" ); - $curPage = $filter->xssFilterHard($curPage,"url"); - //running the while loop - $first = 0; - while ($file = readdir($dir_handle)) - { - if ( substr($file,0,3) == 'db_' ) { - if ( $first == 0 ) { - echo ""; - - $second = 0; - if ( ! $dir_handle = @opendir( PATH_DB )) - { - header ("location: /errors/error704.php"); - die; - } - - $DB_INDEX = 0; - $DB_MODULE = array(); - - while ($file = readdir($dir_handle)) - { - if ( substr($file,0,9) == 'dbmodule_' ) { - $module = substr ( substr($file,0, strlen($file)-4) , 9 ); - require_once ( PATH_DB . $file ); - $moduleName = $DB_MODULE[$DB_INDEX]['name']; - echo ""; - } - } - //closing the directory - closedir($dir_handle); - - print "
Please select a valid workspace to continue
"; - $first = 1; - } - $name = substr ( substr($file,0, strlen($file)-4) , 3 ); - $link = str_replace ( "/sys/", "/sys$name/" , $curPage ); - echo ""; - } - } - //closing the directory - closedir($dir_handle); - if ( $first != 0 ) print "
RBAC built-in workspaces
  • $name

  • "; - - if ( $DB_MODULE[$DB_INDEX]['type'] == 'single-file' ) { - $third = 0; - if ( ! $module_handle = @opendir( $DB_MODULE[$DB_INDEX]['path'] )) { - echo ( 'error in this path ' . $DB_MODULE[$DB_INDEX]['path'] ); - } - else { - while ($moduleFile = readdir($module_handle)) { - if ( substr($moduleFile,0,3) == 'db_' ) { - $name = substr ( substr($moduleFile,0, strlen($moduleFile)-4) , 3 ); - $link = str_replace ( "/sys/", "/sys-$module-$name/" , $curPage ); - echo ""; - } - } - } - } - else { - $third = 0; - if ( ! $module_handle = @opendir( $DB_MODULE[$DB_INDEX]['path'] )) { - echo ( "" ); - } - else { - while ($moduleFile = readdir($module_handle)) { - $dbFile = $DB_MODULE[$DB_INDEX]['path'] . $moduleFile . '/db.php'; - if ( file_exists ($dbFile) && substr($moduleFile,0,1) != '.' ) { - $name = $moduleFile; - $link = str_replace ( "/sys/", "/sys-$module-$name/" , $curPage ); - echo ""; - } - } - } - } - print "
    RBAC Module : $moduleName
  • $name
  • Path invalid: " . $DB_MODULE[$DB_INDEX]['path'] ."
  • $name

  • "; - -?> \ No newline at end of file diff --git a/rbac/engine/templates/paged-table.html b/rbac/engine/templates/paged-table.html deleted file mode 100755 index 77ef0bec0..000000000 --- a/rbac/engine/templates/paged-table.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - -
    - {title} - - - - -
    {content}
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {header}
    {value}
      - {noRecordsFound}
      -
    - - - - - -
    -
    - -
    - \ No newline at end of file diff --git a/rbac/engine/templates/paged-table.php b/rbac/engine/templates/paged-table.php deleted file mode 100755 index aa8b4a032..000000000 --- a/rbac/engine/templates/paged-table.php +++ /dev/null @@ -1,221 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - global $G_TABLE; - global $G_CONTENT; - global $HTTP_SESSION_VARS; - global $HTTP_GET_VARS; - if ( !is_object( $G_TABLE ) ) die ("Table object is required!"); - - - $G_TABLE->GetSource(); - - //will use the templatePower class to render the table - // G::LoadClass ('templatePower'); - $tpl = new TemplatePower( PATH_TPL . 'paged-table.html' ); - $tpl->prepare(); - $tpl->assign( "STYLE_CSS" , STYLE_CSS ); - $tpl->assign( "title" , $G_TABLE->title ); - - $orderpag = $HTTP_GET_VARS['order']; - if($orderpag=="") { - $orcad=""; - } - else { - $orcad=$orderpag; - } - - $curpage = $HTTP_GET_VARS['page']; - if( $curpage == "" ) $curpage = 1; - $res=(round(($curpage)/20)*20)+1; - if ($res>$curpage) - $HTTP_SESSION_VARS['COMIENZO'] = $res-20; - else - $HTTP_SESSION_VARS['COMIENZO']=$res; - - $HTTP_SESSION_VARS['FINAL']=$HTTP_SESSION_VARS['COMIENZO']+20; - - $totpages = 0; - - $HTTP_SESSION_VARS['TP'] = $G_TABLE->TotalCount(); - $tcount = $HTTP_SESSION_VARS['TP']; - $totpages = $HTTP_SESSION_VARS['TP']; - - $totpages = $totpages / $G_TABLE->rows_per_page; - $totpages = round( $totpages, 0); - - if( ($totpages * $G_TABLE->rows_per_page) < $tcount ) $totpages++; - if ($totpages == 0 ) $curpage = 0; - $ntotwidth="0"; - for( $ncount=0 ; $ncount < $G_TABLE->ColumnCount() ; $ncount++ ) - { - $ntotwidth += $G_TABLE->Columns[$ncount]['Width']; - } - - $firstrow = (($curpage-1) * $G_TABLE->rows_per_page) + 1; - $lastrow = $firstrow + $G_TABLE->rows_per_page - 1; - - $cuenta=$G_TABLE->Count(); - - if( $lastrow > $cuenta ) $lastrow = $cuenta; - - for( $ncount=0 ; $ncount < $G_TABLE->ColumnCount() ; $ncount++ ) - { - $pa =1 ;$intPos=$ncount; $strClass = "tblHeader"; - $col = $G_TABLE->Columns[$intPos]; - $order = !($col["Type"] == "image" || $col["Type"] == "jsimglink"); - - - - $tpl->newBlock( "headers" ); - $tpl->assign( "width" , ( $col["Width"] > 0 ? " style=\"width:" . $col["Width"] . ";\"" : '' ) ); - $tpl->assign( "header" , ( $G_TABLE->Labels[$intPos] ) ); - if( $G_TABLE->_ordered == true && $order ) - { - $res = "
    0) $res .= " style=\"width:" . $col["Width"] . ";\""; - $res .= ">"; - $res .= "" . $G_TABLE->Labels[$intPos] . ""; - $res .= " 0) $res .= " style=\"width:" . $col["Width"] . ";\""; - $res .= ">"; - $res .= $G_TABLE->Labels[$intPos] . "
    -' . G::capitalize($_SESSION['G_MESSAGE_TYPE']) . ' : ' . $_SESSION['G_MESSAGE']); - unset($_SESSION['G_MESSAGE_TYPE']); - unset($_SESSION['G_MESSAGE']); - } - if( is_array( $G_PUBLISH->Parts ) ) - { - $nplim = count( $G_PUBLISH->Parts ); - for( $npcount = 0; $npcount < $nplim; $npcount++ ) - { - print( "\n\n\n" ); - } - } -?> -
    \n" ); - if (isset($RBAC->userObj)) - $G_PUBLISH->RenderContent( $npcount, ($RBAC->userCanAccess('WF_SHOW_XMLFORM_NAME')==1?true:false) ); - else - $G_PUBLISH->RenderContent( $npcount ); - print( "
    diff --git a/rbac/engine/templates/testAuthenticationSource.html b/rbac/engine/templates/testAuthenticationSource.html deleted file mode 100755 index 231054607..000000000 --- a/rbac/engine/templates/testAuthenticationSource.html +++ /dev/null @@ -1,17 +0,0 @@ - - - "; - for ( $j = 0; $j < $i; $j ++) print ""; - print ""; - print ""; - - } - - function walkLevel ( $level, $label, $parent ) { - global $collapsed; - global $appid; - global $dbc; - - $sql = "SELECT UID, PRM_CODE, PRM_DESCRIPTION from PERMISSION WHERE PRM_APPLICATION = $appid AND PRM_PARENT = " . $parent ; - $ses = new DBSession ($dbc); - $dset = $ses->Execute ($sql); - $row = $dset->Read(); - $c = 1; - while ( is_array ($row) ) { - - if ($label === "*" ) - { $label = ""; $locLabel = $c; } - else - $locLabel = $label . "." . $c; - - showLevel ( $level , $locLabel, $row['PRM_CODE'], $row['PRM_DESCRIPTION'], $row['UID'] ); - - walkLevel ( $level + 1, $locLabel, $row['UID']); - $c++; - $row = $dset->Read(); - } - } -?> - -
    - - - - - - - - -
    Testing Log
    - - -
    - {text}
    -
    \ No newline at end of file diff --git a/rbac/engine/templates/testAuthenticationSource.php b/rbac/engine/templates/testAuthenticationSource.php deleted file mode 100755 index af7d92ceb..000000000 --- a/rbac/engine/templates/testAuthenticationSource.php +++ /dev/null @@ -1,256 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - G::LoadSystem('inputfilter'); - $filter = new InputFilter(); - $HTTP_SESSION_VARS = $filter->xssFilterHard($HTTP_SESSION_VARS); - - global $G_TABLE; - global $G_CONTENT; - global $HTTP_SESSION_VARS; - - $tpl = new TemplatePower( PATH_TPL . 'testAuthenticationSource.html' ); - $tpl->prepare(); - $tpl->assign('STYLE_CSS' , (defined('STYLE_CSS') ? STYLE_CSS : '')); - $tpl->assign('title' , $G_TABLE->title ); - - $curAuthSource = $HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE']; - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME ); - - //crear nueva authentication source - G::LoadClassRBAC ('authentication'); - $obj = new authenticationSource; - $obj->SetTo( $dbc ); - $res = $obj->testSource ( $curAuthSource ); -//print ""; - - foreach ( $res as $line ) { - if ( stristr ($line, 'error' ) !== false ) $line = "" . $line . ''; - if ( stristr ($line, 'sucess' ) !== false ) $line = "" . $line . ''; - - $tpl->newBlock( "lines" ); - $tpl->assign( "text" , $line ); - } - $tpl->gotoBlock( "_ROOT" ); - $tpl->printToScreen(); - //die; - - - - - - - - - - require_once('Net/LDAP.php'); - $rootDn = 'OU=Ventas,DC=colosa,DC=net'; - $config = array( - 'dn' => 'scout@colosa.net', - 'password' => 'Colosa1', - 'host' => '192.168.0.50', - 'base' => $rootDn, - 'options' => array('LDAP_OPT_REFERRALS' => 0), - 'tls' => false, - 'port'=> 389 - ); - - $oLdap =& Net_LDAP::connect($config); - if (PEAR::isError($oLdap)) { - print ( $oLdap->message); - return $oLdap; - } - - - $sFilter = '(&(|(objectClass=user)(objectClass=inetOrgPerson)(objectClass=posixAccount))(|(cn=*a*)(mail=*a*)(sAMAccountName=*a*)))'; - $aParams = array( - 'scope' => 'sub', - 'attributes' => array('cn', 'dn', 'samaccountname'), - ); - - $oResult = $oLdap->search($rootDn, $sFilter, $aParams); - if (PEAR::isError($oResult)) { - $oLdap->message = $filter->xssFilterHard($oLdap->message); - print ( $oLdap->message); - return $oResult; - } -/* - $aRow = array(); - foreach($oResult->entries() as $oEntry) { - $aAttr = $oEntry->attributes(); - $aAttr['dn'] = $oEntry->dn(); - $aRow[] = $aAttr; - } -*/ - print_r ($aRow); - print "
    "; -/* -//ahora pedir todos los datos - //active directory - $aAttributes = array ("cn", "samaccountname", "givenname", "sn", "userprincipalname", "telephonenumber"); - //ldap - //$aAttributes = array ("cn", "uid", "givenname", "sn", "mail", "mobile"); - - $sFilter = '(objectClass=*)'; - $aParams = array( - 'scope' => 'base', - 'attributes' => $aAttributes, - ); - - $userDn = "CN=Javier,OU=Ventas,DC=colosa,DC=net"; - $oResult = $oLdap->search($userDn, $sFilter, $aParams); - if (PEAR::isError($oResult)) { - print ( $oLdap->message); - return $oResult; - } - $aRet = array(); - foreach($oResult->entries() as $oEntry) { - $aAttr = $oEntry->attributes(); - $aAttr['dn'] = $oEntry->dn(); - $aRet[] = $aAttr; - } - print_r ($aRet); - print "
    "; - - $oLdap =& Net_LDAP::connect($config); - if (PEAR::isError($oLdap)) { - print ( $oLdap->message); - return $oLdap; - } - $res = $oLdap->reBind('scout@colosa.net', 'Colosa1'); - - if (PEAR::isError($res)) { - print ( $res->message); - return $res; - } - if ($res === true) { - print 'ok'; - } - -*/ - $tpl->newBlock( "headers" ); - $tpl->assign( "width" , ( $col["Width"] > 0 ? " style=\"width:" . $col["Width"] . ";\"" : '' ) ); - - $iCurRow = 0; - foreach($oResult->entries() as $oEntry) { - $aAttr = $oEntry->attributes(); - print_r ($aAttr); - $aAttr['dn'] = $oEntry->dn(); - $class = ( ++$iCurRow % 2 == 0 ? "Row1" : "Row2" ); - - $tpl->newBlock( "row" ); - $tpl->assign( "class" , $class ); - for ( $ncount=0 ; $ncount < 1 ; $ncount++ ) - { - $tpl->newBlock( "field" ); - $col = 1; - $tpl->assign( "align" , ( $col <> '' ? " align=\"$col\"" : 'x' ) ); - $tpl->assign( "value" , $aAttr['dn'] ); - } - } - - if( $curpage > 1 ) { - $firstUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=1'; - $prevpage = $curpage - 1; - $prevUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $prevpage; - $tpl->assign( "firstUrl" , $firstUrl ); - $tpl->assign( "prevUrl" , $prevUrl ); - $first = "<<"; - $prev = "<"; - } - else - { - $tpl->assign( "firstOff" , 1 ); - $tpl->assign( "prevOff" , 1 ); - $first = "<<"; - $prev = "<"; - } - - - $tpl->gotoBlock( "_ROOT" ); - if ( $totpages !=1 ) $tpl->newBlock( "paging" ); - $tpl->assign( "first" , $first ); - $tpl->assign( "prev" , $prev ); - - $tpl->assign( "curPage" , '' . G::LoadMessageXml('ID_PAGE') . ' ' . $curpage . ' ' . G::LoadMessageXml('ID_OF') . ' ' . $totpages . ' ' . ''); - - if( $curpage < $totpages ) { - $lastUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $totpages; - $nextpage = $curpage + 1; - $nextUrl = SYS_CURRENT_URI . '?order=' . $orcad . '&page=' . $nextpage; - $next = ">"; - $last = ">>"; - } - else - { - $next = ">"; - $last = ">>"; - } - $tpl->assign( "next" , $next ); - $tpl->assign( "last" , $last ); - $tpl->assign( "columnCount", 1 ); - - if( $totpages > 1 ) - { - // --------- codigo para colocar numeros de paginas --------- - $ncount = 1; - $inicio=$HTTP_SESSION_VARS['COMIENZO']; - $fin=$HTTP_SESSION_VARS['FINAL']; - // echo "Inicio:".$inicio." fin".$fin; - - for( $ncount = $inicio; $ncount <= $fin-1; $ncount++ ) - { - if($ncount>=1 && $ncount<=$totpages) - { - if( $ncount <= $totpages ) $pagesEnum .= "   "; - $pagesEnum .= ""; - $pagesEnum .= $ncount; - $pagesEnum .= ""; - } - } - $pagesEnum .="   "; - $tpl->assign("pagesEnum", $pagesEnum); - } - - if ( $lastrow == 0 ) { - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( 'norecords' ); - $tpl->assign( "noRecordsFound", G::LoadMessageXml('ID_NO_RECORDS_FOUND') ); - $tpl->assign( "columnCount", 1 ); - } - - if ( $lastrow > 25 * 0.66 ) { - $tpl->gotoBlock( "_ROOT" ); - $tpl->newBlock( "bottomFooter" ); - $tpl->assign( "columnCount", 1 + 1); - $tpl->assign( "first" , $first ); - $tpl->assign( "prev" , $prev ); - $tpl->assign( "next" , $next ); - $tpl->assign( "last" , $last ); - $tpl->assign("pagesEnum", $pagesEnum); - } - $tpl->gotoBlock( "_ROOT" ); - $tpl->printToScreen(); - ?> \ No newline at end of file diff --git a/rbac/engine/templates/toolbar.html b/rbac/engine/templates/toolbar.html deleted file mode 100755 index fcc19d336..000000000 --- a/rbac/engine/templates/toolbar.html +++ /dev/null @@ -1,21 +0,0 @@ -{if $printTemplate} -{* this is the xmlform template *} - - -{* LEFT MENU *} - - -
    -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/treePermRole.php b/rbac/engine/templates/treePermRole.php deleted file mode 100755 index da4fc3d66..000000000 --- a/rbac/engine/templates/treePermRole.php +++ /dev/null @@ -1,173 +0,0 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - - global $G_TABLE; - //global $G_CONTENT; - //global $_SESSION; - global $collapsed; - global $URI_VARS; - - global $pathViewChart; - global $appid; - global $rolid; - global $parents; - //global $dbc; - global $ses; - global $accessChangeRole; - - $appid = $_SESSION['CURRENT_APPLICATION']; - $rolid = $_SESSION['CURRENT_ROLE']; - $parents = $_SESSION['CURRENT_ROLE_PARENTS']; - - //$pathViewChart = "../"; - //$nodo = $URI_VARS[0]; - //if ($nodo == "") - $pathViewChart = ""; - - //Obtener nombre de la applicacion - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - G::LoadClassRBAC ('applications'); - G::LoadClassRBAC ('roles'); - $obj = new RBAC_Application; - $obj->SetTo ($dbc); - $obj->Load ($appid); - $_SESSION['STR_APP'] = $obj->Fields['APP_CODE'];; - $obj = new RBAC_Role; - $obj->SetTo($dbc); - $obj->Load($rolid); - $_SESSION['STR_ROL'] = $obj->Fields['ROL_CODE']; - - //$appCode = G::LoadMessage (13); - //print "
    $appCode
    "; - - $ses = new DBSession; - $ses->SetTo ($dbc); - - $dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME); - $ses = new DBSession; - $ses->SetTo($dbc); - - function showLevel ( $i, $label1, $texto1, $texto2, $uid) { - global $pathViewChart; - global $collapsed; - global $rolid; - global $parents; - global $dbc; - global $ses; - global $canCreateRole; - - $MAX_LEVEL = 10; - - $sql = "SELECT count(*) AS CANT from ROLE_PERMISSION WHERE ROL_UID in ($parents ) AND PRM_UID = $uid"; - $dset = $ses->Execute($sql); - $row2 = $dset->Read(); - $rolStatus = $row2['CANT']; - if ($rolStatus == 1 ) { - $icon = "btnYellow"; - $rolStatus = 2; //permiso heredado por roles superiores - } - else { - $sql = "SELECT count(*) AS CANT from ROLE_PERMISSION WHERE ROL_UID = $rolid AND PRM_UID = $uid"; - $dset = $ses->Execute($sql); - $row2 = $dset->Read(); - $rolStatus = $row2['CANT']; - - $icon = "btnRed"; - if ( $rolStatus != 0 ) $icon = "btnGreen"; - } - - $link = ""; - if ($rolStatus != 2 ) { - $link = ""; - if ($canCreateRole == 1) $link = ""; - $link .= ""; - if ($canCreateRole == 1) $link .= ""; - } - print "
      " . $link . " "; - //print $label . " "; - print " $texto1 $texto2 "; - - print "
    - - - - - - -
    - - - - - - - - - - - - - - - -
    -
    diff --git a/rbac/engine/templates/xmlform.html b/rbac/engine/templates/xmlform.html deleted file mode 100755 index 0f4267e66..000000000 --- a/rbac/engine/templates/xmlform.html +++ /dev/null @@ -1,123 +0,0 @@ -{if $printTemplate} -{* this is the xmlform template *} -
    - - - -
    -{if isset($form->title) && $form->title !=='' } - - - - -
    {$form->title}
    -{/if} - -{foreach from=$form->fields item=field} -{if ($field->type==='title')} - - - -{elseif ($field->type==='subtitle')} - - - -{elseif ($field->type==='button') || ($field->type==='submit') || ($field->type==='reset')} - - - -{elseif ($field->type==='grid')} - - - -{elseif ($field->type==='javascript')} - -{elseif ($field->type==='phpvariable')} -{elseif ($field->type==='private')} -{elseif ($field->type==='hidden')} - - - -{elseif ($field->type==='')} -{elseif ($field->withoutLabel)} - - - -{else} - - - - -{/if} -{/foreach} -
    {$field->field}
    {$field->field}
    {$field->field}
    {$field->field}
    {$field->field}
    {$field->field}
    {$field->label}{$field->withoutLabel}{$field->field}
    -
    -{/if} -{if $printJSFile} -var form_{$form->id}; -var i; -function loadForm_{$form->id}(ajaxServer) -{literal}{{/literal} -if (typeof(G_Form)==='undefined') return alert('form.js was not loaded'); - form_{$form->id}=new G_Form(document.getElementById('{$form->id}'),'{$form->id}'); - var myForm=form_{$form->id}; - myForm.ajaxServer=ajaxServer; - {if isset($form->ajaxSubmit) && ($form->ajaxSubmit)} - {literal} - var sub = new leimnud.module.app.submit({ - form : myForm.element - }); - sub.sendObj = false; - {/literal} - {/if} - {foreach from=$form->fields item=field key=name} - i = myForm.aElements.length; - {if ($field->type==='dropdown')} - myForm.aElements[i] = new G_DropDown(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='text')} - myForm.aElements[i] = new G_Text(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='percentage')} - myForm.aElements[i] = new G_Percentage(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='currency')} - myForm.aElements[i] = new G_Currency(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='date')} - myForm.aElements[i] = new G_Date(myForm, myForm.element.elements['form[{$name}]'],'{$name}'); - myForm.aElements[i].setAttributes({$field->getAttributes()}); - {$field->attachEvents("myForm.aElements[i].element")} - {elseif ($field->type==='grid')} - myForm.aElements[i] = new G_Grid(myForm, '{$name}'); - grid_{$field->id}(myForm.aElements[i]); - {$field->attachEvents("myForm.aElements[i].element")} - {else} - var element = getField("{$name}"); - {$field->attachEvents("element")} - {/if} - {/foreach} - {foreach from=$form->fields item=field key=name} - {if isset($field->dependentFields) && ($field->dependentFields!='')} - {if ($field->type==='dropdown')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='text')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='percentage')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {elseif ($field->type==='currency')} - myForm.getElementByName('{$name}').setDependentFields('{$field->dependentFields}'); - {/if} - {/if} - {/foreach} -{literal}}{/literal} -{/if} -{if $printJavaScript} -leimnud.event.add(window,'load',function(){literal}{{/literal}loadForm_{$form->id}('{$form->ajaxServer}');{literal}}{/literal}); -{/if} \ No newline at end of file diff --git a/rbac/engine/templates/xmlmenu.html b/rbac/engine/templates/xmlmenu.html deleted file mode 100755 index 28c5344f9..000000000 --- a/rbac/engine/templates/xmlmenu.html +++ /dev/null @@ -1,77 +0,0 @@ -{if $printTemplate} -{* this is the xmlform template *} - - -{* LEFT MENU *} - -{* CENTER MENU *} - -{* RIGHT MENU *} - - -
    - - - -{foreach from=$form->fields item=field} -{if (strcasecmp($field->colAlign,'right')===0)} -{if ($field->type==='javascript')} - {$field->field} -{elseif ($field->type==='phpvariable')} -{elseif ($field->type==='private')} -{elseif ($field->type==='')} -{else} -{* elseif ($field->type==='link') || ($field->type==='menu') *} - -{/if} -{/if} -{/foreach} - -
    -
    -{/if} \ No newline at end of file diff --git a/rbac/engine/xmlform/login.html b/rbac/engine/xmlform/login.html deleted file mode 100755 index 93c2cc693..000000000 --- a/rbac/engine/xmlform/login.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - - - - - - - - - - -
    WARNING: Smarty error: unable to read resource: "/home/julio/newgulliver/trunk/rbac/engine/templates/form.html"
    File: /home/julio/newgulliver/trunk/gulliver/thirdparty/smarty/libs/Smarty.class.php
    1092 -     */
    -
    -
    1093 -    function trigger_error($error_msg, $error_type = E_USER_WARNING)
    -
    -
    1094 -    {
    -
    -
    1095 -        trigger_error("Smarty error: $error_msg", $error_type);
    -
    -
    1096 -    }
    -
    -
    1097 -
    -
    -
    1098 -
    -
    -

    \ No newline at end of file diff --git a/rbac/engine/xmlform/login/login.es b/rbac/engine/xmlform/login/login.es deleted file mode 100755 index 25afce9a3..000000000 --- a/rbac/engine/xmlform/login/login.es +++ /dev/null @@ -1,39 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:5:{s:4:"name";s:9:"login.xml";s:7:"version";s:3:"1.0";s:7:"basedir";s:0:"";s:12:"xmlform_type";s:6:"NORMAL";s:5:"width";s:5:"400px";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:5:"TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:5:"title";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:5:"Login";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Login";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:9:"USER_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:9:"maxlength";s:2:"32";s:8:"validate";s:7:"Alpha10";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:7:"Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:4:"User";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:9:"USER_PASS";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:3:{s:4:"type";s:8:"password";s:4:"size";s:2:"30";s:9:"maxlength";s:2:"32";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:16:"Clave de Ingreso";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Password";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:8:"Ingresar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Login";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:28:"bjlLWDFaNmlvSsKwWDNaK2I3YUts";' ); -$this->name = unserialize( 's:9:"login.xml";' ); -$this->version = unserialize( 's:3:"1.0";' ); -$this->fields = unserialize( 'a:4:{s:5:"TITLE";O:19:"xmlform_field_title":8:{s:4:"name";s:5:"TITLE";s:4:"type";s:5:"title";s:5:"label";s:5:"Login";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:9:"USER_NAME";O:18:"xmlform_field_text":22:{s:4:"name";s:9:"USER_NAME";s:4:"type";s:4:"text";s:5:"label";s:7:"Usuario";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"30";s:8:"validate";s:7:"Alpha10";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"32";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:9:"USER_PASS";O:22:"xmlform_field_password":12:{s:4:"name";s:9:"USER_PASS";s:4:"type";s:8:"password";s:5:"label";s:16:"Clave de Ingreso";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"30";s:9:"maxLength";s:2:"32";s:8:"required";b:0;s:8:"readOnly";b:0;s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:8:"Ingresar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:5:"400px";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:65:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/login/login.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:66:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/login/login.xml";' ); -$this->scriptFile = unserialize( 's:35:"/shared/rbac/xmlform/login/login.js";' ); -$this->scriptURL = unserialize( 's:22:"/jsform/login/login.js";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/login/login.xml b/rbac/engine/xmlform/login/login.xml deleted file mode 100755 index 5d3d73b8b..000000000 --- a/rbac/engine/xmlform/login/login.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - <es>Login</es> - <en>Login</en> - - - Usuario - User - - - Clave de Ingreso - Password - - - Ingresar - Login - - \ No newline at end of file diff --git a/rbac/engine/xmlform/login/noViewPage.xml b/rbac/engine/xmlform/login/noViewPage.xml deleted file mode 100755 index 5adf1b5ae..000000000 --- a/rbac/engine/xmlform/login/noViewPage.xml +++ /dev/null @@ -1,19 +0,0 @@ - -Login to system - - - <es>You don't have permission</es> - <en>You don't have permission</en> - - - - The user account which you are currently logged in does not have security privileges to view this page - The user account which you are currently logged in does not have security privileges to view this page - - - - Please press the 'back' button to continue working with this system. - Por favor presione el boton Regresar. - - - diff --git a/rbac/engine/xmlform/login/nologin.xml b/rbac/engine/xmlform/login/nologin.xml deleted file mode 100755 index 20149dc6e..000000000 --- a/rbac/engine/xmlform/login/nologin.xml +++ /dev/null @@ -1,28 +0,0 @@ - -Login to system - - - [CDATA] -

    Your session has expired.
    - [/CDATA] - [CDATA] -
    Your session has expired.
    - [/CDATA]
    - - - - - Your session has timed out due to inactivity - Your session has timed out due to inactivity - - - - Please log in again to continue working with this system. - Please log in again to continue working with this system. - - - - Ingresar - Login - - diff --git a/rbac/engine/xmlform/rbac/appEdit.xml b/rbac/engine/xmlform/rbac/appEdit.xml deleted file mode 100755 index dd49c1ae4..000000000 --- a/rbac/engine/xmlform/rbac/appEdit.xml +++ /dev/null @@ -1,58 +0,0 @@ - -form - - Editar Aplicación - Edit Application - Editar Aplicación - - - - Código de Aplicación: - Application Code: - Application Rol: - - - - Descripción: - Description: - Descripcion: - - - - Editar Roles: - Edit Roles: - Editar Roles: - - - - Editar Permisos: - Edit Permissions: - Editar Permisos: - - - - Continuar - Continue - Continuar - - - $lan = SYS_LANG; - - - - - function btnClick() { - if (cod.value == "") {cod.focus(); alert ( msgEmptyField ); return} - if (des.value == "") {des.focus(); alert ( msgEmptyField ); return} - - document.webform.submit(); - }; - - top.document.body.onload=function(){ - cod = top.document.webform.elements ["form[APP_CODE]"]; - des = top.document.webform.elements ["form[APP_DESCRIPTION]"]; - - } - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/appMenu.xml b/rbac/engine/xmlform/rbac/appMenu.xml deleted file mode 100755 index db71de498..000000000 --- a/rbac/engine/xmlform/rbac/appMenu.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Buscar - Search - - -function showHideFilterForm() -{ - if (document.getElementById('applicationsListCriteria').style.display==='none') - document.getElementById('applicationsListCriteria').style.display = ''; - else - document.getElementById('applicationsListCriteria').style.display = 'none'; -} - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/appNew.es b/rbac/engine/xmlform/rbac/appNew.es deleted file mode 100755 index 3e74f2409..000000000 --- a/rbac/engine/xmlform/rbac/appNew.es +++ /dev/null @@ -1,72 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:5:"form -";s:10:"attributes";a:3:{s:4:"name";s:4:"rbac";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";}s:8:"children";a:16:{i:0;O:8:"xml_node":5:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"6";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:23:"Crear Aplicación Nueva";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:22:"Create new Application";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:23:"Crear Aplicación Nueva";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:8:"APP_CODE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:7:"Alpha10";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:23:"Código de Aplicación:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:17:"Application Code:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:16:"Application Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:15:"APP_DESCRIPTION";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:9:"maxlength";s:3:"120";s:8:"validate";s:1:"4";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:13:"Descripción:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:12:"Description:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:12:"Descripcion:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:8;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:19:"btnClick(this.form)";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:12;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"xml_node":5:{s:4:"name";s:10:"JavaScript";s:4:"type";s:8:"complete";s:5:"value";s:301:" - - function btnClick(form) { - var cod = form.elements[\'form[APP_CODE]\']; - var des = form.elements[\'form[APP_DESCRIPTION]\']; - if (cod.value == "") {cod.focus(); alert ( msgEmptyField ); return} - if (des.value == "") {des.focus(); alert ( msgEmptyField ); return} - - form.submit(); - }; - -";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}s:8:"children";a:0:{}}i:15;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:28:"cGNXUnoxwrBVcEtDKzJhaWI3YUts";' ); -$this->name = unserialize( 's:4:"rbac";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:5:{s:11:"DYNA_HEADER";O:19:"xmlform_field_title":8:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:5:"title";s:5:"label";s:23:"Crear Aplicación Nueva";s:5:"owner";N;s:5:"group";s:1:"6";s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"APP_CODE";O:18:"xmlform_field_text":22:{s:4:"name";s:8:"APP_CODE";s:4:"type";s:4:"text";s:5:"label";s:23:"Código de Aplicación:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:7:"Alpha10";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:15:"APP_DESCRIPTION";O:18:"xmlform_field_text":22:{s:4:"name";s:15:"APP_DESCRIPTION";s:4:"type";s:4:"text";s:5:"label";s:13:"Descripción:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"35";s:8:"validate";s:1:"4";s:4:"mask";s:0:"";s:9:"maxLength";s:3:"120";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_button":9:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"button";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:7:"onclick";s:19:"btnClick(this.form)";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:10:"JavaScript";O:24:"xmlform_field_javascript":7:{s:4:"name";s:10:"JavaScript";s:4:"type";s:10:"javascript";s:5:"label";s:0:"";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"code";s:301:" - - function btnClick(form) { - var cod = form.elements[\'form[APP_CODE]\']; - var des = form.elements[\'form[APP_DESCRIPTION]\']; - if (cod.value == "") {cod.focus(); alert ( msgEmptyField ); return} - if (des.value == "") {des.focus(); alert ( msgEmptyField ); return} - - form.submit(); - }; - -";}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:65:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/appNew.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:66:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/appNew.xml";' ); -$this->scriptFile = unserialize( 's:35:"/shared/rbac/xmlform/rbac/appNew.js";' ); -$this->scriptURL = unserialize( 's:22:"/jsform/rbac/appNew.js";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/appNew.xml b/rbac/engine/xmlform/rbac/appNew.xml deleted file mode 100755 index 18dc684d7..000000000 --- a/rbac/engine/xmlform/rbac/appNew.xml +++ /dev/null @@ -1,41 +0,0 @@ - -form - - Crear Aplicación Nueva - Create new Application - Crear Aplicación Nueva - - - - - Código de Aplicación: - Application Code: - Application Rol: - - - - Descripción: - Description: - Descripcion: - - - - - Continuar - Continue - Continuar - - - - - function btnClick(form) { - var cod = form.elements['form[APP_CODE]']; - var des = form.elements['form[APP_DESCRIPTION]']; - if (cod.value == "") {cod.focus(); alert ( msgEmptyField ); return} - if (des.value == "") {des.focus(); alert ( msgEmptyField ); return} - - form.submit(); - }; - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/applicationsList.html b/rbac/engine/xmlform/rbac/applicationsList.html deleted file mode 100755 index eb01c1c7e..000000000 --- a/rbac/engine/xmlform/rbac/applicationsList.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/rbac/engine/xmlform/rbac/applicationsList.xml b/rbac/engine/xmlform/rbac/applicationsList.xml deleted file mode 100755 index 45bac321f..000000000 --- a/rbac/engine/xmlform/rbac/applicationsList.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - ID - ID - - - - Código - Code - - - - Descripción - Description - - - - Roles - Roles - - - - Permisos - Permissions - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/applicationsListCriteria.xml b/rbac/engine/xmlform/rbac/applicationsListCriteria.xml deleted file mode 100755 index b084135c9..000000000 --- a/rbac/engine/xmlform/rbac/applicationsListCriteria.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - UID - UID - - - - CÓDIGO - CODE - - - - DESCRIPCIÓN - DESCRIPTION - - - - Filtrar - Apply Filter - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authAddUser.es b/rbac/engine/xmlform/rbac/authAddUser.es deleted file mode 100755 index db0710845..000000000 --- a/rbac/engine/xmlform/rbac/authAddUser.es +++ /dev/null @@ -1,21 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:0:"";s:10:"attributes";a:4:{s:4:"name";s:4:"rbac";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";s:15:"enable_template";s:1:"1";}s:8:"children";a:4:{i:0;O:8:"xml_node":5:{s:4:"name";s:3:"abc";s:4:"type";s:4:"open";s:5:"value";s:0:"";s:10:"attributes";a:4:{s:4:"type";s:5:"title";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:1:"4";}s:8:"children";a:3:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:40:"Buscar Usuarios en LDAP/Active Directory";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:37:"Search Users in LDAP/Active Directory";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:40:"Buscar Usuarios en LDAP/Active Directory";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:4:"open";s:5:"value";s:0:"";s:10:"attributes";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:9:"maxlength";s:2:"40";s:8:"validate";s:1:"4";s:5:"group";s:1:"2";}s:8:"children";a:3:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:7:"Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:5:"Nome:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:2;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:14:"searchUsers();";}s:8:"children";a:3:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:6:"Buscar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:6:"Search";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Pesquisar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"JS";s:4:"type";s:4:"open";s:5:"value";s:513:"function searchUsers(){ var searchText = getField(\'USR_NAME\'); var div = getField (\'DIV_USER_LIST\'); ajax_init(\'authAjax\', \'DIV_USER_LIST\', \'function=searchText&text=\' + searchText.value, myEmptyCallback, false);}function setRowClass (theRow, thePointerClass){ if (thePointerClass == \'\' || typeof(theRow.className) == \'undefined\') { return false; } theRow.className = thePointerClass; return true;}function saveAddUsers (){ var inputs=document.getElementsByTagName("input"); for(var i=0; i";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:42:"cGNXUnoxwrBVcWFUWXRaWFJ5cWllNUbCsGxvTTg___";' ); -$this->name = unserialize( 's:4:"rbac";' ); -$this->fields = unserialize( 'a:4:{s:3:"abc";O:19:"xmlform_field_title":8:{s:4:"name";s:3:"abc";s:4:"type";s:5:"title";s:5:"label";s:40:"Buscar Usuarios en LDAP/Active Directory";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"USR_NAME";O:18:"xmlform_field_text":22:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:4:"text";s:5:"label";s:7:"Nombre:";s:5:"owner";N;s:5:"group";s:1:"2";s:4:"mode";s:4:"edit";s:4:"size";s:2:"35";s:8:"validate";s:1:"4";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"40";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_button":9:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"button";s:5:"label";s:6:"Buscar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:7:"onclick";s:14:"searchUsers();";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:2:"JS";O:24:"xmlform_field_javascript":7:{s:4:"name";s:2:"JS";s:4:"type";s:10:"javascript";s:5:"label";s:0:"";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"code";s:513:"function searchUsers(){ var searchText = getField(\'USR_NAME\'); var div = getField (\'DIV_USER_LIST\'); ajax_init(\'authAjax\', \'DIV_USER_LIST\', \'function=searchText&text=\' + searchText.value, myEmptyCallback, false);}function setRowClass (theRow, thePointerClass){ if (thePointerClass == \'\' || typeof(theRow.className) == \'undefined\') { return false; } theRow.className = thePointerClass; return true;}function saveAddUsers (){ var inputs=document.getElementsByTagName("input"); for(var i=0; i";}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:4:"Form";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:70:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authAddUser.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:71:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authAddUser.xml";' ); -$this->scriptFile = unserialize( 's:75:"/home/santos/newgulliver/trunk/rbac/public_html/xmlform/rbac/authAddUser.js";' ); -$this->scriptURL = unserialize( 's:28:"/xmlform/rbac/authAddUser.js";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authAddUser.html b/rbac/engine/xmlform/rbac/authAddUser.html deleted file mode 100755 index 83bca8e31..000000000 --- a/rbac/engine/xmlform/rbac/authAddUser.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - -
    - - - - - - - - - - - -
    {$form.abc}
    {$USR_NAME}{$form.USR_NAME}
    {$form.BSUBMIT}
    -
    -
    -
    -
    -{$form.JS} diff --git a/rbac/engine/xmlform/rbac/authAddUser.xml b/rbac/engine/xmlform/rbac/authAddUser.xml deleted file mode 100755 index 6941aa1ee..000000000 --- a/rbac/engine/xmlform/rbac/authAddUser.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - Buscar Usuarios en LDAP/Active Directory - Search Users in LDAP/Active Directory - Buscar Usuarios en LDAP/Active Directory - - - Nombre: - Name: - Nome: - - - Buscar - Search - Pesquisar - - - 0 ) { - divId.innerHTML = " user " + existsObj.value + " created"; - checkbox.disabled = true; - } - else { - divId.innerHTML = "error creating user"; - checkbox.checked = false; - checkbox.disabled = false; - } - } - } - } -} - -function flipCheckbox(id) -{ - var obj = getField ('C-'+id); - if ( obj.disabled == false ) - obj.checked = true; - -/* var obj = getField (id); - obj.checked = true;*/ -} - -function emptyDropdowns(id) -{ - var selects=document.getElementsByTagName("select"); - for ( var j=0; j - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authNew.es b/rbac/engine/xmlform/rbac/authNew.es deleted file mode 100755 index f4ff55de6..000000000 --- a/rbac/engine/xmlform/rbac/authNew.es +++ /dev/null @@ -1,103 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:11:"authNew.xml";s:7:"basedir";s:0:"";s:5:"width";s:3:"600";}s:8:"children";a:24:{i:0;O:8:"xml_node":5:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"6";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:30:"Crear Fuente de Autenticación";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:28:"Create Authentication Source";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:25:"Crear Fonte Autenticacion";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:8:"AUT_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"50";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:6:"Nombre";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:4:"Name";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:4:"Nome";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:15:"AUT_SERVER_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"50";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:8:"Servidor";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:58:"Server Name|The host name or IP address of the LDAP server";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:11:"Server Name";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:8:"AUT_PORT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:9:"maxlength";s:1:"5";s:8:"validate";s:3:"Int";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:6:"Puerto";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:47:"Port|The port of the LDAP server (default: 389)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:6:"Puerto";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:12:"AUT_PROVIDER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:8:"dropdown";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:28:"Authentication Provider - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:16:"Active Directory";s:10:"attributes";a:1:{s:4:"name";s:16:"Active Directory";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:4:"LDAP";s:10:"attributes";a:1:{s:4:"name";s:4:"LDAP";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:28:"Authentication Provider - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:16:"Active Directory";s:10:"attributes";a:1:{s:4:"name";s:16:"Active Directory";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:4:"LDAP";s:10:"attributes";a:1:{s:4:"name";s:4:"LDAP";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:28:"Authentication Provider - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:16:"Active Directory";s:10:"attributes";a:1:{s:4:"name";s:16:"Active Directory";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:4:"LDAP";s:10:"attributes";a:1:{s:4:"name";s:4:"LDAP";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:15:"AUT_ENABLED_TLS";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:8:"dropdown";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:116:"Habilitar TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:2:"No";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:2:"Si";s:10:"attributes";a:1:{s:4:"name";s:1:"1";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:113:"Enable TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:2:"No";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:3:"Yes";s:10:"attributes";a:1:{s:4:"name";s:1:"1";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:116:"Habilitar TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:2:"No";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:3:"Sim";s:10:"attributes";a:1:{s:4:"name";s:1:"1";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:11:"AUT_BASE_DN";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:9:"maxlength";s:2:"49";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:94:"Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:94:"Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:94:"Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"xml_node":5:{s:4:"name";s:15:"AUT_SEARCH_USER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:9:"maxlength";s:2:"20";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:170:"Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:170:"Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:170:"Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:15;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"xml_node":5:{s:4:"name";s:19:"AUT_SEARCH_PASSWORD";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:8:"password";s:4:"size";s:2:"20";s:9:"maxlength";s:2:"20";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:94:"Search Password|The password for the user account in the LDAP directory that performs searches";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:94:"Search Password|The password for the user account in the LDAP directory that performs searches";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:94:"Search Password|The password for the user account in the LDAP directory that performs searches";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:17;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"xml_node":5:{s:4:"name";s:21:"AUT_SEARCH_ATTRIBUTES";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:8:"textarea";s:4:"cols";s:2:"40";s:4:"rows";s:1:"5";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:125:"Search Attributes
    The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:125:"Search Attributes
    The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:125:"Search Attributes
    The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:19;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:20;O:8:"xml_node":5:{s:4:"name";s:18:"AUT_OBJECT_CLASSES";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:8:"textarea";s:4:"cols";s:2:"40";s:4:"rows";s:1:"5";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:121:"Object Classes
    The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:121:"Object Classes
    The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:121:"Object Classes
    The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount)";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:21;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:22;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:23;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:0:"";' ); -$this->name = unserialize( 's:11:"authNew.xml";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:12:{s:11:"DYNA_HEADER";O:19:"xmlform_field_title":8:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:5:"title";s:5:"label";s:30:"Crear Fuente de Autenticación";s:5:"owner";N;s:5:"group";s:1:"6";s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"AUT_NAME";O:18:"xmlform_field_text":22:{s:4:"name";s:8:"AUT_NAME";s:4:"type";s:4:"text";s:5:"label";s:6:"Nombre";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"50";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:15:"AUT_SERVER_NAME";O:18:"xmlform_field_text":22:{s:4:"name";s:15:"AUT_SERVER_NAME";s:4:"type";s:4:"text";s:5:"label";s:8:"Servidor";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"50";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:8:"AUT_PORT";O:18:"xmlform_field_text":22:{s:4:"name";s:8:"AUT_PORT";s:4:"type";s:4:"text";s:5:"label";s:6:"Puerto";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"10";s:8:"validate";s:3:"Int";s:4:"mask";s:0:"";s:9:"maxLength";s:1:"5";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:12:"AUT_PROVIDER";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:12:"AUT_PROVIDER";s:4:"type";s:8:"dropdown";s:5:"label";s:28:"Authentication Provider - ";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:2:{s:16:"Active Directory";s:16:"Active Directory";s:4:"LDAP";s:4:"LDAP";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:2:{s:16:"Active Directory";s:16:"Active Directory";s:4:"LDAP";s:4:"LDAP";}}s:15:"AUT_ENABLED_TLS";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:15:"AUT_ENABLED_TLS";s:4:"type";s:8:"dropdown";s:5:"label";s:116:"Habilitar TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - ";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:2:{i:0;s:2:"No";i:1;s:2:"Si";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:2:{i:0;s:2:"No";i:1;s:2:"Si";}}s:11:"AUT_BASE_DN";O:18:"xmlform_field_text":22:{s:4:"name";s:11:"AUT_BASE_DN";s:4:"type";s:4:"text";s:5:"label";s:94:"Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com)";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"35";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"49";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:15:"AUT_SEARCH_USER";O:18:"xmlform_field_text":22:{s:4:"name";s:15:"AUT_SEARCH_USER";s:4:"type";s:4:"text";s:5:"label";s:170:"Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com)";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"20";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"20";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:19:"AUT_SEARCH_PASSWORD";O:22:"xmlform_field_password":12:{s:4:"name";s:19:"AUT_SEARCH_PASSWORD";s:4:"type";s:8:"password";s:5:"label";s:94:"Search Password|The password for the user account in the LDAP directory that performs searches";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"20";s:9:"maxLength";s:2:"20";s:8:"required";b:0;s:8:"readOnly";b:0;s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:21:"AUT_SEARCH_ATTRIBUTES";O:22:"xmlform_field_textarea":11:{s:4:"name";s:21:"AUT_SEARCH_ATTRIBUTES";s:4:"type";s:8:"textarea";s:5:"label";s:125:"Search Attributes
    The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail)";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"rows";s:1:"5";s:4:"cols";s:2:"40";s:8:"required";b:0;s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:18:"AUT_OBJECT_CLASSES";O:22:"xmlform_field_textarea":11:{s:4:"name";s:18:"AUT_OBJECT_CLASSES";s:4:"type";s:8:"textarea";s:5:"label";s:121:"Object Classes
    The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount)";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"rows";s:1:"5";s:4:"cols";s:2:"40";s:8:"required";b:0;s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"600";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:66:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authNew.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:67:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authNew.xml";' ); -$this->scriptFile = unserialize( 's:0:"";' ); -$this->scriptURL = unserialize( 's:0:"";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authNew.xml b/rbac/engine/xmlform/rbac/authNew.xml deleted file mode 100755 index 9255fbb92..000000000 --- a/rbac/engine/xmlform/rbac/authNew.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - Crear Fuente de Autenticación - Create Authentication Source - Crear Fonte Autenticacion - - - Nombre - Name - Nome - - - Servidor - Server Name|The host name or IP address of the LDAP server - Server Name - - - Puerto - Port|The port of the LDAP server (default: 389) - Puerto - - - Authentication Provider - - - - Authentication Provider - - - - Authentication Provider - - - - - - Habilitar TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - - - - Enable TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - - - - Habilitar TLS|Whether to use Transaction Layer Security (TLS), which encrypts traffic to and from the LDAP server - - - - - - Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com) - Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com) - Base DN|The location in the LDAP directory to start searching from (CN=Users,DC=mycorp,DC=com) - - - Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com) - Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com) - Search User|The user account in the LDAP directory to perform searches in the LDAP directory as (such as CN=searchUser,CN=Users,DC=mycorp,DC=com or searchUser@mycorp.com) - - - Search Password|The password for the user account in the LDAP directory that performs searches - Search Password|The password for the user account in the LDAP directory that performs searches - Search Password|The password for the user account in the LDAP directory that performs searches - - - Search Attributes <br>The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail) - Search Attributes <br>The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail) - Search Attributes <br>The LDAP attributes to use to search for users when given their name (one per line, examples: cn, mail) - - - Object Classes <br>The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount) - Object Classes <br>The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount) - Object Classes <br>The LDAP object classes to search for users (one per line, example: user, inetOrgPerson, posixAccount) - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authenticationList.xml b/rbac/engine/xmlform/rbac/authenticationList.xml deleted file mode 100755 index 5b3f285f0..000000000 --- a/rbac/engine/xmlform/rbac/authenticationList.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - ID - ID - - - ID_NAME - ID_NAME - - - ID_SERVER_NAME - ID_SERVER_NAME - - - ID_PROVIDER - ID_PROVIDER - - - - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authenticationsList.es b/rbac/engine/xmlform/rbac/authenticationsList.es deleted file mode 100755 index ec41971e7..000000000 --- a/rbac/engine/xmlform/rbac/authenticationsList.es +++ /dev/null @@ -1,44 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:4:{s:4:"type";s:9:"pagetable";s:3:"sql";s:77:"SELECT *, @@DELETE as AUT_DELETE FROM AUTHENTICATION_SOURCES ORDER BY AUT_UID";s:13:"sqlConnection";s:4:"RBAC";s:9:"deleteRow";s:1:"0";}s:8:"children";a:11:{i:0;O:8:"xml_node":5:{s:4:"name";s:7:"AUT_UID";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:3:{s:4:"type";s:4:"link";s:5:"value";s:9:"@&AUT_UID";s:4:"link";s:32:"loadAuthSource.php?UID=@&AUT_UID";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:2:"ID";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:2:"ID";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:8:"AUT_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:3:{s:4:"type";s:4:"link";s:5:"value";s:10:"@&AUT_NAME";s:4:"link";s:32:"loadAuthSource.php?UID=@&AUT_UID";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:7:"ID_NAME";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:7:"ID_NAME";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:15:"AUT_SERVER_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:4:"text";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:14:"ID_SERVER_NAME";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:14:"ID_SERVER_NAME";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:12:"AUT_PROVIDER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:4:"text";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:11:"ID_PROVIDER";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"ID_PROVIDER";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:10:"AUT_DELETE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:3:{s:4:"type";s:4:"link";s:5:"value";s:12:"@#AUT_DELETE";s:4:"link";s:25:"authDel.php?UID=@&AUT_UID";}s:8:"children";a:5:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:58:"cGNXUnoxwrBVcWFUWTJawrBoM3BpYTVwcmNvZGFQMkpubXFGN280WjA___";' ); -$this->name = unserialize( 's:0:"";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:5:{s:7:"AUT_UID";O:18:"xmlform_field_link":10:{s:4:"name";s:7:"AUT_UID";s:4:"type";s:4:"link";s:5:"label";s:2:"ID";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"link";s:32:"loadAuthSource.php?UID=@&AUT_UID";s:5:"value";s:9:"@&AUT_UID";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"AUT_NAME";O:18:"xmlform_field_link":10:{s:4:"name";s:8:"AUT_NAME";s:4:"type";s:4:"link";s:5:"label";s:7:"ID_NAME";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"link";s:32:"loadAuthSource.php?UID=@&AUT_UID";s:5:"value";s:10:"@&AUT_NAME";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:15:"AUT_SERVER_NAME";O:18:"xmlform_field_text":22:{s:4:"name";s:15:"AUT_SERVER_NAME";s:4:"type";s:4:"text";s:5:"label";s:14:"ID_SERVER_NAME";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";i:15;s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";i:15;s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:12:"AUT_PROVIDER";O:18:"xmlform_field_text":22:{s:4:"name";s:12:"AUT_PROVIDER";s:4:"type";s:4:"text";s:5:"label";s:11:"ID_PROVIDER";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";i:15;s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";i:15;s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:10:"AUT_DELETE";O:18:"xmlform_field_link":10:{s:4:"name";s:10:"AUT_DELETE";s:4:"type";s:4:"link";s:5:"label";s:0:"";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"link";s:25:"authDel.php?UID=@&AUT_UID";s:5:"value";s:12:"@#AUT_DELETE";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 'i:600;' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:79:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authentications_list.es";' ); -$this->type = unserialize( 's:9:"pagetable";' ); -$this->fileName = unserialize( 's:80:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/authentications_list.xml";' ); -$this->scriptFile = unserialize( 's:84:"/home/santos/newgulliver/trunk/rbac/public_html/xmlform/rbac/authentications_list.js";' ); -$this->scriptURL = unserialize( 's:37:"/xmlform/rbac/authentications_list.js";' ); -$this->sql = unserialize( 's:77:"SELECT *, @@DELETE as AUT_DELETE FROM AUTHENTICATION_SOURCES ORDER BY AUT_UID";' ); -$this->sqlConnection = unserialize( 's:4:"RBAC";' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/authenticationsList.xml b/rbac/engine/xmlform/rbac/authenticationsList.xml deleted file mode 100755 index 5b3f285f0..000000000 --- a/rbac/engine/xmlform/rbac/authenticationsList.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - ID - ID - - - ID_NAME - ID_NAME - - - ID_SERVER_NAME - ID_SERVER_NAME - - - ID_PROVIDER - ID_PROVIDER - - - - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/dbInfo.es b/rbac/engine/xmlform/rbac/dbInfo.es deleted file mode 100755 index 7e76dab2d..000000000 --- a/rbac/engine/xmlform/rbac/dbInfo.es +++ /dev/null @@ -1,98 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:10:"dbInfo.xml";s:7:"basedir";s:0:"";s:5:"width";s:3:"450";}s:8:"children";a:30:{i:0;O:8:"xml_node":5:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:5:"title";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:37:"Information about Database Connection";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:37:"Information about Database Connection";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:37:"Information about Database Connection";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:5:"FLUID";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:7:"caption";s:5:"group";s:1:"5";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rbac";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rbac";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rbac";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:6:"REDHAT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:5:"Linux";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Linux";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:21:"Introduce translation";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:15:"SERVER_SOFTWARE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:12:"Servidor WEB";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:10:"Web Server";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:21:"Introduce translation";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:5:"MYSQL";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:5:"MySql";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"MySql";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:21:"Introduce translation";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:3:"PHP";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:3:"PHP";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:3:"PHP";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:3:"PHP";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:11:"SERVER_NAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:7:"caption";s:5:"group";s:1:"4";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:18:"Nombre de Servidor";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"Server Name";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:11:"Server Name";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"xml_node":5:{s:4:"name";s:11:"SERVER_ADDR";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:21:"Direccion IP Servidor";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:17:"Server IP Address";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:17:"Server IP Address";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:15;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"xml_node":5:{s:4:"name";s:15:"HTTP_USER_AGENT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:21:"Navegador del Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:14:"User"s Browser";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:14:"User"s Browser";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:17;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"xml_node":5:{s:4:"name";s:2:"IP";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:22:"IP Address del Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:17:"User"s Ip Address";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"fa";s:4:"type";s:8:"complete";s:5:"value";s:17:"User"s Ip Address";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:19;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:20;O:8:"xml_node":5:{s:4:"name";s:7:"phptype";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:7:"caption";s:5:"group";s:1:"5";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:8:"phptype:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"phptype:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:8:"phptype:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:21;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:22;O:8:"xml_node":5:{s:4:"name";s:8:"database";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"database:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:9:"database:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"database:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:23;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:24;O:8:"xml_node":5:{s:4:"name";s:8:"username";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"username:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:9:"username:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"username:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:25;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:26;O:8:"xml_node":5:{s:4:"name";s:8:"protocol";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"protocol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:9:"protocol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"protocol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:27;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:28;O:8:"xml_node":5:{s:4:"name";s:8:"hostspec";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:7:"caption";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:5:"host:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"host:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:5:"host:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:29;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:0:"";' ); -$this->name = unserialize( 's:10:"dbInfo.xml";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:15:{s:11:"DYNA_HEADER";O:19:"xmlform_field_title":8:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:5:"title";s:5:"label";s:37:"Information about Database Connection";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:5:"FLUID";O:21:"xmlform_field_caption":10:{s:4:"name";s:5:"FLUID";s:4:"type";s:7:"caption";s:5:"label";s:4:"Rbac";s:5:"owner";N;s:5:"group";s:1:"5";s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:6:"REDHAT";O:21:"xmlform_field_caption":10:{s:4:"name";s:6:"REDHAT";s:4:"type";s:7:"caption";s:5:"label";s:5:"Linux";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:15:"SERVER_SOFTWARE";O:21:"xmlform_field_caption":10:{s:4:"name";s:15:"SERVER_SOFTWARE";s:4:"type";s:7:"caption";s:5:"label";s:12:"Servidor WEB";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:5:"MYSQL";O:21:"xmlform_field_caption":10:{s:4:"name";s:5:"MYSQL";s:4:"type";s:7:"caption";s:5:"label";s:5:"MySql";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:3:"PHP";O:21:"xmlform_field_caption":10:{s:4:"name";s:3:"PHP";s:4:"type";s:7:"caption";s:5:"label";s:3:"PHP";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:11:"SERVER_NAME";O:21:"xmlform_field_caption":10:{s:4:"name";s:11:"SERVER_NAME";s:4:"type";s:7:"caption";s:5:"label";s:18:"Nombre de Servidor";s:5:"owner";N;s:5:"group";s:1:"4";s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:11:"SERVER_ADDR";O:21:"xmlform_field_caption":10:{s:4:"name";s:11:"SERVER_ADDR";s:4:"type";s:7:"caption";s:5:"label";s:21:"Direccion IP Servidor";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:15:"HTTP_USER_AGENT";O:21:"xmlform_field_caption":10:{s:4:"name";s:15:"HTTP_USER_AGENT";s:4:"type";s:7:"caption";s:5:"label";s:21:"Navegador del Usuario";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:2:"IP";O:21:"xmlform_field_caption":10:{s:4:"name";s:2:"IP";s:4:"type";s:7:"caption";s:5:"label";s:22:"IP Address del Usuario";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:7:"phptype";O:21:"xmlform_field_caption":10:{s:4:"name";s:7:"phptype";s:4:"type";s:7:"caption";s:5:"label";s:8:"phptype:";s:5:"owner";N;s:5:"group";s:1:"5";s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:8:"database";O:21:"xmlform_field_caption":10:{s:4:"name";s:8:"database";s:4:"type";s:7:"caption";s:5:"label";s:9:"database:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:8:"username";O:21:"xmlform_field_caption":10:{s:4:"name";s:8:"username";s:4:"type";s:7:"caption";s:5:"label";s:9:"username:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:8:"protocol";O:21:"xmlform_field_caption":10:{s:4:"name";s:8:"protocol";s:4:"type";s:7:"caption";s:5:"label";s:9:"protocol:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:8:"hostspec";O:21:"xmlform_field_caption":10:{s:4:"name";s:8:"hostspec";s:4:"type";s:7:"caption";s:5:"label";s:5:"host:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"sqlconnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"450";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:65:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/dbInfo.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:66:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/dbInfo.xml";' ); -$this->scriptFile = unserialize( 's:0:"";' ); -$this->scriptURL = unserialize( 's:0:"";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/dbInfo.xml b/rbac/engine/xmlform/rbac/dbInfo.xml deleted file mode 100755 index d53981af2..000000000 --- a/rbac/engine/xmlform/rbac/dbInfo.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - Information about Database Connection - Information about Database Connection - Information about Database Connection - - - Rbac - Rbac - Rbac - - - Sistema Operativo - Operating System - Sistema Operativo - - - - Servidor WEB - Web Server - Introduce translation - - - MySql - MySql - Introduce translation - - - PHP - PHP - PHP - - - Nombre de Servidor - Server Name - Server Name - - - Direccion IP Servidor - Server IP Address - Server IP Address - - - Navegador del Usuario - User"s Browser - User"s Browser - - - IP Address del Usuario - User"s Ip Address - User"s Ip Address - - - phptype: - phptype: - phptype: - - - database: - database: - database: - - - username: - username: - username: - - - protocol: - protocol: - protocol: - - - host: - host: - host: - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/noMoreRolesAvailable.xml b/rbac/engine/xmlform/rbac/noMoreRolesAvailable.xml deleted file mode 100755 index 5de1e4ef0..000000000 --- a/rbac/engine/xmlform/rbac/noMoreRolesAvailable.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - Asignar Rol a un Usuario - Assign Role to User - Asignar Rol a un usuario - - - No hay mas roles disponibles - There are no more roles available - No hay mas roles disponibles - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/permEdit.xml b/rbac/engine/xmlform/rbac/permEdit.xml deleted file mode 100755 index 425e9a0ba..000000000 --- a/rbac/engine/xmlform/rbac/permEdit.xml +++ /dev/null @@ -1,38 +0,0 @@ - -form - - Editar Permiso - Edit Permission - Editar Permiso - - - - - select UID, APP_CODE FROM APPLICATION WHERE UID = @#UID - Applicación: - Application: - Applicacion: - - - - Código: - Code: - Codigo: - - - - Descripción: - Description: - Descripcion: - - - - - Continuar - Continue - Continuar - - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/permNew.xml b/rbac/engine/xmlform/rbac/permNew.xml deleted file mode 100755 index 668f6aabd..000000000 --- a/rbac/engine/xmlform/rbac/permNew.xml +++ /dev/null @@ -1,47 +0,0 @@ - -form - - Crear Nuevo Permiso - Create new Permission - Crear Permiso Nuevo - - - - select UID, @#CONCAT1 FROM APPLICATION WHERE UID = @#APPID - Applicación: - Application: - Applicacion: - - - - select UID, @#CONCAT2 from PERMISSION where UID = @#PERMID - Rol Superior: - Upper Role: - Role Superior: - - - - Código: - Code: - Codigo: - - - - Descripción: - Description: - Descripcion: - - - - - Continuar - Continue - Continuar - - - - - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/roleEdit.es b/rbac/engine/xmlform/rbac/roleEdit.es deleted file mode 100755 index 2e5fcfbec..000000000 --- a/rbac/engine/xmlform/rbac/roleEdit.es +++ /dev/null @@ -1,56 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:4:"rbac";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";}s:8:"children";a:17:{i:0;O:8:"xml_node":5:{s:4:"name";s:10:"DYNA_HEADE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"7";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:10:"Editar Rol";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:9:"Edit Role";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:8:"Edit Rol";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:15:"ROL_APPLICATION";s:4:"type";s:4:"open";s:5:"value";s:77:" - select UID, APP_CODE from APPLICATION where UID = @@CURRENT_APPLICATION - ";s:10:"attributes";a:3:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:1:"2";s:4:"mode";s:4:"view";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:12:"Aplicación:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:12:"Application:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:11:"Aplicacion:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:8:"ROL_CODE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:1:"4";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:15:"Código de Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:10:"Role Code:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:11:"Codigo Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:9;O:8:"xml_node":5:{s:4:"name";s:15:"ROL_DESCRIPTION";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:9:"maxlength";s:3:"120";s:8:"validate";s:1:"4";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:13:"Descripción:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:12:"Description:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:12:"Descripcion:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:15;O:8:"xml_node":5:{s:4:"name";s:19:"CURRENT_APPLICATION";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:0:"";}s:8:"children";a:0:{}}i:16;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:0:"";' ); -$this->name = unserialize( 's:4:"rbac";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:6:{s:10:"DYNA_HEADE";O:19:"xmlform_field_title":8:{s:4:"name";s:10:"DYNA_HEADE";s:4:"type";s:5:"title";s:5:"label";s:10:"Editar Rol";s:5:"owner";N;s:5:"group";s:1:"7";s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:15:"ROL_APPLICATION";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:15:"ROL_APPLICATION";s:4:"type";s:8:"dropdown";s:5:"label";s:12:"Aplicación:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"view";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:1:"2";s:3:"sql";s:74:"select UID, APP_CODE from APPLICATION where UID = @@CURRENT_APPLICATION - ";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:8:"ROL_CODE";O:18:"xmlform_field_text":22:{s:4:"name";s:8:"ROL_CODE";s:4:"type";s:4:"text";s:5:"label";s:15:"Código de Rol:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:1:"4";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:15:"ROL_DESCRIPTION";O:18:"xmlform_field_text":22:{s:4:"name";s:15:"ROL_DESCRIPTION";s:4:"type";s:4:"text";s:5:"label";s:13:"Descripción:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"35";s:8:"validate";s:1:"4";s:4:"mask";s:0:"";s:9:"maxLength";s:3:"120";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:19:"CURRENT_APPLICATION";O:13:"xmlform_field":8:{s:4:"name";s:19:"CURRENT_APPLICATION";s:4:"type";s:0:"";s:5:"label";N;s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:67:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/roleEdit.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:68:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/roleEdit.xml";' ); -$this->scriptFile = unserialize( 's:0:"";' ); -$this->scriptURL = unserialize( 's:0:"";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/roleEdit.xml b/rbac/engine/xmlform/rbac/roleEdit.xml deleted file mode 100755 index 757e3b558..000000000 --- a/rbac/engine/xmlform/rbac/roleEdit.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - Editar Rol - Edit Role - Edit Rol - - - - select UID, APP_CODE from APPLICATION where UID = @@CURRENT_APPLICATION - Aplicación: - Application: - Aplicacion: - - - - Código de Rol: - Role Code: - Codigo Rol: - - - - Descripción: - Description: - Descripcion: - - - - Continuar - Continue - Continuar - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/roleNew.xml b/rbac/engine/xmlform/rbac/roleNew.xml deleted file mode 100755 index 0eabc1d54..000000000 --- a/rbac/engine/xmlform/rbac/roleNew.xml +++ /dev/null @@ -1,52 +0,0 @@ - -form - - - Crear un Rol - Create a Role - Crear a Rol - - - - select UID, @#CONCAT1 from APPLICATION where UID = @@APPID - Aplicación: - Application: - Aplicacion: - - - - select UID, @#CONCAT2 from ROLE where UID = @@ROLID - Rol Superior: - Upper Role: - Role Superior: - - - - Código de Rol: - Role Code: - Codigo Rol: - - - - Descripción: - Description: - Descripcion: - - - - - - - - - Continuar - Continue - Continuar - - - - global $HTTP_SESSION_VARS; - $appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION']; - $rolid = $HTTP_SESSION_VARS['CURRENT_ROLE_PARENT']; - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userAssignRole.en b/rbac/engine/xmlform/rbac/userAssignRole.en deleted file mode 100755 index ef12781fc..000000000 --- a/rbac/engine/xmlform/rbac/userAssignRole.en +++ /dev/null @@ -1,57 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:18:"userAssignRole.xml";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";}s:8:"children";a:14:{i:0;O:8:"xml_node":5:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"5";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:24:"Asignar Rol a un Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:19:"Assign Role to User";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:24:"Asignar Rol a un usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:4:"open";s:5:"value";s:59:" - SELECT UID, USR_USERNAME FROM USERS WHERE UID = @@UID - ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:8:"Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"User:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:8:"Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:15:"USR_APPLICATION";s:4:"type";s:4:"open";s:5:"value";s:69:" - SELECT UID, APP_CODE FROM APPLICATION WHERE UID NOT IN @#INAPPS - ";s:10:"attributes";a:3:{s:4:"type";s:8:"dropdown";s:15:"dependentfields";s:8:"USR_ROLE";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:12:"Aplicación:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:12:"Application:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:11:"Aplicacion:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:8:"USR_ROLE";s:4:"type";s:4:"open";s:5:"value";s:78:" - SELECT UID, ROL_CODE FROM ROLE WHERE ROL_APPLICATION = @#USR_APPLICATION - ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Role:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:3:"UID";s:4:"type";s:8:"complete";s:5:"value";s:1:" -";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:6:"INAPPS";s:4:"type";s:8:"complete";s:5:"value";s:1:" -";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}s:8:"children";a:0:{}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:0:"";' ); -$this->name = unserialize( 's:18:"userAssignRole.xml";' ); -$this->fields = unserialize( 'a:7:{s:11:"DYNA_HEADER";O:19:"xmlform_field_title":8:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:5:"title";s:5:"label";s:19:"Assign Role to User";s:5:"owner";N;s:5:"group";s:1:"5";s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"USR_NAME";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:8:"dropdown";s:5:"label";s:5:"User:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:56:"SELECT UID, USR_USERNAME FROM USERS WHERE UID = @@UID - ";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:15:"USR_APPLICATION";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:15:"USR_APPLICATION";s:4:"type";s:8:"dropdown";s:5:"label";s:12:"Application:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:8:"USR_ROLE";s:8:"readonly";b:0;s:6:"option";a:1:{i:0;s:18:"select application";}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:66:"SELECT UID, APP_CODE FROM APPLICATION WHERE UID NOT IN @#INAPPS - ";s:9:"sqlOption";a:0:{}s:7:"options";a:1:{i:0;s:18:"select application";}}s:8:"USR_ROLE";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:8:"USR_ROLE";s:4:"type";s:8:"dropdown";s:5:"label";s:5:"Role:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:75:"SELECT UID, ROL_CODE FROM ROLE WHERE ROL_APPLICATION = @#USR_APPLICATION - ";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:8:"Continue";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:3:"UID";O:13:"xmlform_field":8:{s:4:"name";s:3:"UID";s:4:"type";s:11:"phpvariable";s:5:"label";N;s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:6:"INAPPS";O:13:"xmlform_field":8:{s:4:"name";s:6:"INAPPS";s:4:"type";s:11:"phpvariable";s:5:"label";N;s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:73:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userAssignRole.en";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:74:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userAssignRole.xml";' ); -$this->scriptFile = unserialize( 's:0:"";' ); -$this->scriptURL = unserialize( 's:0:"";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userAssignRole.es b/rbac/engine/xmlform/rbac/userAssignRole.es deleted file mode 100755 index 3510ebc85..000000000 --- a/rbac/engine/xmlform/rbac/userAssignRole.es +++ /dev/null @@ -1,57 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:18:"userAssignRole.xml";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";}s:8:"children";a:14:{i:0;O:8:"xml_node":5:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"5";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:24:"Asignar Rol a un Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:19:"Assign Role to User";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:24:"Asignar Rol a un usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:4:"open";s:5:"value";s:59:" - SELECT UID, USR_USERNAME FROM USERS WHERE UID = @@UID - ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:8:"Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"User:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:8:"Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:15:"USR_APPLICATION";s:4:"type";s:4:"open";s:5:"value";s:69:" - SELECT UID, APP_CODE FROM APPLICATION WHERE UID NOT IN @#INAPPS - ";s:10:"attributes";a:3:{s:4:"type";s:8:"dropdown";s:15:"dependentfields";s:8:"USR_ROLE";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:12:"Aplicación:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:12:"Application:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:11:"Aplicacion:";s:10:"attributes";a:0:{}s:8:"children";a:1:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"select application";s:10:"attributes";a:1:{s:4:"name";s:1:"0";}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:8:"USR_ROLE";s:4:"type";s:4:"open";s:5:"value";s:78:" - SELECT UID, ROL_CODE FROM ROLE WHERE ROL_APPLICATION = @#USR_APPLICATION - ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:4:"RBAC";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Role:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:4:"Rol:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:3:"UID";s:4:"type";s:8:"complete";s:5:"value";s:1:" -";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:6:"INAPPS";s:4:"type";s:8:"complete";s:5:"value";s:1:" -";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}s:8:"children";a:0:{}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:46:"cGNXUnoxwrBvcDVYaXRhVGczcHlueEtEWm1KR28yWnc___";' ); -$this->name = unserialize( 's:18:"userAssignRole.xml";' ); -$this->fields = unserialize( 'a:7:{s:11:"DYNA_HEADER";O:19:"xmlform_field_title":8:{s:4:"name";s:11:"DYNA_HEADER";s:4:"type";s:5:"title";s:5:"label";s:24:"Asignar Rol a un Usuario";s:5:"owner";N;s:5:"group";s:1:"5";s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:8:"USR_NAME";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:8:"USR_NAME";s:4:"type";s:8:"dropdown";s:5:"label";s:8:"Usuario:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:56:"SELECT UID, USR_USERNAME FROM USERS WHERE UID = @@UID - ";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:15:"USR_APPLICATION";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:15:"USR_APPLICATION";s:4:"type";s:8:"dropdown";s:5:"label";s:12:"Aplicación:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:8:"USR_ROLE";s:8:"readonly";b:0;s:6:"option";a:1:{i:0;s:18:"select application";}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:66:"SELECT UID, APP_CODE FROM APPLICATION WHERE UID NOT IN @#INAPPS - ";s:9:"sqlOption";a:0:{}s:7:"options";a:1:{i:0;s:18:"select application";}}s:8:"USR_ROLE";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:8:"USR_ROLE";s:4:"type";s:8:"dropdown";s:5:"label";s:4:"Rol:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:4:"RBAC";s:3:"sql";s:75:"SELECT UID, ROL_CODE FROM ROLE WHERE ROL_APPLICATION = @#USR_APPLICATION - ";s:9:"sqlOption";a:0:{}s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:3:"UID";O:13:"xmlform_field":8:{s:4:"name";s:3:"UID";s:4:"type";s:11:"phpvariable";s:5:"label";N;s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:6:"INAPPS";O:13:"xmlform_field":8:{s:4:"name";s:6:"INAPPS";s:4:"type";s:11:"phpvariable";s:5:"label";N;s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:73:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userAssignRole.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:74:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userAssignRole.xml";' ); -$this->scriptFile = unserialize( 's:78:"/home/santos/newgulliver/trunk/rbac/public_html/xmlform/rbac/userAssignRole.js";' ); -$this->scriptURL = unserialize( 's:31:"/xmlform/rbac/userAssignRole.js";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userAssignRole.xml b/rbac/engine/xmlform/rbac/userAssignRole.xml deleted file mode 100755 index d6159aa0b..000000000 --- a/rbac/engine/xmlform/rbac/userAssignRole.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - Asignar Rol a un Usuario - Assign Role to User - Asignar Rol a un usuario - - - SELECT UID, USR_USERNAME FROM USERS WHERE UID = @@UID - Usuario: - User: - Usuario: - - - SELECT UID, APP_CODE FROM APPLICATION WHERE UID NOT IN @#INAPPS - Aplicación: - Application: - Aplicacion: - - - SELECT UID, ROL_CODE FROM ROLE WHERE ROL_APPLICATION = @#USR_APPLICATION - Rol: - Role: - Rol: - - - Continuar - Continue - Continuar - - - - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userAssignRole3.xml b/rbac/engine/xmlform/rbac/userAssignRole3.xml deleted file mode 100755 index c318a6bdb..000000000 --- a/rbac/engine/xmlform/rbac/userAssignRole3.xml +++ /dev/null @@ -1,45 +0,0 @@ - -form - - [CDATA] -
    Asignar Rol a un Usuario
    - [/CDATA]
    - [CDATA] -
    Assign Role to User.
    - [/CDATA]
    - [CDATA] -
    Asignar Rol a un usuario
    - [/CDATA]
    -
    - - - - Nombre de Usuario: - User Id: - Nome do Usuario: - - - - Aplicación: - Application: - Aplicacion: - - - - select UID, ROL_CODE from ROLE where ROL_APPLICATION = $appid - Rol: - Role: - Rol: - - - - - Continuar: - Continue: - Continuar: - - - - global $appid; - -
    \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userChangeLdap.xml b/rbac/engine/xmlform/rbac/userChangeLdap.xml deleted file mode 100755 index 10bcc53bd..000000000 --- a/rbac/engine/xmlform/rbac/userChangeLdap.xml +++ /dev/null @@ -1,53 +0,0 @@ - -form - - - Editar propiedades de authenticacion - Edit Authentication Properties - Editar propiedades de authenticacion - - - - Enable LDAP/AD - - - - Enable LDAP/AD: - - - - Enable LDAP/AD: - - - - - - -select * from AUTHENTICATION_SOURCES - Fuente de Autenticacion: - - - Authentication Source: - - - Authentication Source: - - - - - - DN Usuario: - DN User: - DN User: - - - - Continuar: - Continue: - Continuar: - - - - $lan = SYS_LANG; - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userChangePwd.xml b/rbac/engine/xmlform/rbac/userChangePwd.xml deleted file mode 100755 index b2cc92bde..000000000 --- a/rbac/engine/xmlform/rbac/userChangePwd.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - Reinicio de Password - Reset Password - Reiniciar password - - - Identificador de Usuario: - User ID: - Nome do usuario: - - - Password: - Password: - Password: - - - Confirmación: - Confirmation: - Confirmacion: - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userEdit.es b/rbac/engine/xmlform/rbac/userEdit.es deleted file mode 100755 index a03fbbc34..000000000 --- a/rbac/engine/xmlform/rbac/userEdit.es +++ /dev/null @@ -1,98 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:2:{s:4:"name";s:12:"userEdit.xml";s:7:"basedir";s:0:"";}s:8:"children";a:20:{i:0;O:8:"xml_node":5:{s:4:"name";s:3:"abc";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:5:"title";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:23:"Editar Datos de Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:14:"Edit User Info";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:20:"Editar datos do user";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:13:"USR_FIRSTNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";s:5:"group";s:1:"8";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:7:"Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"First Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:6:"Nomes:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:11:"USR_MIDNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:15:"Segundo Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:12:"Middle Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:15:"Segundo Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:12:"USR_LASTNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Apellido:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:10:"Last Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Apellido:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:9:"USR_EMAIL";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:20:"Correo Electrónico:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:7:"E-Mail:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:19:"Correo Electronico:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:12:"USR_USERNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"32";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:25:"Identificador de Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:10:"User Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:16:"Nome do Usuario:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"xml_node":5:{s:4:"name";s:10:"USR_STATUS";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:8:"dropdown";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:19:"Estado Actual: - ";s:10:"attributes";a:0:{}s:8:"children";a:12:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Activo";s:10:"attributes";a:1:{s:4:"name";s:6:"ACTIVE";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:8:"Inactivo";s:10:"attributes";a:1:{s:4:"name";s:8:"INACTIVE";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:9:"Vacación";s:10:"attributes";a:1:{s:4:"name";s:8:"VACATION";}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:9;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:7:"Cerrado";s:10:"attributes";a:1:{s:4:"name";s:5:"CLOSE";}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:20:"Current Status: - ";s:10:"attributes";a:0:{}s:8:"children";a:12:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Active";s:10:"attributes";a:1:{s:4:"name";s:6:"ACTIVE";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:8:"Inactive";s:10:"attributes";a:1:{s:4:"name";s:8:"INACTIVE";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:8:"Vacation";s:10:"attributes";a:1:{s:4:"name";s:8:"VACATION";}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:9;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:5:"Close";s:10:"attributes";a:1:{s:4:"name";s:5:"CLOSE";}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:19:"Estado Actual: - ";s:10:"attributes";a:0:{}s:8:"children";a:12:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Activo";s:10:"attributes";a:1:{s:4:"name";s:6:"ACTIVE";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:8:"Inactivo";s:10:"attributes";a:1:{s:4:"name";s:8:"INACTIVE";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:9:"Vacación";s:10:"attributes";a:1:{s:4:"name";s:8:"VACATION";}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:9;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:7:"Cerrado";s:10:"attributes";a:1:{s:4:"name";s:5:"CLOSE";}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"xml_node":5:{s:4:"name";s:12:"USR_DUE_DATE";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:4:"date";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:21:"Fecha de Vencimiento:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:9:"Due Date:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:19:"Fecha de Caducidad:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:15;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"xml_node":5:{s:4:"name";s:12:"USR_USE_LDAP";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:8:"dropdown";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:4:"open";s:5:"value";s:19:"Enable LDAP/AD - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Enable";s:10:"attributes";a:1:{s:4:"name";s:1:"Y";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:7:"Disable";s:10:"attributes";a:1:{s:4:"name";s:1:"N";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:20:"Enable LDAP/AD: - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Enable";s:10:"attributes";a:1:{s:4:"name";s:1:"Y";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:7:"Disable";s:10:"attributes";a:1:{s:4:"name";s:1:"N";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:4:"open";s:5:"value";s:20:"Enable LDAP/AD: - ";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Enable";s:10:"attributes";a:1:{s:4:"name";s:1:"Y";}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:4:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:7:"Disable";s:10:"attributes";a:1:{s:4:"name";s:1:"N";}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:17;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:19;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:32:"cGNXUnoxwrBvcDVYaXVaWFc2V094MzUw";' ); -$this->name = unserialize( 's:12:"userEdit.xml";' ); -$this->fields = unserialize( 'a:10:{s:3:"abc";O:19:"xmlform_field_title":8:{s:4:"name";s:3:"abc";s:4:"type";s:5:"title";s:5:"label";s:23:"Editar Datos de Usuario";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:13:"USR_FIRSTNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:13:"USR_FIRSTNAME";s:4:"type";s:4:"text";s:5:"label";s:7:"Nombre:";s:5:"owner";N;s:5:"group";s:1:"8";s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:11:"USR_MIDNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:11:"USR_MIDNAME";s:4:"type";s:4:"text";s:5:"label";s:15:"Segundo Nombre:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:12:"USR_LASTNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:12:"USR_LASTNAME";s:4:"type";s:4:"text";s:5:"label";s:9:"Apellido:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:9:"USR_EMAIL";O:18:"xmlform_field_text":22:{s:4:"name";s:9:"USR_EMAIL";s:4:"type";s:4:"text";s:5:"label";s:20:"Correo Electrónico:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:12:"USR_USERNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:12:"USR_USERNAME";s:4:"type";s:4:"text";s:5:"label";s:25:"Identificador de Usuario:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"32";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:10:"USR_STATUS";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:10:"USR_STATUS";s:4:"type";s:8:"dropdown";s:5:"label";s:19:"Estado Actual: - ";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:4:{s:6:"ACTIVE";s:6:"Activo";s:8:"INACTIVE";s:8:"Inactivo";s:8:"VACATION";s:9:"Vacación";s:5:"CLOSE";s:7:"Cerrado";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:4:{s:6:"ACTIVE";s:6:"Activo";s:8:"INACTIVE";s:8:"Inactivo";s:8:"VACATION";s:9:"Vacación";s:5:"CLOSE";s:7:"Cerrado";}}s:12:"USR_DUE_DATE";O:18:"xmlform_field_date":17:{s:4:"name";s:12:"USR_DUE_DATE";s:4:"type";s:4:"date";s:5:"label";s:21:"Fecha de Vencimiento:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";i:15;s:8:"validate";s:3:"Any";s:4:"mask";s:10:"dd-mm-YYYY";s:11:"initialYear";i:0;s:9:"finalYear";i:0;s:12:"defaultValue";s:10:"0000-00-00";s:6:"format";s:5:"Y-m-d";s:8:"required";b:0;s:8:"readOnly";b:0;s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:12:"USR_USE_LDAP";O:22:"xmlform_field_dropdown":15:{s:4:"name";s:12:"USR_USE_LDAP";s:4:"type";s:8:"dropdown";s:5:"label";s:19:"Enable LDAP/AD - ";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:6:"option";a:2:{s:1:"Y";s:6:"Enable";s:1:"N";s:7:"Disable";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"options";a:2:{s:1:"Y";s:6:"Enable";s:1:"N";s:7:"Disable";}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 'i:600;' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:67:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userEdit.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:68:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userEdit.xml";' ); -$this->scriptFile = unserialize( 's:72:"/home/santos/newgulliver/trunk/rbac/public_html/xmlform/rbac/userEdit.js";' ); -$this->scriptURL = unserialize( 's:25:"/xmlform/rbac/userEdit.js";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userEdit.xml b/rbac/engine/xmlform/rbac/userEdit.xml deleted file mode 100755 index d973d83fe..000000000 --- a/rbac/engine/xmlform/rbac/userEdit.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - Editar Datos de Usuario - Edit User Info - Editar datos do user - - - Nombre: - First Name: - Nomes: - - - Segundo Nombre: - Middle Name: - Segundo Nombre: - - - Apellido: - Last Name: - Apellido: - - - Correo Electrónico: - E-Mail: - Correo Electronico: - - - Identificador de Usuario: - User Name: - Nome do Usuario: - - - Estado Actual: - - - - - - Current Status: - - - - - - Estado Actual: - - - - - - - - Fecha de Vencimiento: - Due Date: - Fecha de Caducidad: - - - Enable LDAP/AD - - - - Enable LDAP/AD: - - - - Enable LDAP/AD: - - - - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userNew.es b/rbac/engine/xmlform/rbac/userNew.es deleted file mode 100755 index 772926604..000000000 --- a/rbac/engine/xmlform/rbac/userNew.es +++ /dev/null @@ -1,53 +0,0 @@ -tree = unserialize( 'O:8:"xml_node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" -";s:10:"attributes";a:3:{s:4:"name";s:11:"userNew.xml";s:7:"basedir";s:0:"";s:5:"width";s:3:"400";}s:8:"children";a:12:{i:0;O:8:"xml_node":5:{s:4:"name";s:3:"abc";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:5:"title";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:19:"Crear Nuevo Usuario";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:15:"Create new User";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:17:"Inserir Novo user";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:13:"USR_FIRSTNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";s:5:"group";s:1:"8";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:7:"Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"First Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:6:"Nomes:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:3;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:11:"USR_MIDNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:15:"Segundo Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:12:"Middle Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:15:"Segundo Nombre:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:12:"USR_LASTNAME";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:5:"Alpha";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Apellido:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:10:"Last Name:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Apellido:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"xml_node":5:{s:4:"name";s:9:"USR_EMAIL";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"25";s:9:"maxlength";s:2:"24";s:8:"validate";s:3:"Any";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:20:"Correo Electrónico:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:7:"E-Mail:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:19:"Correo Electronico:";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"xml_node":5:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:4:"open";s:5:"value";s:3:" - ";s:10:"attributes";a:1:{s:4:"type";s:6:"submit";}s:8:"children";a:8:{i:0;O:8:"xml_node":5:{s:4:"name";s:2:"es";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:3;O:8:"xml_node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:8:"Continue";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:5;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"xml_node":5:{s:4:"name";s:2:"po";s:4:"type";s:8:"complete";s:5:"value";s:9:"Continuar";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:7;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"xml_node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" -";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); -$this->id = unserialize( 's:0:"";' ); -$this->name = unserialize( 's:11:"userNew.xml";' ); -$this->version = unserialize( 's:3:"0.3";' ); -$this->fields = unserialize( 'a:6:{s:3:"abc";O:19:"xmlform_field_title":8:{s:4:"name";s:3:"abc";s:4:"type";s:5:"title";s:5:"label";s:19:"Crear Nuevo Usuario";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}s:13:"USR_FIRSTNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:13:"USR_FIRSTNAME";s:4:"type";s:4:"text";s:5:"label";s:7:"Nombre:";s:5:"owner";N;s:5:"group";s:1:"8";s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:11:"USR_MIDNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:11:"USR_MIDNAME";s:4:"type";s:4:"text";s:5:"label";s:15:"Segundo Nombre:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:12:"USR_LASTNAME";O:18:"xmlform_field_text":22:{s:4:"name";s:12:"USR_LASTNAME";s:4:"type";s:4:"text";s:5:"label";s:9:"Apellido:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:5:"Alpha";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:9:"USR_EMAIL";O:18:"xmlform_field_text":22:{s:4:"name";s:9:"USR_EMAIL";s:4:"type";s:4:"text";s:5:"label";s:20:"Correo Electrónico:";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:4:"size";s:2:"25";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:9:"maxLength";s:2:"24";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:7:"options";a:0:{}}s:7:"BSUBMIT";O:20:"xmlform_field_submit":8:{s:4:"name";s:7:"BSUBMIT";s:4:"type";s:6:"submit";s:5:"label";s:9:"Continuar";s:5:"owner";N;s:5:"group";i:0;s:4:"mode";s:4:"edit";s:3:"sql";s:0:"";s:7:"options";a:0:{}}}' ); -$this->width = unserialize( 's:3:"400";' ); -$this->height = unserialize( 'i:600;' ); -$this->title = unserialize( 's:0:"";' ); -$this->home = unserialize( 's:51:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/";' ); -$this->parsedFile = unserialize( 's:66:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userNew.es";' ); -$this->type = unserialize( 's:7:"xmlform";' ); -$this->fileName = unserialize( 's:67:"/home/santos/newgulliver/trunk/rbac/engine/xmlform/rbac/userNew.xml";' ); -$this->scriptFile = unserialize( 's:0:"";' ); -$this->scriptURL = unserialize( 's:0:"";' ); -$this->sql = unserialize( 'N;' ); -$this->sqlConnection = unserialize( 'N;' ); -$this->values = unserialize( 'N;' ); -$this->action = unserialize( 's:0:"";' ); -$this->ajaxServer = unserialize( 's:0:"";' ); -$this->enableTemplate = unserialize( 'b:0;' ); -?> \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userNew.xml b/rbac/engine/xmlform/rbac/userNew.xml deleted file mode 100755 index 469780ce2..000000000 --- a/rbac/engine/xmlform/rbac/userNew.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - Crear Nuevo Usuario - Create new User - Inserir Novo user - - - Nombre: - First Name: - Nomes: - - - Segundo Nombre: - Middle Name: - Segundo Nombre: - - - Apellido: - Last Name: - Apellido: - - - Correo Electrónico: - E-Mail: - Correo Electronico: - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userNewPwd.xml b/rbac/engine/xmlform/rbac/userNewPwd.xml deleted file mode 100755 index f3ffac1a8..000000000 --- a/rbac/engine/xmlform/rbac/userNewPwd.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - Crear Usuario y password - Create new Username and Password - Inserir Novo user - - - Identificador de Usuario: - User ID: - Nome do usuario: - - - Password: - Password: - Password: - - - Confirmación: - Confirmation: - Confirmacion: - - - Continuar - Continue - Continuar - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userTestLdap.xml b/rbac/engine/xmlform/rbac/userTestLdap.xml deleted file mode 100755 index b656e822e..000000000 --- a/rbac/engine/xmlform/rbac/userTestLdap.xml +++ /dev/null @@ -1,26 +0,0 @@ - -form - - - Probar conexión con LDAP/AD - Test your LDAP/AD Login - Probar conexión con LDAP/AD - - -< PASS type="password" group ='3' size="20" maxlength="20" > - Contraseña - Password: - Senha: - - - - - Continuar: - Continue: - Continuar: - - - - $lan = SYS_LANG; - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/userView.xml b/rbac/engine/xmlform/rbac/userView.xml deleted file mode 100755 index d921a5389..000000000 --- a/rbac/engine/xmlform/rbac/userView.xml +++ /dev/null @@ -1,73 +0,0 @@ - -form - - [CDATA] -
    Crear Nuevo Usuario
    - [/CDATA]
    - [CDATA] -
    Create new User.
    - [/CDATA]
    - [CDATA] -
    Inserir Novo user
    - [/CDATA]
    -
    - - - - Primer Apellido: - First Name: - Primer Apellido: - - - - Segundo Apellido: - Middle Name: - Segundo Apellido: - - - - Nombres: - Last Name: - Nomes: - - - - Correo Electrónico: - Email: - Correo Electronico: - - - - - Número de Teléfono: - Phone Number: - Telefono: - - - - Número de Celular: - Cellular Number: - Celular: - - - - Fax: - Fax: - Fax: - - - - Casilla: - PO BOX: - Casilla: - - - - Continuar - Continue - Continuar - - - $lan = SYS_LANG; - -
    \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/usersList.xml b/rbac/engine/xmlform/rbac/usersList.xml deleted file mode 100755 index 27f9b45c1..000000000 --- a/rbac/engine/xmlform/rbac/usersList.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - UID - UID - - - Username - Username - - - Full Name - Full Name - - - E-Mail - E-Mail - - - Status - Status - - - LDAP/AD - LDAP/AD - - - Due Date - Due Date - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/usersListFilter.xml b/rbac/engine/xmlform/rbac/usersListFilter.xml deleted file mode 100755 index 030ce0a55..000000000 --- a/rbac/engine/xmlform/rbac/usersListFilter.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - UID - UID - - - - Nombre - Name - - - - eMail - eMail - - - - Estado Actual: - - - - - - - Current Status: - - - - - - - Estado Actual: - - - - - - - - - - Filtrar - Apply Filter - - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/usersListMenu.xml b/rbac/engine/xmlform/rbac/usersListMenu.xml deleted file mode 100755 index 98a5fe48e..000000000 --- a/rbac/engine/xmlform/rbac/usersListMenu.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Buscar - Search - - -function showHideFilterForm() -{ - if (document.getElementById('usersListFilter').style.display==='none') - document.getElementById('usersListFilter').style.display = ''; - else - document.getElementById('usersListFilter').style.display = 'none'; -} - - \ No newline at end of file diff --git a/rbac/engine/xmlform/rbac/usersRolesList.xml b/rbac/engine/xmlform/rbac/usersRolesList.xml deleted file mode 100755 index 463b45094..000000000 --- a/rbac/engine/xmlform/rbac/usersRolesList.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - Application - Application - - - Rol Code - Rol Code - - - Rol Description - Rol Description - - - - Eliminar - Delete - - - \ No newline at end of file