\u7ba1\u7406\u5458<\/b>\u7528\u6237\u5c06\u88ab\u4fdd\u7559\u3002
\u62a5\u544a\u5386\u53f2\u8bb0\u5f55\u5c06\u4fdd\u6301\u5b8c\u6574\u3002","_SERV_HW_DET_DESC_":"\u8fd0\u884c\u786c\u4ef6\u53d1\u73b0\u8fc7\u7a0b\u4ee5\u8bc6\u522b\u6700\u8fd1\u8fde\u63a5\u7684\u8bbe\u5907\uff0c\u4f8b\u5982 USB \u4e32\u884c\u7aef\u53e3\u6216 USB \u89c6\u9891\u3002","_SERV_HW_DET_OP_":"\u68c0\u6d4b\u65b0\u786c\u4ef6","_SERV_HW_DET_QM_":"\u60a8\u786e\u5b9a\u8981\u8fd0\u884c\u786c\u4ef6\u53d1\u73b0\u8fc7\u7a0b\u5417\uff1f
\u8fd9\u5c06\u5728\u51e0\u79d2\u949f\u5185\u963b\u6b62\u68c0\u6d4b\u4e8b\u4ef6\u3002","_SERV_HW_DET_QT_":"\u786c\u4ef6\u68c0\u6d4b","_SERV_LOG_":"\u670d\u52a1\u5668\u65e5\u5fd7","_SERV_OSRESET_DESC_":"\u91cd\u65b0\u542f\u52a8\u4e3b\u673a\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u5e94\u7528\u6700\u8fd1\u7684\u7cfb\u7edf\u914d\u7f6e\u66f4\u6539","_SERV_OSRESET_OP_":"\u91cd\u65b0\u542f\u52a8\u4e3b\u673a","_SERV_RESTART_DESC_":"\u91cd\u65b0\u542f\u52a8\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u4ee5\u521d\u59cb\u5316\u6240\u6709\u7ec4\u4ef6\u5e76\u5e94\u7528\u6240\u6709\u914d\u7f6e\u66f4\u6539\u3002","_SERV_RESTART_OP_":"\u91cd\u65b0\u542f\u52a8\u63a7\u5236\u5e94\u7528\u7a0b\u5e8f","_SERV_RESTART_QM_":"\u60a8\u786e\u5b9a\u8981\u91cd\u65b0\u542f\u52a8\u63a7\u5236\u5e94\u7528\u7a0b\u5e8f\u5417\uff1f","_SERV_RESTART_QT_":"\u91cd\u542f\u540e\u7aef","_SERVER_MODULES_":"\u6a21\u5757","_SET_CHANGED_WOULD_SAVE_":"\u67d0\u4e9b\u8bbe\u7f6e\u5df2\u66f4\u6539
\u8fd9\u5c06\u65e0\u6cd5\u4fdd\u5b58\uff01","_SET_CREDENTIALS_":"\u8bbe\u7f6e\u51ed\u8bc1","_SETTING_SAVE_OK_":"\u6240\u6709\u66f4\u6539\u5df2\u6210\u529f\u4fdd\u5b58","_SETTINGS_":"\u8bbe\u7f6e","_SETTINGS_CHANGED_":"\u8bbe\u7f6e\u5df2\u66f4\u6539","_SITE_DEL_ALL_ABO_":"\u60a8\u786e\u5b9a\u8981\u5220\u9664\u6240\u6709\u8bbe\u5907\u548c\u8bbe\u7f6e\u5417\uff1f","_SITE_PROP_LBL_":"\u7ad9\u70b9\u5c5e\u6027","_SITE_TITLE_":"\u963f\u683c\u65af\u5b89\u5168\u7cfb\u7edf","_SLV_LRF_DET_SET_":"\u4eceLRF\u68c0\u6d4b\u8bbe\u7f6e","_SMM_ADD_ADDIT_":"\u6dfb\u52a0\u9644\u52a0\u8bbe\u5907","_SMM_ADD_LSEN_":"\u6dfb\u52a0\u6fc0\u5149\u4f20\u611f\u5668","_SMS_ONLY_":"\u4ec5\u9650\u77ed\u4fe1","_SND_FILES2_DEV__":"\u53d1\u9001\u6587\u4ef6\u5230\u8bbe\u5907","_SOURCE_":"\u6765\u6e90","_SSDP_DESC_LOO_":"SSDP \u64ad\u97f3\u5458\u5141\u8bb8\u60a8\u5728 LAN \u4e0a\u64ad\u62a5 ARGUS \u670d\u52a1\u5668","_SSDP_DESC_SHO_":"UPnP\/DLNA \u7684 SSDP \u64ad\u97f3\u5458\u5b88\u62a4\u8fdb\u7a0b","_SSL_CERT_INVALID__":"\u63d0\u4f9b\u7684\u8bc1\u4e66\u65e0\u6548","_SSL_CERT_IP_NO_":"\u63d0\u4f9b\u7684\u8bc1\u4e66\u5bf9\u5176\u4ed6 IP \u5730\u5740\u6709\u6548","_SSL_CERT_VALID_INSTA":"\u8bc1\u4e66\u6709\u6548\u5e76\u5c06\u5b8c\u6574\u5e94\u7528\uff08\u9700\u8981\u51e0\u5206\u949f\uff09\u3002\u7cfb\u7edf\u5c06\u91cd\u65b0\u542f\u52a8\u3002","_SSL_NO_EXT_CERT_":"\u8bc1\u4e66\u4e2d\u672a\u5b9a\u4e49 x509 \u6269\u5c55","_SSL_NO_IP_CERT_":"\u8bc1\u4e66\u4e2d\u6ca1\u6709 IP \u5730\u5740","_SSL_PROVIDE_CERT_":"\u8bf7\u63d0\u4f9b\u7531 Dr.Frucht Systems \u7b7e\u7f72\u7684 %IP% \u7684\u6709\u6548\u8bc1\u4e66\u3002<\/br>\u60a8\u53ef\u4ee5\u5728 www.smartsecsystems \u7d22\u53d6\u4e00\u4efd.com<\/a>","_SSL_VALID_BUT_":"\u8bc1\u4e66\u6709\u6548\u3002\u7136\u800c\uff1a","_STATIC_CONNECTION_":"\u9759\u6001\u8fde\u63a5","_STATUS_":"\u5730\u4f4d","_STREAMS_":"\u6d41","_STUDY_BACKGROUND_":"\u5b66\u4e60\u80cc\u666f","_SWU_DASHBOARD_":"\u8f6f\u4ef6\u66f4\u65b0\u7ba1\u7406","_SYS_ANCHORT_LBL_":"\u7cfb\u7edf\u951a\u70b9","_SYS_DASHBOARD_":"\u7cfb\u7edf\u603b\u89c8","_SYS_GENERAL_":"\u4e00\u822c\u7684","_SYS_MAP_":"\u7cfb\u7edf\u56fe","_SYS_SETTINGS_":"\u7cfb\u7edf\u8bbe\u7f6e","_TARGET_FILTERS_":"\u8fc7\u6ee4\u5668","_TARGETING_TAB_":"\u62a5\u8b66\u8bbe\u7f6e","_TCP_CLIENT_":"TCP\u5ba2\u6237\u7aef","_TCP_SERVER_":"TCP\u670d\u52a1\u5668","_TILE_URL_MAP_":"\u78c1\u8d34 URL \u6a21\u5f0f","_TIME_":"\u65f6\u95f4","_TOOLBOX_":"\u5de5\u5177\u7bb1","_TOP_PIC_BOUND_":"\u9876\u90e8\u56fe\u7247\u8fb9\u754c\uff08\u50cf\u7d20\uff09","_TYPE_":"\u7c7b\u578b","_UART_PORT_":"\u4e32\u53e3\u7aef\u53e3","_UDP_CLIENT_":"UDP\u5ba2\u6237\u7aef","_UDP_SERVER_":"UDP\u670d\u52a1\u5668","_UNLOCK_USER_":"\u89e3\u9501\u7528\u6237","_UPDATE_LBL_":"\u66f4\u65b0","_UPGRADE_MNGMNT_":"\u5347\u7ea7\/\u5907\u4efd","_UPLO_DONE_":"\u5df2\u7ecf\u4e0a\u4f20","_UPLO_IN_PROGRESS_":"\u4e0a\u4f20\u4e2d","_UPLOA2MODULE_":"\u4e0a\u4f20\u81f3\u6a21\u5757","_UPLOAD_PACKAGE_":"\u4e0a\u4f20\u5305","_UPPER_SENSOR_":"\u4e0a\u90e8\u4f20\u611f\u5668","_USER_":"\u7528\u6237","_USER_LOGIN_":"\u7528\u6237\u767b\u5f55","_USERS_MNGMT_":"\u7528\u6237\u7ba1\u7406","_VERSION_":"\u7248\u672c","_VIDEO_ENCODER_":"\u89c6\u9891","_WDEV_DET_WIZ0_":"\u8bbe\u5907\u7c7b\u578b","_WDEV_DET_WIZ1_":"\u5b89\u88c5\u7c7b\u578b","_WDEV_DET_WIZ2_":"\u73af\u5883","_WDEV_DET_WIZ3_":"\u5176\u4ed6\u7684\u4e1c\u897f","_WDEV_DET_WIZT_":"\u4f20\u611f\u5668\u8bbe\u7f6e\u68c0\u6d4b\u5411\u5bfc","_WDEV_MISTMATCH_":"\u8bbe\u5907\u4e0d\u540c","_WIDTH_":"\u5bbd\u5ea6","_WIDTH_CORRECT_":"\u5bbd\u5ea6\u6821\u6b63","_WORKING_MODE_":"\u5de5\u4f5c\u6a21\u5f0f","_WRO_VAL_MSG_":"\u60a8\u8f93\u5165\u4e86\u9519\u8bef\u7684\u503c
\u8bf7\u66f4\u6b63\u5e76\u7ee7\u7eed\u3002","_WRO_VALUES_":"\u9519\u8bef\u7684\u4ef7\u503c\u89c2","_ZL_MEDIA_DESC_LOO_":"\u652f\u6301\u591a\u79cd\u534f\u8bae\uff08RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC\uff09\uff0c\u652f\u6301\u534f\u8bae\u4e92\u8f6c\u6362\u3002","_ZL_MEDIA_DESC_SHO_":"ZLMediaKit \u670d\u52a1\u5668 - \u6d41\u7f16\u7801\u5668","05b048d7242cb7b8b57cfa3b1d65ecea":"\u4f3d\u739b","0737d367234baa9eb0d7d93044d4cdcb":"\u81ea\u52a8\u589e\u76ca\u63a7\u5236","0e6ebfbce4a1d380a356f7d0ca501db2":"\u53d8\u7126\u6846","1f9d92d5edaba165f934540a3525112a":"\u503e\u659c\u6846\u67b6","20e57f32ba12b9cd13ebe9ef5e32d949":"\u5012\u7f6e","210ab9e731c9c36c2c38db15c28a8d1c":"\u4f53\u79ef","3a5769e56038d8308b08f8741077d943":"\u5947\u573a\u504f\u79fb","3b2d7435a9d67b3630988c398af85da5":"\u6e05\u6670\u5ea6","442348a3a2d4dc460bf2e86b1e97bd71":"\u7535\u6e90\u7ebf","4cf296191801ec357d2aa0ad3a484cba":"\u624b\u52a8\u767d\u5e73\u8861","5f458c0f2db08c33596b0e7a8dbc0e5b":"\u624b\u52a8Exp\u3002","71a6b6f094346a8832df801c8428ea06":"\u8272\u8c03","885cd2552e1136cfd94ae863668e8942":"\u5747\u5300\u573a\u504f\u79fb","aa71a2ef3fb13c2642ea72645a698cb8":"\u4eae\u5ea6","AUTO_DRAW":"\u81ea\u52a8\u62bd\u5956","b4e67baf7b29f6474d4ac44008dafed4":"BL\u8865\u507f","b914f4cdf61e27d144e5ceef61eec7a2":"\u81ea\u52a8\u9759\u97f3","bba4e31fa5d5b2fee356b87111a52aa3":"\u6c34\u5e73\u7ffb\u8f6c","c8fd07f040a8f2dc85f5b2d3804ea3db":"\u5bf9\u6bd4","cc0d5ee2cdb80bf82426e9def9f9bf7c":"\u6cdb\u6846\u67b6","def9cbe59ce34853e7081f62b095e348":"\u6c89\u9ed8\u7684","ed063c64d46ede5916894e6ac2ab9ce1":"\u81ea\u52a8\u767d\u5e73\u8861","Error_Message":"\u9519\u8bef\u4fe1\u606f","ETHERNET_PROP":"\u4ee5\u592a\u7f51","facdbb51cba54d1eccbdd8bd670e7b33":"\u6c7d\u8f66\u51fa\u53e3\u3002","fb520ff39848b91b70496ecf6c67f68e":"\u538b\u7f29\u8d28\u91cf","fd71ed58ae07cc75900a5169e6f9c287":"\u9971\u548c","FILTER_AFP":"\u6388\u6743\u4eba\u8fc7\u6ee4\u5668","FILTER_TRAIN":"\u8bad\u7ec3\u76ee\u6807\u8fc7\u6ee4\u5668","FRAMEGRAB_PROP":"\u6a21\u62df\u89c6\u9891","MOD_TYPE":"\u6a21\u5757\u7c7b\u578b","MODE_ACCESS_POINT":"\u5207\u5165\u70b9","MODE_DISABLED":"\u6b8b\u75be\u4eba","MODE_ETHDYNAMIC":"\u52a8\u6001\u5730\u5740 (DHCP)","MODE_ETHROUTER":"\u9759\u6001\u5730\u5740\u8def\u7531\u5668","MODE_ETHSTATIC":"\u9759\u6001\u5730\u5740","MODULE_DCBUSB":"USB\u5e72\u63a5\u70b9\u63a7\u5236\u6a21\u5757","MODULE_EMB_VIDO":"\u5185\u90e8\u89c6\u9891\u7f16\u7801\u5668","MODULE_FLYHUNT":"FlyHunter \u65e0\u4eba\u673a\u63a7\u5236","MODULE_GPS":"GPS\u65f6\u95f4\u540c\u6b65\u6a21\u5757","MODULE_KAFKA":"\u5361\u592b\u5361\u6570\u636e\u4ee3\u7406","MODULE_MODEM_MAN":"\u8c03\u5236\u89e3\u8c03\u5668\u7ba1\u7406\u5668","MODULE_NETWORK":"\u7f51\u7edc\u6a21\u5757 [\u5f85\u5b9a]","MODULE_ONVIF_DIS":"OnVif \u53d1\u73b0","MODULE_SSDP":"\u7f51\u7edc\u64ad\u97f3\u5458","MODULE_ZLMEDIA":"ZL\u5a92\u4f53\u670d\u52a1\u5668","SENS_NAME":"\u4f20\u611f\u5668\u540d\u79f0","SENS_RANGE":"\u4f20\u611f\u5668\u8303\u56f4","SENS_TYPE":"\u4f20\u611f\u5668\u7c7b\u578b","SERV_BLD_TAG":"\u6784\u5efa\u6807\u7b7e","SERV_NAME":"\u670d\u52a1\u5668\u540d\u79f0","SETIAL_TAG":"\u5e8f\u5217\u53f7\u6807\u7b7e","SRV_STATUS_OFF":"\u670d\u52a1\u5668\u79bb\u7ebf","SRV_STATUS_ON":"\u670d\u52a1\u5668\u5728\u7ebf","SYS_MSG_DEVINV":"\u8fde\u63a5\u7684\u8bbe\u5907\u4e0d\u540c\u4e8e","SYS_SERVNAME":"\u963f\u683c\u65af\u670d\u52a1\u5668","UART_COM_BITS":"\u4f4d","UART_COM_PARITY":"\u5e73\u4ef7","UART_COM_SBITS":"\u505c\u6b62\u4f4d","UART_COM_SPEED":"\u901a\u4fe1\u901f\u5ea6","UART_LINE_PROP":"\u4e32\u53e3","VIRTUALIP_PROP":"\u865a\u62dfIP","VPN_TUN_PROP":"VPN\u96a7\u9053","WAN_LINE_PROP":"\u5e7f\u57df\u7f51\u8fde\u63a5","WIFI_PROP":"\u65e0\u7ebf\u4e0a\u7f51"}
\ No newline at end of file
diff --git a/lib/7.json b/lib/7.json
new file mode 100644
index 0000000..e8ac4d4
--- /dev/null
+++ b/lib/7.json
@@ -0,0 +1 @@
+{"___ENABLED__":"Activat","__ADD__":"Ad\u0103uga","__DISABLED__":"Dezactivat","__LOGIN__":"Log in","__LOGIN_ID__":"ID autentificare","__LOGOUT__":"Deconectare","__OFFLINE__":"Deconectat","__ONLINE__":"Pe net","__PAGEWASGENIN__":"Pagina a fost generat\u0103 \u00een","__PASSWORD__":"Parola","__PTZ_CONTROL__":"Control PTZ","__SECOND__":"al doilea","__SECONDS__":"secunde","__SSl_DOWNLOAD__":"V\u0103 rug\u0103m s\u0103 desc\u0103rca\u021bi certificatul nostru Root CA \u0219i s\u0103-l instala\u021bi \u00een sistemul dvs.
(consulta\u021bi instruc\u021biunile de mai jos)","__SSl_NO_CERT__":"Certificatul de func\u021bionare pentru %IP% nu este instalat.","__SSl_WELCOME__":"Din motive de securitate \u0219i func\u021bionare f\u0103r\u0103 probleme prin criptare SSL, oferim certificat SSL pentru a fi instalat \u00een computerul client","__UPLOAD__":"\u00cenc\u0103rca\u021bi","__ZERO_SHIFT__":"Schimbare zero","_ACC_LOG_":"Jurnal de securitate","_ACCESS_ADMIN_":"Admin","_ACCESS_DENIED_":"Acces interzis","_ACCESS_FACTORY_":"Definit din fabric\u0103","_ACCESS_LEVEL_":"Nivel de acces","_ACCESS_LOGIN_":"Accesa\u021bi Login","_ACCESS_MINIMAL_":"Acces minim","_ACCESS_OPERATOR_":"Operator","_ACCESS_PASSWORD_":"Parola de acces","_ACTION_":"Ac\u021biune","_ADD_":"Ad\u0103uga","_ADD_CAM_DIAL_TTL_":"Ad\u0103uga\u021bi o camer\u0103 IP","_ADD_CAMERA2SITE_":"Ad\u0103uga\u021bi o camer\u0103 pe site","_ADD_CONNECTION_":"Ad\u0103uga\u021bi o conexiune","_ADD_E2U_DIAL_TTL_":"Ad\u0103uga\u021bi Ethernet la adaptorul serial","_ADD_EVT_FILTER_":"Ad\u0103uga\u021bi filtru de evenimente","_ADD_FILTER_":"Ad\u0103uga\u021bi filtru","_ADD_IP_CAMERA_":"Ad\u0103uga\u021bi o camer\u0103 IP","_ADD_MEDIA_SERVER_":"Ad\u0103uga\u021bi server media","_ADD_MODULE_":"Ad\u0103uga\u021bi modul","_ADD_NEW_PHN_":"Ad\u0103uga\u021bi un num\u0103r de telefon nou","_ADD_NEW_WTR_":"Ad\u0103uga\u021bi o \u00eenregistrare nou\u0103","_ADD_REMOTE_UART_":"Ad\u0103uga\u021bi UART la distan\u021b\u0103","_ADD_USER_":"Ad\u0103uga\u021bi utilizator","_ADM_SETTINGS_":"Set\u0103ri admin","_ADMIN_":"Admin","_ADV_TAB_":"Setari avansate","_AJX_REQFAILURE_":"Solicitarea Ajax a e\u0219uat!","_ALARMED_":"Alarmat","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Surse video analogice","_APP_TITLE_":"Sistemul de securitate Argus","_APPLICA_MNGMNT_":"Set\u0103rile aplica\u021biei","_APPLY_CHANGES_":"Aplica schimbarile","_APPLY_SETTINGS_":"Aplica\u021bi Set\u0103ri","_AS_MODULE_":"Ad\u0103uga\u021bi modul server","_ASSIGN_CAMERA_":"Atribui\u021bi camera","_AUTH_MODE_0_":"Mod de autorizare","_AXIS_ROT_":"Rota\u021bia axei","_AZIMUTH_":"Azimut","_BOT_PIC_BOUND_":"Limita de jos a imaginii (pixeli)","_BOTTOM_SENSOR_":"Senzor de jos","_BROWSE_":"Naviga","_BUSY_":"Ocupat","_CAC_TAB_":"Acredit\u0103ri","_CALL_ONLY_":"Numai suna","_CAM_AH_TIME_":"Timp dup\u0103 alarm\u0103","_CAM_AH_TOKEN_":"Token presetat de acas\u0103","_CAM_ASS_LIST_":"Camerele Alocate","_CAM_AUTO_HOMING_":"Activa\u021bi \u00eentoarcerea automat\u0103 la domiciliu","_CAM_DET_LIST_":"Camerele detectate","_CAM_FIXEDZ_":"Zoom fix","_CAM_FOCALL_":"Distanta focala","_CAM_IP_ADDRESS_":"Adresa IP a camerei","_CAM_LABEL_":"Eticheta camerei","_CAM_LENS_SETTINGS_":"Set\u0103ri lentile","_CAM_MAP_NAME_":"Numele camerei","_CAM_PANANGS_":"Total Pan Angles","_CAM_PANMOD_":"Model Pan","_CAM_PROTO_ID_":"ID-ul camerei","_CAM_PTZ_AAC_":"Axelera\u021bie automat\u0103 PTZ","_CAM_PTZ_MAC_":"Axelera\u021bie manual\u0103 PTZ","_CAM_SENS_SIZE_":"Dimensiunea senzorului","_CAM_TILTANGS_":"Unghiuri de \u00eenclinare totale","_CAM_TILTMOD_":"Model \u00eenclinat","_CAM_TM_ALL_":"Toate \u021aintele","_CAM_TM_ALL_FAR_":"TOATE Departe","_CAM_TM_ALL_NEAR_":"Toate Aproape","_CAM_TM_REGULAR_":"Regulat","_CAM_TM_REVERSED_":"Inversat","_CAM_TM_RSHIFTED_":"Deplasat \u00een tura\u021bie","_CAM_TM_SHIFTED_":"Schimbat","_CAM_TM_STRICT_VISIBLE_":"\u021ainte vizibile stricte","_CAM_TRIGGERING_MODE_":"Modul de declan\u0219are a alarmei","_CAM_VARIOZ_":"Zoom variabil","_CAM_ZOOMR_":"Raport de zoom","_CAMERA_MNGMNT_":"Camere de luat vederi","_CANCEL_":"Anulare","_CHOOSEF_":"Alege fi\u0219ierul","_CLEAR_":"clar","_CLEAR_ALARM_":"\u0218terge\u021bi alarma","_CLEAR_SITE_":"Sterge tot","_CLOSE_":"\u00cenchide","_CON_2_IP_CAM_":"Conecta\u021bi-v\u0103 la Camera IP","_CONNECT_2_":"Conecteaz\u0103 la","_CONNECT_2_SEL_":"Conecta\u021bi-v\u0103 la selectat","_CREA_ANAL_CAM_":"Crea\u021bi o camer\u0103 analogic\u0103","_CREATE_NEW_LBL_":"Creaza nou","_CREATED_":"Creat\u0103","_CTL_SERVER_NODE_":"Control Server Node","_CUSTOM_MSG_":"Mesaj personalizat","_DASHBOARD_":"Bord","_DATETIME_":"Timp","_DB_STAT_CON_0_":"Conectat... Ob\u021binerea informa\u021biilor","_DB_STAT_CON_UNA_":"Conexiunea este indisponibil\u0103","_DB_STAT_STUDY_":"Studiind","_DC_AUTO_ENA_":"Activa\u021bi controlul contactului uscat","_DC_CONTROL_SET_":"Controlul contactului uscat","_DC_TIME_WINDOW_":"Fereastra de timp de contact uscat","_DC_WM_NC_":"\u00cen mod normal, aproape","_DC_WM_NO_":"Deschis normal","_DC_WORK_MODE_":"Modul de lucru cu contact uscat","_DEBUGGING_MODE_":"Mod de depanare","_DEL_SELECTED_":"Sterge selectia","_DEL_USER_":"Elimina\u021bi utilizator","_DELETE_":"\u0218terge","_DESCRIPTION_":"Descriere","_DET_GENWORKS_":"Sarcini generale","_DET_IP_CAMERA_LST_":"Lista camerelor IP detectate","_DET_SENSITIVITY_":"Profil de sensibilitate de detectare","_DET_SET_WIDTH_T_":"Tabel de l\u0103\u021bime","_DET_SETTINGS_":"Set\u0103ri de detectare","_DEV_CTLPANEL_SHRT_":"Controlul dispozitivului","_DEV_ITYPE_FLD_":"Senzor instalat","_DEV_MISTMATT1_":"V\u0103 rug\u0103m s\u0103 decide\u021bi ce s\u0103 face\u021bi","_DEV_PL_ANG_":"La un unghi","_DEV_PL_HORI_":"Orizontal","_DEV_PL_VERT_":"Vertical","_DEV_RANGE_FLD_":"Raza maxim\u0103","_DEV_TYPE_3D_":"Senzor 3DLRF","_DEV_TYPE_ALS_":"Senzor ALS","_DEV_TYPE_FLD_":"Tip senzor","_DEV_TYPE_LFS_":"Senzor LFS","_DEV_TYPE_NPLS200_":"Noul senzor PLS200 (re\u021bea)","_DEV_TYPE_PLS200_":"Senzor PLS200","_DEV_TYPE_PLS360_":"Senzor PLS360","_DEVICE_IP_":"Adresa IP","_DEVICE_NAME_":"Nume dispozitiv","_DEVICE_PORT_":"Port","_DLG_ADD_3DSENS_":"Ad\u0103uga\u021bi senzor 3DLRF","_DLG_ADD_ALS_":"Ad\u0103uga\u021bi senzor ALS","_DLG_ADD_LFS_":"Ad\u0103uga\u021bi senzor LFS","_DLG_ADD_PLS200_":"Ad\u0103uga\u021bi senzorul PLS200","_DLG_ADD_PLS360_":"Ad\u0103uga\u021bi senzor PLS360","_DLG_CON_SEVER_NODE_":"Va fi conectat la","_DRAW_BACKGROUND_":"Desena\u021bi fundalul","_EDIT_":"Edita\u021bi | \u00d7","_EDIT_LRF3D_SETTINGS_":"Edita\u021bi set\u0103rile Lidar 3D","_EDIT_USER_":"Edita\u021bi utilizatorul","_EDIT_USER_CRACCES_":"Edita\u021bi acredit\u0103rile \u0219i accesul utilizatorului","_EDT_CONNECTIONS_":"Edita\u021bi conexiunile","_EDT_LOCATIONS_":"Edita\u021bi loca\u021bii","_EMBED_VIDEO_ENCODER_":"\u00cencorpora\u021bi modul de codificare video","_ERROR_MSG_":"Mesaj de eroare","_EVE_COMPRESS_QUA_":"Calitatea compresiei","_EVE_DESC_LOO_":"Modulul Video Encoder ofer\u0103 func\u021bionalitate de captare a imaginilor serverului ARGUS. Poate captura video analogic de pe dispozitivul de captare USB\/USB WebCam sau Stream digital de la camera IP","_EVE_DESC_SHO_":"LibAV(ffmpeg) Codificator video intern","_EVE_FONT_LBL_":"Tipul fontului","_EVE_FONT_TS_":"Tipul fontului","_EVE_LBL_FSCALE_":"Scala fontului etichetei","_EVE_LBL_FTHICK_":"Grosimea fontului etichetei","_EVE_LBL_LINE_T_":"Tip de linie de etichet\u0103","_EVE_LBL_POSX_":"Eticheta X","_EVE_LBL_POSY_":"Eticheta Y","_EVE_LOGO_HEIGHT_":"\u00cen\u0103l\u021bimea logoului","_EVE_LOGO_POSX_":"Logo X","_EVE_LOGO_POSY_":"Logo Y","_EVE_LOGO_WIDTH_":"L\u0103\u021bimea logoului","_EVE_PORT_":"Port de acces web","_EVE_SHOW_LBL_":"Afi\u0219a\u021bi eticheta","_EVE_SHOW_LOGO_":"Afi\u0219a\u021bi sigla personalizat\u0103","_EVE_SHOW_TS_":"Afi\u0219a\u021bi marcaj de timp","_EVE_TRANSO_LBL_":"BG transparent","_EVE_TRANSO_TS_":"BG transparent","_EVE_TS_FSCALE_":"Scara fontului","_EVE_TS_FTHICK_":"Grosimea fontului","_EVE_TS_LINE_T_":"Tip de linie de font","_EVE_TS_POSX_":"Marca temporal\u0103 X","_EVE_TS_POSY_":"Marca temporal\u0103 Y","_EVENT_":"Eveniment","_EVENT_LOG_":"Jurnalul evenimentelor","_EVT_ARCHIVE_":"Arhiva de evenimente","_EVT_MONITOR_":"Monitor live","_EVT_MONITOR_IPI_":"Modul SingleIPI","_EVT_MSG_B2DTRG_":"\u021aint\u0103 2D neagr\u0103","_EVT_MSG_BUMO_":"Dispozitivul este OCUPAT","_EVT_MSG_COM_JAMED_":"Comunicarea Jamed","_EVT_MSG_CONNECTED_":"Conectat","_EVT_MSG_DISCONNECTED_":"Deconectare","_EVT_MSG_EVT_CLOMA_":"Manual de eveniment \u00eenchis","_EVT_MSG_EVT_END_":"Evenimentul s-a \u00eencheiat","_EVT_MSG_EVT_START_":"Evenimentul a \u00eenceput","_EVT_MSG_FLIPO_":"Flip Complete","_EVT_MSG_ROI_":"Regiune de interes","_EVT_MSG_SCANC_":"Scanare finalizat\u0103","_EVT_MSG_STUMO_":"Dispozitivul intr\u0103 \u00een modul de studiu","_EVT_MSG_TF_BSD_":"[Filtru tren] Detectare senzor de jos","_EVT_MSG_TF_CT_":"[Train Filter] Verifica\u021bi \u021binta","_EVT_MSG_TF_DD_":"[Filtru tren] Detectare dezactivat\u0103","_EVT_MSG_TF_DIFD_":"[Train Filter] Detectare diferen\u021bial\u0103","_EVT_MSG_TF_RD_":"[Train Filter] Detectare regulat\u0103","_EVT_MSG_TF_SUSPA_":"[Train Filter] Activitate suspect\u0103","_EVT_MSG_TF_SUSPD_":"[Filtru tren] Detectare suspect\u0103","_EVT_MSG_TF_SUSPN_":"[Filtru tren] NACK suspect","_EVT_MSG_TF_TD_":"[Train Filter] Tren detectat","_EVT_MSG_TF_TUPD_":"[Train Filter] Tren actualizat","_EVT_MSG_TF_USD_":"[Train Filter] Detectare senzor superior","_EVT_MSG_VIFDEC_":"Rata cadrelor video a sc\u0103zut","_EVT_MSG_VIFINC_":"Rata de cadre video a crescut","_EVT_MSG_W2DTRG_":"\u021aint\u0103 2D alb\u0103","_FACT_DEFAULT_":"Setat de fabric\u0103","_FHM_PROPS_":"Propriet\u0103\u021bile modulului FlyHunter","_FILE_NAME_":"Nume de fi\u0219ier","_FISONMODULE_":"Fi\u0219iere salvate pe modul","_FOUNDER_":"Fondator","_FRAME_FORMAT_":"Format cadru","_FRAME_SIZE_":"Marimea ramei","_FROM_ANCH_":"de la Anchor","_FUSION_ENGINE_":"Motor de fuziune","_GEN_INSTANCE_ID_":"Genera\u021bi o nou\u0103 identitate","_GENERAL_":"General","_GENERAL_NFO_":"Informatii generale","_GEO_LOCATION_":"Loca\u021bii geografice","_GO_HOME_":"Du-te acas\u0103","_GUEST_":"Oaspete","_HARDWARE_":"Hardware","_ID_":"id","_INFO_":"informa\u021bie","_INFO_MSG_":"Mesaj de informare","_INSTANCE_ID_":"Identitatea instan\u021bei","_INTER_MAP_":"Harta Internetului","_ISSURES_":"Problem\u0103 Resetare","_KAFKA_BROKER_":"Broker Kafka","_KAFKA_DESC_LOO_":"Trimite evenimente de pe serverul ARGUS la un nod de broker KAFKA","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Subiecte \u0219i evenimente Kafka","_LAST_ACCESS_":"Ultimul acces","_LAT_SHORT_LBL_":"Lat","_LAYER_ATTRIB_":"Atribuire strat","_LEFT_PIC_BOUND_":"Limita din st\u00e2nga a imaginii (pixeli)","_Loading_Calo_":"Date de \u00eenc\u0103rcare","_LOC_MAP_LBL_":"Hart\u0103 de localizare","_LOC_TAB_":"Loca\u021bie\/Orientare","_LOCAL_PIC_MAP_":"Hart\u0103 cu imagini locale","_LOCK_USER_":"Blocarea utilizatorului","_LOGIN_":"Log in","_LOGIN_0_":"Log in:","_LOGOUT_":"Deconectare","_LON_SHORT_LBL_":"Lon","_MAINTENENCE_":"\u00centre\u021binere","_MANUADD_CAMERA_":"Ad\u0103uga\u021bi manual o camer\u0103 IP","_MAP_CENTER_MODE_":"Modul Centru h\u0103r\u021bi","_MAP_CUST_LBL_":"Hart\u0103 personalizat\u0103","_MAP_HEIGHT_":"\u00cen\u0103l\u021bimea h\u0103r\u021bii (metri)","_MAP_MONITORING_":"Monitorizare hart\u0103","_MAP_NAME_":"Numele h\u0103r\u021bii","_MAP_PICTURE_":"Imagine de hart\u0103","_MAP_REG_LBL_":"Hart\u0103 WGS84 obi\u0219nuit\u0103 (necesit\u0103 internet)","_MAP_TYP_LBL_":"Tip hart\u0103","_MAP_WIDTH_":"L\u0103\u021bimea h\u0103r\u021bii (metri)","_MAS_LRF_DET_SET_":"Set\u0103ri principale de detectare a LRF","_MASK_EDITOR_":"Editor de m\u0103\u0219ti","_MASK_MANAGER_":"Managementul masc\u0103rii","_MAX_NATURAL_ZOOM_":"Zoom natural maxim","_MAX_ZOOM_":"Zoom maxim","_MEMO_":"Notificare","_METERS_":"Contoare","_METERS_RANGE_":"Contoare","_MOD_NO_NEDCONF_":"Modulul nu trebuie configurat.","_MODEM_DESC_LOO_":"Ofer\u0103 conectivitate WAN prin re\u021belele celulare (UMTS, 4G, LTE). De asemenea, trimite evenimente prin SMS","_MODEM_DESC_SHO_":"Manager modem celular","_MODULE_":"Modul","_MONIT_LAYOUT_":"Aspect de monitorizare","_MONITORING_":"Monitorizarea","_MSG_CAM_NOT_ASS_":"Camera nu este atribuit\u0103 sistemului","_MSG_CAM_PROC_2_SET_":"Trece\u021bi la Set\u0103ri camere pentru a atribui unul","_MSG_SELITEMFROMMAP_":"Selecta\u021bi element de pe hart\u0103","_NAME_LABEL_":"Nume\/Etichet\u0103","_NAME_MAP_":"Numele h\u0103r\u021bii","_NET_SETTINGS_":"Conexiuni","_NEW_PASSWORD_":"Parol\u0103 Nou\u0103","_NO_PTZ_":"F\u0103r\u0103 control PTZ","_NO_UARTS_DEF_":"Nu s-a definit UART","_OK_":"Bine","_ONVIF_DESC_LOO_":"Modulul OnVif v\u0103 permite s\u0103 descoperi\u021bi \u0219i s\u0103 comunica\u021bi cu camerele de re\u021bea care accept\u0103 specifica\u021biile ONVIF pe aceea\u0219i subre\u021bea.","_ONVIF_DESC_SHO_":"Modulul de descoperire LAN OnVif","_ORIENTATION_":"Orientare","_OUTPUT_FRAME_SIZE_":"Dimensiunea cadrului de ie\u0219ire","_PASSWORD_0_":"Parola:","_PHONE_NUMBER_":"Num\u0103r de telefon","_Please_Wait_":"Va rugam asteptati","_PLS_CONFIRM_":"V\u0103 rug\u0103m s\u0103 confirma\u021bi","_PLS_SEL_CAL_DATE_":"V\u0103 rug\u0103m s\u0103 selecta\u021bi o dat\u0103 din calendar din dreapta","_PLS_SEL_LEFT_ITEM_":"V\u0103 rug\u0103m s\u0103 selecta\u021bi elementul din st\u00e2nga pentru a vedea mai multe informa\u021bii.","_POINTER_":"[ptr]","_POSITION_":"Pozi\u0163ie","_PROF_SETTINGS_":"Setarile profilului","_PROGRESS_":"Progres","_PROPERTIES_":"Propriet\u0103\u021bi","_PROTO_DEVICE_ID_":"ID protocol","_PROV_CAC_":"V\u0103 rug\u0103m s\u0103 furniza\u021bi acredit\u0103rile de acces la camer\u0103.","_PTZ_TAB_":"Set\u0103ri PTZ","_QERY_MSG_":"Mesaj de \u00eentrebare","_RANGE_":"Gam\u0103","_READY_":"Gata","_READY_TO_UPLO_":"Gata de \u00eenc\u0103rcare","_REGULAR_":"Regulat","_RELOAD_":"Re\u00eenc\u0103rca\u021bi","_REMOVE_CAMERA_":"Scoate\u021bi camera","_REMOVE_SENSOR_":"Scoate\u021bi senzorul","_REP_PASSWORD_":"Repeta\u021bi parola","_REPO_HISTORY_":"Rapoarte\/Istoric","_REQ_FAILURE_":"E\u0219ec","_RES_ETHERNET_DESC_":"Adaptor de re\u021bea Ethernet","_RES_EZ_UART_DESC_":"UART conectat prin Ethernet","_RES_HW_UART_DESC_":"UART conectat la un dispozitiv server","_RES_INFO_":"Informa\u021bii despre resurse","_RES_WAN_DESC_":"Adaptor WAN (Internet \u00een band\u0103 larg\u0103)","_RES_WIFI_DESC_":"Adaptor de re\u021bea WiFi","_RESETSTATUS_":"Reseteaz\u0103 starea","_RESOURCES_":"Resurse","_RIGHT_PIC_BOUND_":"Limita imaginii din dreapta (pixeli)","_RSET_CREDENTIALS_":"Reseta\u021bi acredit\u0103rile","_RUS_DELETE_MODULE_":"Sunte\u021bi sigur c\u0103 \u0219terge\u021bi modulul?","_SAVE_":"Salva\u021bi","_SCREEN_RESIZE_":"Redimensiona\u021bi ecranul","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Selecta\u021bi o imagine","_SENDTOSENS_":"Trimite la senzor","_SENS_APPLY_RES_":"Aplica\u021bi pe dispozitiv \u0219i reseta\u021bi","_SENS_AUTOR_ENA_":"Resetare automat\u0103 activat\u0103","_SENS_AUTOR_INTER_":"Auto Reset Interleave","_SENS_AUTOR_TO_":"Auto Timeout","_SENS_BZSHIFT_":"Schimbare zero la bord","_SENS_DEL_FROTH_":"\u0218terge\u021bi pragul \u00eenghe\u021bat","_SENS_DIS_FROTH_":"Dezactiva\u021bi pragul \u00eenghe\u021bat","_SENS_DO_FULLR_":"Problem\u0103 resetarea complet\u0103 a senzorului","_SENS_DO_READALL_":"Citi\u021bi toate set\u0103rile de la senzor","_SENS_DO_SAVEALL_":"Salva\u021bi toate set\u0103rile \u00een senzor","_SENS_ENA_FROTH_":"Activa\u021bi pragul \u00eenghe\u021bat","_SENS_FFTH_":"\u00cenghe\u021ba\u021bi primul prag","_SENS_FIN_FROTH_":"Finaliza\u021bi studiul pragului \u00eenghe\u021bat","_SENS_HTEMP_":"Temperatura \u00eenc\u0103lzitorului","_SENS_JUMODI_":"Doar Mi\u0219carea Distan\u021b\u0103","_SENS_JUMORA_":"Doar \u00een mi\u0219care radial\u0103","_SENS_JUMOTA_":"Doar \u021binte \u00een mi\u0219care","_SENS_NOBLA_":"F\u0103r\u0103 \u021binte negre","_SENS_SCANSPEED_":"Viteza de scanare","_SENS_SFTH_":"Salva\u021bi primul prag","_SENS_STATUS_":"Starea senzorului","_SENSOR_CONNECTION_":"Senzori","_SENSOR_MAX_RANGE_":"Raza maxim\u0103","_SENSOR_PLACE_":"Substituent senzor","_SERIAL_":"Serial","_SERV_CTLPANEL_SHRT_":"Controlul serverului","_SERV_FACTORY_DESC_":"Restabili\u021bi set\u0103rile din fabric\u0103, \u0219terge\u021bi baza de date \u0219i set\u0103rile de detectare","_SERV_FACTORY_OP_":"Restabili\u021bi set\u0103rile din fabric\u0103","_SERV_FACTORY_QM_":"Toate set\u0103rile vor fi \u0219terse
Singurul utilizator administrator<\/b> va fi p\u0103strat.
Istoricul rapoartelor va fi p\u0103strat intact.","_SERV_HW_DET_DESC_":"Rula\u021bi un proces de descoperire a hardware-ului pentru a recunoa\u0219te dispozitivele conectate recent, cum ar fi un port serial USB sau video USB.","_SERV_HW_DET_OP_":"Detecta\u021bi noul hardware","_SERV_HW_DET_QM_":"Sigur ve\u021bi rula un proces de descoperire a hardware-ului.
Aceasta va preveni evenimentele de detectare pentru c\u00e2teva secunde.","_SERV_HW_DET_QT_":"Detectare hardware","_SERV_LOG_":"Jurnalul serverului","_SERV_OSRESET_DESC_":"Reporni\u021bi sistemul de operare gazd\u0103 pentru a aplica orice modific\u0103ri recente ale configura\u021biei sistemului","_SERV_OSRESET_OP_":"Reporni\u021bi computerul gazd\u0103","_SERV_RESTART_DESC_":"Reporni\u021bi aplica\u021bia de management pentru a ini\u021bializa toate componentele \u0219i pentru a aplica orice modific\u0103ri de configurare.","_SERV_RESTART_OP_":"Reporni\u021bi aplica\u021bia de control","_SERV_RESTART_QM_":"Sunte\u021bi sigur c\u0103 ve\u021bi reporni aplica\u021bia de control?","_SERV_RESTART_QT_":"Reporni\u021bi Backend-ul","_SERVER_MODULES_":"Module","_SET_CHANGED_WOULD_SAVE_":"Unele set\u0103ri sunt modificate
Vor fi nesalvate!","_SET_CREDENTIALS_":"Seta\u021bi acredit\u0103rile","_SETTING_SAVE_OK_":"Toate modific\u0103rile au fost salvate cu succes","_SETTINGS_":"Set\u0103ri","_SETTINGS_CHANGED_":"Set\u0103ri schimbate","_SITE_DEL_ALL_ABO_":"Sunte\u021bi sigur c\u0103 \u0219terge\u021bi toate dispozitivele \u0219i set\u0103rile?","_SITE_PROP_LBL_":"Propriet\u0103\u021bile site-ului","_SITE_TITLE_":"Sistemul de securitate ARGUS","_SLV_LRF_DET_SET_":"Set\u0103ri de detectare LRF slave","_SMM_ADD_ADDIT_":"Ad\u0103uga\u021bi echipamente suplimentare","_SMM_ADD_LSEN_":"Ad\u0103uga\u021bi senzor laser","_SMS_ONLY_":"Numai SMS","_SND_FILES2_DEV__":"Trimite\u021bi fi\u0219iere pe dispozitiv","_SOURCE_":"Surs\u0103","_SSDP_DESC_LOO_":"Anun\u021bul SSDP v\u0103 permite s\u0103 anun\u021ba\u021bi pe LAN un server ARGUS","_SSDP_DESC_SHO_":"Daemon de anun\u021b SSDP pentru UPnP\/DLNA","_SSL_CERT_INVALID__":"Certificatul furnizat este invalid","_SSL_CERT_IP_NO_":"Certificat furnizat, valabil pentru alt\u0103 adres\u0103 IP","_SSL_CERT_VALID_INSTA":"Certificatul este Valabil \u0219i va fi aplicat intact (va dura c\u00e2teva minute). Sistemul se va reporni.","_SSL_NO_EXT_CERT_":"Nu exist\u0103 extensii x509 definite \u00een certificat","_SSL_NO_IP_CERT_":"F\u0103r\u0103 adrese IP \u00een certificat","_SSL_PROVIDE_CERT_":"V\u0103 rug\u0103m s\u0103 furniza\u021bi un certificat valabil pentru %IP% semnat de Dr. Frucht Systems.<\/br>Pute\u021bi solicita unul la www.smartsecsystems .com<\/a>","_SSL_VALID_BUT_":"Certificatul este Valabil. In orice caz:","_STATIC_CONNECTION_":"Conexiune static\u0103","_STATUS_":"stare","_STREAMS_":"Fluxuri","_STUDY_BACKGROUND_":"Studiu de fundal","_SWU_DASHBOARD_":"Managementul actualiz\u0103rilor software","_SYS_ANCHORT_LBL_":"Ancora sistemului","_SYS_DASHBOARD_":"Prezentare general\u0103 a sistemului","_SYS_GENERAL_":"General","_SYS_MAP_":"Harta sistemului","_SYS_SETTINGS_":"Setarile sistemului","_TARGET_FILTERS_":"Filtre","_TARGETING_TAB_":"Set\u0103ri de alarm\u0103","_TCP_CLIENT_":"Client TCP","_TCP_SERVER_":"Server TCP","_TILE_URL_MAP_":"Model URL Tiles","_TIME_":"Timp","_TOOLBOX_":"Trusa de scule","_TOP_PIC_BOUND_":"Limita de sus a imaginii (pixeli)","_TYPE_":"Tip","_UART_PORT_":"Portul UART","_UDP_CLIENT_":"Client UDP","_UDP_SERVER_":"Server UDP","_UNLOCK_USER_":"Debloca\u021bi utilizatorul","_UPDATE_LBL_":"Actualiza\u021bi","_UPGRADE_MNGMNT_":"Upgrade\/Backup","_UPLO_DONE_":"Deja \u00eenc\u0103rcat","_UPLO_IN_PROGRESS_":"\u00cenc\u0103rcare","_UPLOA2MODULE_":"\u00cenc\u0103rca\u021bi \u00een modul","_UPLOAD_PACKAGE_":"\u00cenc\u0103rca\u021bi pachetul","_UPPER_SENSOR_":"Senzor superior","_USER_":"Utilizator","_USER_LOGIN_":"Logare utilizator","_USERS_MNGMT_":"Managementul utilizatorilor","_VERSION_":"Versiune","_VIDEO_ENCODER_":"Video","_WDEV_DET_WIZ0_":"Tip de dispozitiv","_WDEV_DET_WIZ1_":"Tip instalatie","_WDEV_DET_WIZ2_":"Mediu inconjurator","_WDEV_DET_WIZ3_":"Altceva","_WDEV_DET_WIZT_":"Asistent de detectare pentru configurare senzor","_WDEV_MISTMATCH_":"Dispozitivul este diferit","_WIDTH_":"L\u0103\u0163ime","_WIDTH_CORRECT_":"Corec\u021bia l\u0103\u021bimii","_WORKING_MODE_":"Mod de lucru","_WRO_VAL_MSG_":"A\u021bi introdus valori gre\u0219ite
Corecta\u021bi \u0219i continua\u021bi.","_WRO_VALUES_":"Valori gre\u0219ite","_ZL_MEDIA_DESC_LOO_":"Suport\u0103 mai multe protocoale (RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC), accept\u0103 interconversia protocolului.","_ZL_MEDIA_DESC_SHO_":"Server ZLMediaKit - Codificator de streaming","05b048d7242cb7b8b57cfa3b1d65ecea":"Gamma","0737d367234baa9eb0d7d93044d4cdcb":"AGC","0e6ebfbce4a1d380a356f7d0ca501db2":"Cadru de zoom","1f9d92d5edaba165f934540a3525112a":"Cadru \u00eenclinat","20e57f32ba12b9cd13ebe9ef5e32d949":"Inversa","210ab9e731c9c36c2c38db15c28a8d1c":"Volum","3a5769e56038d8308b08f8741077d943":"Offset c\u00e2mp impar","3b2d7435a9d67b3630988c398af85da5":"Claritate","442348a3a2d4dc460bf2e86b1e97bd71":"Linie de alimentare","4cf296191801ec357d2aa0ad3a484cba":"WB manual","5f458c0f2db08c33596b0e7a8dbc0e5b":"Exp. manual\u0103","71a6b6f094346a8832df801c8428ea06":"Nuan\u0163\u0103","885cd2552e1136cfd94ae863668e8942":"Compensarea c\u00e2mpului uniform","aa71a2ef3fb13c2642ea72645a698cb8":"Luminozitate","AUTO_DRAW":"Extragere automat\u0103","b4e67baf7b29f6474d4ac44008dafed4":"Compensarea BL","b914f4cdf61e27d144e5ceef61eec7a2":"Automutare","bba4e31fa5d5b2fee356b87111a52aa3":"Flip orizontal","c8fd07f040a8f2dc85f5b2d3804ea3db":"Contrast","cc0d5ee2cdb80bf82426e9def9f9bf7c":"Pan Frame","def9cbe59ce34853e7081f62b095e348":"Mut","ed063c64d46ede5916894e6ac2ab9ce1":"WB automat","Error_Message":"Mesaj de eroare","ETHERNET_PROP":"Ethernet","facdbb51cba54d1eccbdd8bd670e7b33":"Auto Exp.","fb520ff39848b91b70496ecf6c67f68e":"Calitatea compresiei","fd71ed58ae07cc75900a5169e6f9c287":"Saturare","FILTER_AFP":"Filtru Persoane Autorizate","FILTER_TRAIN":"Filtrul \u021bint\u0103 al trenului","FRAMEGRAB_PROP":"Video analogic","MOD_TYPE":"Tipul modulului","MODE_ACCESS_POINT":"Punct de acces","MODE_DISABLED":"Dezactivat","MODE_ETHDYNAMIC":"Adres\u0103 dinamic\u0103 (DHCP)","MODE_ETHROUTER":"Router cu adres\u0103 static\u0103","MODE_ETHSTATIC":"Adres\u0103 static\u0103","MODULE_DCBUSB":"Modul de control USB Dry Contact","MODULE_EMB_VIDO":"Codificator video intern","MODULE_FLYHUNT":"Controlul dronei FlyHunter","MODULE_GPS":"Modul de sincronizare a timpului GPS","MODULE_KAFKA":"Kafka Data Proxy","MODULE_MODEM_MAN":"Manager modem","MODULE_NETWORK":"Modul de re\u021bea [TBD]","MODULE_ONVIF_DIS":"Descoperire OnVif","MODULE_SSDP":"Anun\u021b de re\u021bea","MODULE_ZLMEDIA":"Serverul ZLMedia","SENS_NAME":"Numele senzorului","SENS_RANGE":"Gama senzorului","SENS_TYPE":"Tipul senzorului","SERV_BLD_TAG":"Build Tag","SERV_NAME":"Numele serverului","SETIAL_TAG":"Etichet\u0103 de serie","SRV_STATUS_OFF":"Serverul este offline","SRV_STATUS_ON":"Serverul este online","SYS_MSG_DEVINV":"Dispozitivul conectat este diferit de","SYS_SERVNAME":"Serverul Argus","UART_COM_BITS":"Bi\u021bi","UART_COM_PARITY":"Paritate","UART_COM_SBITS":"Stop Bits","UART_COM_SPEED":"Viteza com","UART_LINE_PROP":"UART","VIRTUALIP_PROP":"IP virtual","VPN_TUN_PROP":"Tunel VPN","WAN_LINE_PROP":"Conexiune WAN","WIFI_PROP":"Wifi"}
\ No newline at end of file
diff --git a/lib/ajax_asm.php b/lib/ajax_asm.php
index 9f9f29b..cd1e3cd 100644
--- a/lib/ajax_asm.php
+++ b/lib/ajax_asm.php
@@ -25,7 +25,8 @@ require_once('php/db/logio_class.php');
$LOG = new Logio( LOG_LVL_ALL );
require_once('php/db/user_class.php');
require_once('php/auth/web.php');
-require_once('php/db/language_class.php');
+//require_once('php/db/language_class.php');
+require_once('php/db/language_json_class.php');
require_once('php/sys/r-goose_sys.php');
require_once('php/argus/mojo.php');
@@ -36,11 +37,12 @@ if( isset($_GET['Lang'])){
if ($UCL) $_SESSION['userlang']=$UCL; else $_SESSION['userlang']=$UserLang;
}
-$LDB = new SQLite_DB( '/srv/www/web/lib/controller/data/lang_en_US.db');
+//$LDB = new SQLite_DB( '/srv/www/web/lib/controller/data/lang_en_US.db');
if( isset($_SESSION['userlang']) ){
- $Labels=new Language( $_SESSION['userlang'],'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$_SESSION['userlang'].'.json');//$_SESSION['userlang'],'', $LDB );
} else {
- $Labels=new Language( $UserLang ,'', $LDB );
+ //$Labels=new Language( $UserLang ,'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$UserLang.'.json');
};
if( $UserLang == 3 || $UserLang == 255 ){
diff --git a/lib/assembler.php b/lib/assembler.php
index b1b894b..20d120f 100644
--- a/lib/assembler.php
+++ b/lib/assembler.php
@@ -40,7 +40,8 @@ require_once('php/db/logio_class.php');
$LOG = new Logio( LOG_LVL_ALL );
require_once('php/db/user_class.php');
require_once('php/auth/web.php');
-require_once('php/db/language_class.php');
+//require_once('php/db/language_class.php');
+require_once('php/db/language_json_class.php');
//require_once('php/sys/SYSTEM_functions.php');
require_once('php/ui/UI_functions.php');
//require_once('php/web/WEB_functions.php');
@@ -52,11 +53,16 @@ if( isset($_GET['Lang'])){
if ($UCL) $_SESSION['userlang']=$UCL; else $_SESSION['userlang']=$UserLang;
}
-$LDB = new SQLite_DB( 'lib/controller/data/lang_en_US.db');
+//$LDB = new SQLite_DB( 'lib/controller/data/lang_en_US.db');
+
if( isset($_SESSION['userlang']) ){
- $Labels=new Language( $_SESSION['userlang'],'', $LDB );
+ $UserLang = $Site_Languages[$_SESSION['userlang']]['id'];
+ //$Labels=new Language( $_SESSION['userlang'],'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$_SESSION['userlang'].'.json');
} else {
- $Labels=new Language( $UserLang ,'', $LDB );
+ $UserLang = $Site_Languages[$UserLang]['id'];
+ //$Labels=new Language( $UserLang ,'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$UserLang.'.json');
};
if( $UserLang == 3 || $UserLang == 255 ){
diff --git a/lib/controller/dash/node_1.js b/lib/controller/dash/node_1.js
index e7cba9f..5a59cc0 100644
--- a/lib/controller/dash/node_1.js
+++ b/lib/controller/dash/node_1.js
@@ -74,7 +74,7 @@
border: false,
collapsed: true,
collapseMode: 'mini',
- title: 'Toolbox',
+ title: '%%%LABEL%%%TOOLBOX%%%',
floatable: true,
animFloat: false,
autoHide: true,
@@ -91,7 +91,7 @@
id: 'cp_clear_btn_%%%NODEID%%%',
width: '100%',
disabled: true,
- text: 'Clear Alarm',
+ text: '%%%LABEL%%%CLEALARM%%%',
iconCls: 'ctrl_panel_clean_sm',
iconAlign: 'left',
handler: function(){
@@ -104,7 +104,7 @@
xtype: 'button',
id: 'cp_draw_btn_%%%NODEID%%%',
width: '100%',
- text: 'Draw Background',
+ text: '%%%LABEL%%%DRABACKGROUND%%%',
iconCls: 'ctrl_panel_drawscan_sm',
iconAlign: 'left',
disabled: true,
@@ -118,7 +118,7 @@
xtype: 'button',
id: 'cp_study_btn_%%%NODEID%%%',
width: '100%',
- text: 'Study Background',
+ text: '%%%LABEL%%%STUBACKGROUND%%%',
iconCls: 'ctrl_panel_study_sm',
iconAlign: 'left',
disabled: true,
@@ -130,7 +130,7 @@
height: 3
},{
xtype: 'button',
- text: 'Mask Editor',
+ text: '%%%LABEL%%%MASKEDITOR%%%',
id: 'DMED_%%%NODEID%%%',
width: '100%',
disabled: true,
@@ -143,7 +143,7 @@
height: 3
},{
xtype: 'panel',
- title: 'Masking Management',
+ title: '%%%LABEL%%%MASKMNGR%%%',
height: 70,
frame: true,
flex: 1,
diff --git a/lib/controller/dash/node_3.js b/lib/controller/dash/node_3.js
index cd9fede..aac0087 100644
--- a/lib/controller/dash/node_3.js
+++ b/lib/controller/dash/node_3.js
@@ -74,7 +74,7 @@
border: false,
collapsed: true,
collapseMode: 'mini',
- title: 'Toolbox',
+ title: '%%%LABEL%%%TOOLBOX%%%',
floatable: true,
animFloat: false,
autoHide: true,
@@ -91,7 +91,7 @@
id: 'cp_clear_btn_%%%NODEID%%%',
width: '100%',
disabled: true,
- text: 'Clear Alarm',
+ text: '%%%LABEL%%%CLEALARM%%%',
iconCls: 'ctrl_panel_clean_sm',
iconAlign: 'left',
handler: function(){
@@ -104,7 +104,7 @@
xtype: 'button',
id: 'cp_draw_btn_%%%NODEID%%%',
width: '100%',
- text: 'Draw Background',
+ text: '%%%LABEL%%%DRABACKGROUND%%%',
iconCls: 'ctrl_panel_drawscan_sm',
iconAlign: 'left',
disabled: true,
@@ -118,7 +118,7 @@
xtype: 'button',
id: 'cp_study_btn_%%%NODEID%%%',
width: '100%',
- text: 'Study Background',
+ text: '%%%LABEL%%%STUBACKGROUND%%%',
iconCls: 'ctrl_panel_study_sm',
iconAlign: 'left',
disabled: true,
@@ -130,7 +130,7 @@
height: 3
},{
xtype: 'button',
- text: 'Mask Editor',
+ text: '%%%LABEL%%%MASKEDITOR%%%',
id: 'DMED_%%%NODEID%%%',
width: '100%',
disabled: true,
@@ -143,7 +143,7 @@
height: 3
},{
xtype: 'panel',
- title: 'Masking Management',
+ title: '%%%LABEL%%%MASKMNGR%%%',
height: 70,
frame: true,
flex: 1,
diff --git a/lib/controller/doSensorOperation.php b/lib/controller/doSensorOperation.php
index e874b1d..39c6c92 100644
--- a/lib/controller/doSensorOperation.php
+++ b/lib/controller/doSensorOperation.php
@@ -230,6 +230,15 @@
$QS ='';
break;
};
+ case 25:{
+ // Create Ack Masking
+ // Clear ACK Masking
+ // Select Current Events Targets
+ // Create Polygone
+ // Update Device masks
+
+ break;
+ };
case 255:{
// Delete Sensor
$NID = $CN['id'];
diff --git a/lib/controller/getCameraEditor.php b/lib/controller/getCameraEditor.php
index cd56822..8ba0261 100644
--- a/lib/controller/getCameraEditor.php
+++ b/lib/controller/getCameraEditor.php
@@ -95,7 +95,7 @@ kskjhiiuwye;
loadDetectedCameras();
} else {
Ext.Msg.show({
- title:'Error!',
+ title:'{$Labels->GetLabel('_ERROR_')}',
msg: tData.msg,
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR
@@ -300,7 +300,7 @@ CHUPAKABRA;
items:[{
xtype: 'checkbox',
id: 'cam_manassign',
- fieldLabel: 'Static Connection',
+ fieldLabel: '{$Labels->GetLabel('_STATIC_CONNECTION_')}',
width: 200,
checked: {$Cam['manual']},
listeners:{
@@ -375,7 +375,7 @@ CHUPAKABRA;
}
}],
},{
- title: 'Lens Settings',
+ title: '{$Labels->GetLabel('_CAM_LENS_SETTINGS_')}',
id: 'lens_tab',
frame: false,
border: false,
@@ -393,10 +393,10 @@ CHUPAKABRA;
},
items:[{
width: 200,
- html: 'Sensor Size'
+ html: '{$Labels->GetLabel('_CAM_SENS_SIZE_')}'
},{
xtype: 'combo',
- fieldLabel: 'Sensor Size',
+ fieldLabel: '{$Labels->GetLabel('_CAM_SENS_SIZE_')}',
lazyRender: true,
id: 'sens_size',
mode: 'local',
@@ -432,10 +432,10 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Focal Length'
+ html: '{$Labels->GetLabel('_CAM_FOCALL_')}'
},{
xtype: 'combo',
- fieldLabel: 'Lens Focal Length',
+ fieldLabel: '{$Labels->GetLabel('_CAM_FOCALL_')}',
lazyRender: true,
id: 'lens_fl',
mode: 'local',
@@ -508,7 +508,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Fixed Zoom'
+ html: '{$Labels->GetLabel('_CAM_FIXEDZ_')}'
},{
xtype: 'radio',
id: 'no_zoom',
@@ -525,12 +525,12 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Variable Zoom'
+ html: '{$Labels->GetLabel('_CAM_VARIOZ_')}'
},{
xtype: 'radio',
id: 'on_zoom',
hideLabel: false,
- fieldLabel: 'Variable Zoom',
+ fieldLabel: '{$Labels->GetLabel('_CAM_VARIOZ_')}',
name: 'zoom_ena',
value: ({$Cam['zoom']}>0.0),
checked: ({$Cam['zoom']}>0.0),
@@ -556,7 +556,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Zoom Ratio'
+ html: '{$Labels->GetLabel('_CAM_ZOOMR_')}'
},{
xtype: 'slider',
id: 'zoom_val',
@@ -692,10 +692,10 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Pan Model'
+ html: '{$Labels->GetLabel('_CAM_PANMOD_')}'
},{
xtype: 'combo',
- fieldLabel: 'Pan Model',
+ fieldLabel: '{$Labels->GetLabel('_CAM_PANMOD_')}',
lazyRender: true,
id: 'pan_mode',
disabled: ({$Cam['protocol']} == 0),
@@ -707,8 +707,8 @@ CHUPAKABRA;
store: new Ext.data.ArrayStore({
fields: ['pm','pm_txt'],
data: [
- [0,'Regular'],
- [1,'Reversed']
+ [0,'{$Labels->GetLabel('_CAM_TM_REGULAR_')}'],
+ [1,'{$Labels->GetLabel('_CAM_TM_REVERSED_')}']
]
}),
valueField: 'pm',
@@ -722,7 +722,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Tottal Pan Angles'
+ html: '{$Labels->GetLabel('_CAM_PANANGS_')}'
},{
xtype: 'numberfield',
id: 'pan_ang',
@@ -739,10 +739,10 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Tilt Model'
+ html: '{$Labels->GetLabel('_CAM_TILTMOD_')}'
},{
xtype: 'combo',
- fieldLabel: 'Tilt Model',
+ fieldLabel: '{$Labels->GetLabel('_CAM_TILTMOD_')}',
lazyRender: true,
id: 'tilt_mode',
disabled: ({$Cam['protocol']} == 0),
@@ -754,10 +754,10 @@ CHUPAKABRA;
store: new Ext.data.ArrayStore({
fields: ['tm','tm_txt'],
data: [
- [0,'Regular'],
- [1,'Reversed'],
- [2,'Shifted 90°'],
- [3,'Rev-Shifted 90°']
+ [0,'{$Labels->GetLabel('_CAM_TM_REGULAR_')}'],
+ [1,'{$Labels->GetLabel('_CAM_TM_REVERSED_')}'],
+ [2,'{$Labels->GetLabel('_CAM_TM_SHIFTED_')} 90°'],
+ [3,'{$Labels->GetLabel('_CAM_TM_RSHIFTED_')} 90°']
]
}),
valueField: 'tm',
@@ -771,7 +771,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'Tottal Tilt Angles'
+ html: '{$Labels->GetLabel('_CAM_TILTANGS_')}'
},{
xtype: 'numberfield',
id: 'tilt_ang',
@@ -788,7 +788,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'PTZ Auto Axeleration'
+ html: '{$Labels->GetLabel('_CAM_PTZ_AAC_')}'
},{
xtype: 'checkbox',
id: 'ptz_axel_c',
@@ -818,7 +818,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: 'PTZ Manual Axeleration'
+ html: '{$Labels->GetLabel('_CAM_PTZ_MAC_')}'
},{
xtype: 'slider',
id: 'ptz_axel',
@@ -837,7 +837,7 @@ CHUPAKABRA;
id: 'ptz_axel_d',
html: 'X '+ {$Cam['ptz_axel']} + '
'
},{
- html: '| Axis Rotation |  |
'
+ html: '| {$Labels->GetLabel('_AXIS_ROT_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -850,7 +850,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: '| Axis Rotation |  |
'
+ html: '| {$Labels->GetLabel('_AXIS_ROT_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -863,7 +863,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: '| Axis Rotation |  |
'
+ html: '| {$Labels->GetLabel('_AXIS_ROT_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -876,7 +876,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: '| Δ from Anchor |  |
'
+ html: '| Δ {$Labels->GetLabel('_FROM_ANCH_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -889,7 +889,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: '| Δ from Anchor |  |
'
+ html: '| Δ {$Labels->GetLabel('_FROM_ANCH_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -902,7 +902,7 @@ CHUPAKABRA;
},{
html: ' '
},{
- html: '| Δ from Anchor |  |
'
+ html: '| Δ {$Labels->GetLabel('_FROM_ANCH_')} |  |
'
},{
xtype: 'numberfield',
decimalPrecision: 3,
@@ -935,7 +935,7 @@ CHUPAKABRA;
},
items:[{
width: 200,
- html: 'Camera Label'
+ html: '{$Labels->GetLabel('_CAM_LABEL_')}'
},{
xtype: 'textfield',
id: 'cam_label',
@@ -963,10 +963,10 @@ CHUPAKABRA;
store: new Ext.data.ArrayStore({
fields: ['type','type_txt'],
data: [
- [0,'Strict Visible Targets'],
- [1,'All Near'],
- [2,'ALL Far'],
- [3,'All Targets']
+ [0,'{$Labels->GetLabel('_CAM_TM_STRICT_VISIBLE_')}'],
+ [1,'{$Labels->GetLabel('_CAM_TM_ALL_NEAR_')}'],
+ [2,'{$Labels->GetLabel('_CAM_TM_ALL_FAR_')}'],
+ [3,'{$Labels->GetLabel('_CAM_TM_ALL_')}']
]
}),
value: {$Cam['trigger_mode']},
@@ -981,7 +981,7 @@ CHUPAKABRA;
xtype: 'spacer'
},{
width: 200,
- html: 'Enable Automatic Home Return'
+ html: '{$Labels->GetLabel('_CAM_AUTO_HOMING_')}'
},{
xtype: 'checkbox',
id: 'cam_horeten',
@@ -1001,7 +1001,7 @@ CHUPAKABRA;
xtype: 'spacer'
},{
width: 200,
- html: 'Time After Alarm'
+ html: '{$Labels->GetLabel('_CAM_AH_TIME_')}'
},{
xtype: 'numberfield',
id: 'cam_horetto',
@@ -1016,7 +1016,7 @@ CHUPAKABRA;
xtype: 'spacer'
},{
width: 200,
- html: 'Home Preset Token'
+ html: '{$Labels->GetLabel('_CAM_AH_TOKEN_')}'
},{
xtype: 'textfield',
id: 'cam_horettk',
diff --git a/lib/controller/getDashBoardItems.php b/lib/controller/getDashBoardItems.php
index 42caa35..e0218e4 100644
--- a/lib/controller/getDashBoardItems.php
+++ b/lib/controller/getDashBoardItems.php
@@ -1,5 +1,19 @@
GetLabel('_TOOLBOX_') , $TPL );
+ $TPL = str_replace('%%%LABEL%%%CLEALARM%%%', $Labels->GetLabel('_CLEAR_ALARM_') , $TPL );
+ $TPL = str_replace('%%%LABEL%%%DRABACKGROUND%%%', $Labels->GetLabel('_DRAW_BACKGROUND_') , $TPL );
+ $TPL = str_replace('%%%LABEL%%%STUBACKGROUND%%%', $Labels->GetLabel('_STUDY_BACKGROUND_') , $TPL );
+ $TPL = str_replace('%%%LABEL%%%MASKEDITOR%%%', $Labels->GetLabel('_MASK_EDITOR_') , $TPL );
+ $TPL = str_replace('%%%LABEL%%%MASKMNGR%%%', $Labels->GetLabel('_MASK_MANAGER_') , $TPL );
+ //$TPL = str_replace('%%%LABEL%%%MASKMNGR%%%', $Labels->GetLabel('_MASK_MANAGER_') , $TPL );
+ return $TPL;
+ };
+
+
$UID = intval( $CUser->Data['id'] );
$Data = '';
if( $UID > 1 ){
@@ -24,7 +38,7 @@
p.setHeight( H+40 );
var jaja = Ext.create({
xtype: 'panel',
- title: 'Camera is Not Assigned to the System',
+ title: '{$Labels->GetLabel('_MSG_CAM_NOT_ASS_')}',
frame: true,
renderTo: 'btn_ph_ccc_%%ID%%',
layout: 'vbox',
@@ -35,7 +49,7 @@
height: 10
},{
width: '100%',
- html: 'Proceed to Cameras Settings to Assign One'
+ html: '{$Labels->GetLabel('_MSG_CAM_PROC_NOT_ASS_')}'
},{
xtype: 'spacer',
height: 20
@@ -106,9 +120,9 @@ $MAPIO=<<<_DATA_BOUNDARY
_DATA_BOUNDARY;
$DUMMY['camera']="{xtype:'panel', id:'pan_ph_ccc_%%ID%%', title: 'Camera Placeholder', frame: true, border: true, draggable: false, layouit: 'fit', items:{$TABA}}";
- $DUMMY['sensor']="{xtype:'panel', title: 'Sensor Placeholder', frame: true, border: true, draggable: false, html:'NO SENSOR', listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9);}}}";
- $DUMMY['map']="{xtype:'panel', title: 'Map', frame: true, border: true, draggable: false, collapsible: false, tools: [{ id:'toggle', handler: function( a, b, p ){ fullScreen( 'event_map' ); }}], items:[{$MAPIO}],listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9); initMapMonitoring();}} }";
- $DUMMY['log']="{xtype:'panel', id: 'lg_panel', title: 'Event Log', frame: true, border: true, draggable: false, items:[{$LOGIO}] }";
+ $DUMMY['sensor']="{xtype:'panel', title: '{$Labels->GetLabel('_SENSOR_PLACE_')}', frame: true, border: true, draggable: false, html:'NO SENSOR', listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9);}}}";
+ $DUMMY['map']="{xtype:'panel', title: '{$Labels->GetLabel('_MAP_')}', frame: true, border: true, draggable: false, collapsible: false, tools: [{ id:'toggle', handler: function( a, b, p ){ fullScreen( 'event_map' ); }}], items:[{$MAPIO}],listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9); initMapMonitoring();}} }";
+ $DUMMY['log']="{xtype:'panel', id: 'lg_panel', title: '{$Labels->GetLabel('_EVENT_LOG_')}', frame: true, border: true, draggable: false, items:[{$LOGIO}] }";
} else {
$DUMMY['camera']="{xtype:'panel', title: false, frame: true, draggable: false, html: ' ', listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9);}}}";
$DUMMY['sensor']="{xtype:'panel', title: false, frame: true, draggable: false, html: ' ', listeners:{ afterrender: function(p){ var W=p.getWidth(); p.setHeight( 32+(W/16)*9);}}}";
@@ -136,6 +150,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''. urldecode( $DD['name'] ), $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -163,6 +178,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.urldecode( $DD['name'] ) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -248,6 +264,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.html_entity_decode( $DD['name'] ) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -275,6 +292,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.urldecode($DD['name']) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -361,6 +379,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.html_entity_decode( $DD['name'] ) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -388,6 +407,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.urldecode($DD['name']) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -466,6 +486,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.urldecode($DD['name']) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
@@ -526,6 +547,7 @@ _DATA_BOUNDARY;
$TFN = 'dash/node_' . $DD['type'] . '.js';
if(!file_exists( $TFN )) continue;
$TPL = file_get_contents( $TFN );
+ $TPL = inject_labels( $TPL );
$TPL = str_replace('%%%NODEID%%%', ''.$DD['id'] , $TPL );
$TPL = str_replace('%%%NODENAME%%%', ''.html_entity_decode( $DD['name'] ) , $TPL );
$TPL = str_replace('%%%USERID%%%', $UserID, $TPL );
diff --git a/lib/controller/getSensorDetectionEditor.php b/lib/controller/getSensorDetectionEditor.php
new file mode 100644
index 0000000..40406e9
--- /dev/null
+++ b/lib/controller/getSensorDetectionEditor.php
@@ -0,0 +1,263 @@
+Data['id'] > 1 ){
+ $SI = 0;
+ $SOK = false;
+ $FOK = false;
+ if( isset( $_POST['SEN'] ) ) $SI = intval( $_POST['SEN'] );
+ if( $SI ){
+ $FOK = true;
+ $QS = "SELECT * FROM `lrf_sensors` WHERE `id`={$SI}";
+ $JJR = $DATABASE->Query( $QS, false );
+ if( count( $JJR ) ){
+ $DD = $JJR[0];
+ //$QS = "SELECT * FROM `lrf_detection_profiles` WHERE `aux_id`={$SI} AND `profile_id`=0 AND `lrf_id`=0 AND `master`=1";
+ $QS = "SELECT * FROM `lrf_detection_profiles` WHERE `aux_id`={$SI} AND `profile_id`=0 AND `lrf_id`=0 ORDER BY `master` DESC";
+ $JJR = $DATABASE->Query( $QS, false );
+ $SD = $JJR[0];
+ if( $DD['type'] == 1 ){
+ // Dual LRF Device (ALS)
+ $AD = $JJR[1];
+ };
+ $SOK = true;
+ } else {
+ $MSG = 'The Sensor ID is Wrong!';
+ };
+ } else {
+ $MSG = 'The Sensor ID not Set!';
+ };
+ $LILI=<<<_DATA_BOUNDARY
+ ,listeners:{
+ afterrender: function(){
+ Ext.Msg.show({
+ title: '{$Labels->GetLabel('_INFO_')}',
+ msg: '{$MSG}',
+ buttons: Ext.Msg.OK,
+ fn: function(){
+ var tt = Ext.getCmp('up_se_popanel');
+ tt.removeAll( true );
+ tt.doLayout();
+ },
+ icon: Ext.MessageBox.INFO
+ });
+ }
+ }
+_DATA_BOUNDARY;
+
+ $TPL=<<<_DATA_BOUNDARY
+ {
+ xtype: 'tabpanel',
+ activeTab: 0,
+ frame: true,
+ border: true,
+ bbar:[{
+ text: 'Apply Settings',
+ handler: function(){
+ var oder = Ext.getCmp('ups_order').getValue();
+ var oset = Ext.getCmp('ups_offset').getValue();
+ var odel = Ext.getCmp('ups_delta').getValue();
+ var ofli = Ext.getCmp('ups_flip').getValue();
+ var owid = Ext.getCmp('ups_width').getValue();
+ var osst = Ext.getCmp('ups_sst').getValue();
+ var osun = Ext.getCmp('ups_sun').getValue();
+ Ext.Ajax.request({
+ url: '/lib/controller/doSensorOperation.php',
+ params: {
+ UID: {$UserID},
+ SID: '{$Session}',
+ SNID: '{$SI}',
+ OPID: 19,
+ OFF: oset,
+ ORD: oder,
+ DEL: odel,
+ FLI: ofli,
+ WIZ: owid,
+ SST: osst,
+ SUN: osun
+ },
+ success: function( response, opts ){
+ Ext.Msg.show({
+ title: 'Information',
+ msg: 'Settings are Saved',
+ buttons: Ext.Msg.OK,
+ icon: Ext.MessageBox.INFO
+ });
+ },
+ failure: failureAJAXFunction
+ });
+ }
+ }],
+ items:[{
+ xtype: 'panel',
+ id: 'up_se_popanel',
+ border: true,
+ title: '{$Labels->GetLabel('_MAS_LRF_DET_SET_')}',
+ frame: false,
+ labelWidth: 150,
+ labelAlign: 'right',
+ layout: 'form',
+ height: PanelH-42,
+ items:[{
+ xtype: 'numberfield',
+ id: 'm_order',
+ fieldLabel: 'Order',
+ value: '{$SD['order']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_offset',
+ fieldLabel: 'Offset',
+ value: '{$SD['offset']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_delta',
+ fieldLabel: 'Delta',
+ value: '{$SD['delta']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_flip',
+ fieldLabel: 'Flip',
+ value: '{$SD['flip']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_width',
+ fieldLabel: 'Width',
+ value: '{$SD['width']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_sst',
+ fieldLabel: 'SST',
+ value: '{$SD['sst']}'
+ },{
+ xtype: 'numberfield',
+ id: 'm_sun',
+ fieldLabel: 'Sun',
+ value: '{$SD['sun']}'
+ }]
+ },{
+ xtype: 'panel',
+ id: 'up_sse_popanel',
+ border: true,
+ title: '{$Labels->GetLabel('_SLV_LRF_DET_SET_')}',
+ frame: false,
+ labelWidth: 150,
+ labelAlign: 'right',
+ layout: 'form',
+ height: PanelH-42,
+ items:[{
+ xtype: 'numberfield',
+ id: 's_order',
+ fieldLabel: 'Order',
+ value: '{$SD['order']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_offset',
+ fieldLabel: 'Offset',
+ value: '{$SD['offset']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_delta',
+ fieldLabel: 'Delta',
+ value: '{$SD['delta']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_flip',
+ fieldLabel: 'Flip',
+ value: '{$SD['flip']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_width',
+ fieldLabel: 'Width',
+ value: '{$SD['width']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_sst',
+ fieldLabel: 'SST',
+ value: '{$SD['sst']}'
+ },{
+ xtype: 'numberfield',
+ id: 's_sun',
+ fieldLabel: 'Sun',
+ value: '{$SD['sun']}'
+ }]
+ },{
+ title: '{$Labels->GetLabel('_DET_SET_WIDTH_T_')}',
+ height: PanelH-42,
+ tbar:[{
+ text: '{$Labels->GetLabel('__ADD__')}',
+ id: 'add_btn_width_table',
+ handler: function(){
+ addWidthTableRecord({$SI});
+ }
+ },{
+ text: '{$Labels->GetLabel('_DEL_SELECTED_')}',
+ disabled: true,
+ id: 'del_btn_width_table',
+ handler: function(){
+ }
+ }],
+ layout:'fit',
+ items:{
+ xtype: 'grid',
+ border: false,
+ frame: false,
+ autoScroll: true,
+ //width: '100%',
+ lazyRender: true,
+ //height: 210,
+ ds: targetWidthTable_store,
+ cm: new Ext.grid.ColumnModel( targetWidthTableColModel_ops ),
+ sm: new Ext.grid.RowSelectionModel( fileUploadsSelModel_ops ),
+ viewConfig: {
+ // forceFit: true
+ },
+ }
+ },{
+ title: '{$Labels->GetLabel('_DC_CONTROL_SET_')}',
+ height: PanelH-42,
+ labelWidth: 200,
+ labelAlign: 'right',
+ layout: 'form',
+ items:[{
+ xtype: 'checkbox',
+ id: 'dc_ena',
+ fieldLabel: '{$Labels->GetLabel('_DC_AUTO_ENA_')}',
+ checked: true,
+ },{
+ xtype: 'combo',
+ fieldLabel: '{$Labels->GetLabel('_DC_WORK_MODE_')}',
+ id: 'dc_mode',
+ editable: false,
+ typeAhead: true,
+ triggerAction: 'all',
+ width: '100%',
+ lazyRender:true,
+ mode: 'local',
+ store: new Ext.data.ArrayStore({
+ fields: ['sid', 'snam'],
+ data: [[0,'{$Labels->GetLabel('_DC_WM_NO_')}'], [1,'{$Labels->GetLabel('_DC_WM_NC_')}']]
+ }),
+ value: 0,
+ valueField: 'sid',
+ displayField: 'snam'
+ },{
+ xtype: 'numberfield',
+ id: 'dc_window',
+ fieldLabel: '{$Labels->GetLabel('_DC_TIME_WINDOW_')}',
+ value: 2
+ }]
+ }]
+ %%%JUMPAPA%%%
+ }
+_DATA_BOUNDARY;
+
+ if( $FOK && $SOK ){
+ $TPL = str_replace('%%%JUMPAPA%%%', '', $TPL );
+ } else {
+ $TPL = str_replace('%%%JUMPAPA%%%', $LILI, $TPL );
+ };
+ echo $TPL;
+ } else {
+ header('location: /');
+ };
+?>
\ No newline at end of file
diff --git a/lib/controller/getSensorEditor.php b/lib/controller/getSensorEditor.php
index f8723f7..3428ff5 100644
--- a/lib/controller/getSensorEditor.php
+++ b/lib/controller/getSensorEditor.php
@@ -24,7 +24,7 @@ JOJOKA;
default: $NAME = ''.$CR['name'].'
Unknown Sensor';
};
$NAME .='
communication errors per minute: '.$CR['com_epm'];
- $INFO = '| Serial: | '.(($CR['serial']!='')?$CR['serial']:'No Serial Defined').' |
| Version: | '.(($CR['version']!='')?$CR['version']:'No Version Info').' |
';
+ $INFO = '| '.$Labels->GetLabel('_SERIAL_').': | '.(($CR['serial']!='')?$CR['serial']:'No Serial Defined').' |
| '.$Labels->GetLabel('_VERSION_').': | '.(($CR['version']!='')?$CR['version']:'No Version Info').' |
';
$ITEMS[0]="{ xtype:'panel', border: false, frame: false, html: '
'}";
$QS="SELECT aux_id, device FROM resources WHERE ( type=1 OR type=129 )";
$RR=$DATABASE->Query( $QS );
@@ -75,7 +75,7 @@ JOJOKA;
if( stripos( $CR['version'], 'FD' )!== false ){
$THF_OPERATION = ",{
xtype: 'button',
- text: 'Enable Frozen Threshold',
+ text: '{$Labels->GetLabel('_SENS_ENA_FROTH_')}',
width: '100%',
iconCls: 'srv_op_fth_ble',
scale: 'large',
@@ -87,7 +87,7 @@ JOJOKA;
if( stripos( $CR['version'], 'FS' )!== false ){
$THF_OPERATION = ",{
xtype: 'button',
- text: 'Finish Frozen Threshold Study',
+ text: '{$Labels->GetLabel('_SENS_FIN_FROTH_')}',
width: '100%',
iconCls: 'srv_op_fth_study',
scale: 'large',
@@ -99,7 +99,7 @@ JOJOKA;
if( stripos( $CR['version'], 'FF' )!== false ){
$THF_OPERATION = ",{
xtype: 'button',
- text: 'Delete Frozen Threshold',
+ text: '{$Labels->GetLabel('_SENS_DEL_FROTH_')}',
width: '100%',
iconCls: 'srv_op_fth_frozen',
scale: 'large',
@@ -110,7 +110,7 @@ JOJOKA;
};
$THF_OPERATION .= ",{
xtype: 'button',
- text: 'Disable Frozen Threshold',
+ text: '{$Labels->GetLabel('_SENS_DIS_FROTH_')}',
width: '100%',
iconCls: 'srv_op_fth_ble',
scale: 'large',
@@ -128,7 +128,7 @@ JOJOKA;
activeTab: 0,
items:[{
xtype: 'form',
- title: 'General',
+ title: '{$Labels->GetLabel('_GENERAL_')}',
labelWidth: 200,
border: false,
frame: false,
@@ -173,15 +173,15 @@ JOJOKA;
store: new Ext.data.ArrayStore({
fields: ['range','range_txt'],
data: [
- [15,'15 Meters'],
- [35,'35 Meters'],
- [45,'45 Meters'],
- [65,'65 Meters'],
- [75,'75 Meters'],
- [150,'150 Meters'],
- [200,'200 Meters'],
- [300,'300 Meters'],
- [350,'350 Meters']
+ [15,'15 {$Labels->GetLabel('_METERS_')}'],
+ [35,'35 {$Labels->GetLabel('_METERS_')}'],
+ [45,'45 {$Labels->GetLabel('_METERS_')}'],
+ [65,'65 {$Labels->GetLabel('_METERS_')}'],
+ [75,'75 {$Labels->GetLabel('_METERS_')}'],
+ [150,'150 {$Labels->GetLabel('_METERS_')}'],
+ [200,'200 {$Labels->GetLabel('_METERS_')}'],
+ [300,'300 {$Labels->GetLabel('_METERS_')}'],
+ [350,'350 {$Labels->GetLabel('_METERS_')}']
]
}),
valueField: 'range',
@@ -271,7 +271,7 @@ JOJOKA;
}]
},{
xtype: 'form',
- title: 'Hardware',
+ title: '{$Labels->GetLabel('_HARDWARE_')}',
labelWidth: 200,
border: false,
frame: false,
@@ -280,7 +280,7 @@ JOJOKA;
items:[{
xtype: 'checkbox',
id: 'autores_ena',
- fieldLabel: 'Auto Reset Enabled',
+ fieldLabel: '{$Labels->GetLabel('_SENS_AUTOR_ENA_')}',
width: 200,
checked: {$INI_S['AUTORESET_ENABLE']},
listeners:{
@@ -295,7 +295,7 @@ JOJOKA;
},{
xtype: 'numberfield',
id: 'autores_il',
- fieldLabel: 'Auto Reset Interleave',
+ fieldLabel: '{$Labels->GetLabel('_SENS_AUTOR_INTER_')}',
width: 200,
value: {$INI_S['AUTORESET_INTERLEAVE']},
listeners:{
@@ -306,7 +306,7 @@ JOJOKA;
},{
xtype: 'numberfield',
id: 'autores_to',
- fieldLabel: 'Auto Timeout',
+ fieldLabel: '{$Labels->GetLabel('_SENS_AUTOR_TO_')}',
width: 200,
value: {$INI_S['AUTORESET_TIMEOUT']},
listeners:{
@@ -317,7 +317,7 @@ JOJOKA;
},{
xtype: 'numberfield',
id: 'board_zsh',
- fieldLabel: 'Board Zero Shift',
+ fieldLabel: '{$Labels->GetLabel('_SENS_BZSHIFT_')}',
width: 200,
value: {$INI_S['BOARD_ZEROSHIFT']},
listeners:{
@@ -328,7 +328,7 @@ JOJOKA;
},{
xtype: 'numberfield',
id: 'board_temp',
- fieldLabel: 'Heater Temperature',
+ fieldLabel: '{$Labels->GetLabel('_SENS_HTEMP_')}',
width: 200,
value: {$INI_S['BOARD_TEMPERATURE']},
listeners:{
@@ -339,7 +339,7 @@ JOJOKA;
},{
xtype: 'combo',
id: 'board_spd',
- fieldLabel: "Scan Speed",
+ fieldLabel: "{$Labels->GetLabel('_SENS_SCANSPEED_')}",
lazyRender: true,
mode: 'local',
forceSelection: true,
@@ -369,7 +369,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'nbt_ena',
- fieldLabel: 'No Black Targets',
+ fieldLabel: '{$Labels->GetLabel('_SENS_NOBLA_')}',
width: 200,
checked: {$INI_S['NO_BLACK_TARGETS']},
listeners:{
@@ -384,7 +384,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'jmt_ena',
- fieldLabel: 'Just Moving Targets',
+ fieldLabel: '{$Labels->GetLabel('_SENS_JUMOTA_')}',
width: 200,
checked: {$INI_S['JUST_MOVING_TARGETS']},
listeners:{
@@ -399,7 +399,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'jmt_rad',
- fieldLabel: 'Just Moving Radial',
+ fieldLabel: '{$Labels->GetLabel('_SENS_JUMORA_')}',
width: 200,
checked: {$INI_S['JUST_MOVING_RADIAL']},
listeners:{
@@ -414,7 +414,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'jmt_range',
- fieldLabel: 'Just Moving Distance',
+ fieldLabel: '{$Labels->GetLabel('_SENS_JUMODI_')}',
width: 200,
checked: {$INI_S['JUST_MOVING_DISTANCE']},
listeners:{
@@ -429,7 +429,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'fth_freeze',
- fieldLabel: 'Freeze First Threshold',
+ fieldLabel: '{$Labels->GetLabel('_SENS_FFTH_')}',
width: 200,
checked: {$INI_S['FREEZ_FIRST_TH']},
listeners:{
@@ -444,7 +444,7 @@ JOJOKA;
},{
xtype: 'checkbox',
id: 'fth_save',
- fieldLabel: 'Save First Threshold',
+ fieldLabel: '{$Labels->GetLabel('_SENS_SFTH_')}',
width: 200,
checked: {$INI_S['SAVE_FIRST_TH']},
listeners:{
@@ -458,7 +458,7 @@ JOJOKA;
}
},{
xtype: 'button',
- text: 'Apply To Device and Reset',
+ text: '{$Labels->GetLabel('_SENS_APPLY_RES_')}',
width: '100%',
iconCls: 'srv_op_download',
scale: 'large',
@@ -468,7 +468,7 @@ JOJOKA;
}]
},{
xtype: 'panel',
- title: 'Position',
+ title: '{$Labels->GetLabel('_POSITION_')}',
height: PanelH - 283,
items:[{
xtype: 'panel',
@@ -485,11 +485,11 @@ JOJOKA;
}]
},{
xtype: 'panel',
- title: 'Maintenence',
+ title: '{$Labels->GetLabel('_MAINTENENCE_')}',
height: PanelH - 283,
items:[{
xtype: 'button',
- text: 'Issue Sensor Full Reset',
+ text: '{$Labels->GetLabel('_SENS_DO_FULLR_')}',
width: '100%',
iconCls: 'srv_op_restart',
scale: 'large',
@@ -498,7 +498,7 @@ JOJOKA;
}
},{
xtype: 'button',
- text: 'Read All Settings from Sensor',
+ text: '{$Labels->GetLabel('_SENS_DO_READALL_')}',
width: '100%',
iconCls: 'srv_op_upload',
scale: 'large',
@@ -507,7 +507,7 @@ JOJOKA;
}
},{
xtype: 'button',
- text: 'Save All Settings to Sensor',
+ text: '{$Labels->GetLabel('_SENS_DO_SAVEALL_')}',
width: '100%',
iconCls: 'srv_op_download',
scale: 'large',
@@ -531,7 +531,7 @@ JOJOKA;
xtype:'button',
id: 'pickfiles_3',
width: '100%',
- text: 'Choose File',
+ text: '{$Labels->GetLabel('_CHOOSEF_')}',
listeners:{
afterrender: function(){
muploader = new plupload.Uploader({
@@ -603,7 +603,7 @@ JOJOKA;
forceFit: true
},
bbar: [{
- text: 'Clear',
+ text: '{$Labels->GetLabel('_CLEAR_')}',
id: 'uploads_clr_btn',
disabled: true,
handler: function(){
@@ -617,7 +617,7 @@ JOJOKA;
xtype:'button',
id: 'upload_files_btn',
disabled: true,
- text: 'Upload to Module',
+ text: '{$Labels->GetLabel('_UPLOA2MODULE_')}',
handler: function(){
if( muploader!= null ){
muploader.start();
@@ -629,7 +629,7 @@ JOJOKA;
xtype: 'panel',
height: 20
},{
- title: 'Files Saved on Module',
+ title: '{$Labels->GetLabel('_FISONMODULE_')}',
height: 200,
xtype: 'grid',
id: 'uploaded_grid',
@@ -647,7 +647,7 @@ JOJOKA;
forceFit: true
},
bbar: [{
- text: 'Clear',
+ text: '{$Labels->GetLabel('_CLEAR_')}',
id: 'oploaded_clr_btn',
disabled: false,
handler: function(){
@@ -657,7 +657,7 @@ JOJOKA;
uploaded_store_id = 0;
}
},{
- text: 'Reset Status',
+ text: '{$Labels->GetLabel('_RESETSTATUS_')}',
id: 'oploaded_rst_btn',
disabled: true,
handler: function(){
@@ -666,7 +666,7 @@ JOJOKA;
//uploaded_store_id = 0;
}
},{
- text: 'Issue Reset',
+ text: '{$Labels->GetLabel('_ISSURES_')}',
id: 'oploaded_sres_btn',
disabled: true,
handler: function(){
@@ -678,7 +678,7 @@ JOJOKA;
xtype:'button',
//disabled: true,
id: 'oploaded_snd_btn',
- text: 'Send to Sensor',
+ text: '{$Labels->GetLabel('_SENDTOSENS_')}',
handler: function(){
doDeviceOperation( {$CR['node_id']}, 120,'', true );
Ext.getCmp('uploaded_grid').hide();
@@ -708,7 +708,7 @@ JOJOKA;
}]
}],
bbar:[{
- text: 'Remove Sensor',
+ text: '{$Labels->GetLabel('_REMOVE_SENSOR_')}',
handler: function(){
doSensorOperation( {$CR['id']}, 255,'', true );
}
diff --git a/lib/defines.php b/lib/defines.php
index a0bad95..8698eb7 100644
--- a/lib/defines.php
+++ b/lib/defines.php
@@ -32,4 +32,16 @@ function microtime_float(){
$Script_Start_Time = microtime_float();
+$Site_Languages = array(
+ array( 'id'=>1, 'name'=>'English', 'rtl'=>false ),
+ array( 'id'=>1, 'name'=>'English', 'rtl'=>false ),
+ array( 'id'=>2, 'name'=>'Русский', 'rtl'=>false ),
+ array( 'id'=>3, 'name'=>'עברית', 'rtl'=>true ),
+ array( 'id'=>4, 'name'=>'Français', 'rtl'=>false ),
+ array( 'id'=>5, 'name'=>'日本語', 'rtl'=>false ),
+ array( 'id'=>6, 'name'=>'中国人', 'rtl'=>false ),
+ array( 'id'=>7, 'name'=>'Română', 'rtl'=>false ),
+);
+
+
?>
\ No newline at end of file
diff --git a/lib/javascript/jsapi_dynamic/mojo_dashboard.js b/lib/javascript/jsapi_dynamic/mojo_dashboard.js
index b93b8d4..35a7bdf 100644
--- a/lib/javascript/jsapi_dynamic/mojo_dashboard.js
+++ b/lib/javascript/jsapi_dynamic/mojo_dashboard.js
@@ -48,45 +48,45 @@ function log_sn_Renderer( value, meta, record ){
function log_et_Renderer( value, meta, record ){
var kaka = record.data.node_id % 3;
switch( value ){
- case 6: ov = 'Device Enters Into Study Mode'; break;
- case 7: ov = 'Device Is BUSY'; break;
- case 8: ov = 'Flip Complete'; break;
- case 9: ov = 'Scan Complete'; break;
- case 12: ov = 'Black 2D Target'; break;
- case 13: ov = 'White 2D Target'; break;
- case 36: ov = 'Region Of Interest'; break;
- case 39: ov = '[Train Filter] Check Target'; break;
- case 40: ov = '[Train Filter] Upper Sensor Detection'; break;
- case 41: ov = '[Train Filter] Bottom Sensor Detection'; break;
- case 42: ov = '[Train Filter] Train Detected'; break;
- case 43: ov = '[Train Filter] Train Updated'; break;
- case 44: ov = '[Train Filter] Suspicious Activity'; break;
- case 45: ov = '[Train Filter] Suspicious NACK'; break;
- case 46: ov = '[Train Filter] Regular Detection'; break;
- case 47: ov = '[Train Filter] Detection Disabled'; break;
- case 48: ov = '[Train Filter] Suspicious Detection'; break;
- case 49: ov = '[Train Filter] Differential Detection'; break;
- case 52: ov = 'Event Started'; break;
- case 53: ov = 'Event Ended'; break;
- case 54: ov = 'Event Closed Manual'; break;
- case 55: ov = 'Connected'; break;
- case 56: ov = 'Disconnection'; break;
- case 57: ov = 'Communication Jamed'; break;
- case 58: ov = 'Video Framerate Decreased'; break;
- case 59: ov = 'Video Framerate Increased'; break;
- default: ov = 'Event ['+value+']';
+ case 6: ov = '=$Labels->GetLabel('_EVT_MSG_STUMO_');?>'; break;
+ case 7: ov = '=$Labels->GetLabel('_EVT_MSG_BUMO_');?>'; break;
+ case 8: ov = '=$Labels->GetLabel('_EVT_MSG_FLIPO_');?>'; break;
+ case 9: ov = '=$Labels->GetLabel('_EVT_MSG_SCANC_');?>'; break;
+ case 12: ov = '=$Labels->GetLabel('_EVT_MSG_B2DTRG_');?>'; break;
+ case 13: ov = '=$Labels->GetLabel('_EVT_MSG_W2DTRG_');?>'; break;
+ case 36: ov = '=$Labels->GetLabel('_EVT_MSG_ROI_');?>'; break;
+ case 39: ov = '=$Labels->GetLabel('_EVT_MSG_TF_CT_');?>'; break;
+ case 40: ov = '=$Labels->GetLabel('_EVT_MSG_TF_USD_');?>'; break;
+ case 41: ov = '=$Labels->GetLabel('_EVT_MSG_TF_BSD_');?>'; break;
+ case 42: ov = '=$Labels->GetLabel('_EVT_MSG_TF_TD_');?>'; break;
+ case 43: ov = '=$Labels->GetLabel('_EVT_MSG_TF_TUPD_');?>'; break;
+ case 44: ov = '=$Labels->GetLabel('_EVT_MSG_TF_SUSPA_');?>'; break;
+ case 45: ov = '=$Labels->GetLabel('_EVT_MSG_TF_SUSPN_');?>'; break;
+ case 46: ov = '=$Labels->GetLabel('_EVT_MSG_TF_RD_');?>'; break;
+ case 47: ov = '=$Labels->GetLabel('_EVT_MSG_TF_DD_');?>'; break;
+ case 48: ov = '=$Labels->GetLabel('_EVT_MSG_TF_SUSPD_');?>'; break;
+ case 49: ov = '=$Labels->GetLabel('_EVT_MSG_TF_DIFD_');?>'; break;
+ case 52: ov = '=$Labels->GetLabel('_EVT_MSG_EVT_START_');?>'; break;
+ case 53: ov = '=$Labels->GetLabel('_EVT_MSG_EVT_END_');?>'; break;
+ case 54: ov = '=$Labels->GetLabel('_EVT_MSG_EVT_CLOMA_');?>'; break;
+ case 55: ov = '=$Labels->GetLabel('_EVT_MSG_CONNECTED_');?>'; break;
+ case 56: ov = '=$Labels->GetLabel('_EVT_MSG_DISCONNECTED_');?>'; break;
+ case 57: ov = '=$Labels->GetLabel('_EVT_MSG_COM_JAMED_');?>'; break;
+ case 58: ov = '=$Labels->GetLabel('_EVT_MSG_VIFDEC_');?>'; break;
+ case 59: ov = '=$Labels->GetLabel('_EVT_MSG_VIFINC_');?>'; break;
+ default: ov = '=$Labels->GetLabel('_EVENT_');?> ['+value+']';
};
return ''+ov+'
';
};
var log_ColModel_ops = {
columns: [
- {header: "Time", width: 100, fixed: true, align: 'left', css: 'vertical-align: middle;', dataIndex: 'dts' },
- {header: "Source", width: 100, renderer: log_sn_Renderer, align: 'left', css: 'vertical-align: middle;', dataIndex: 'node_name' },
- {header: "Type", width: 180, renderer: log_et_Renderer, fixed: false, align: 'center', css: 'vertical-align: middle;', dataIndex: 'type' },
- {header: "Range", width: 100, dataIndex: 'range' },
- {header: "Azimuth", width: 100, dataIndex: 'az' },
- {header: "Width", width: 100, dataIndex: 'width' },
+ {header: "=$Labels->GetLabel('_TIME_');?>", width: 100, fixed: true, align: 'left', css: 'vertical-align: middle;', dataIndex: 'dts' },
+ {header: "=$Labels->GetLabel('_SOURCE_');?>", width: 100, renderer: log_sn_Renderer, align: 'left', css: 'vertical-align: middle;', dataIndex: 'node_name' },
+ {header: "=$Labels->GetLabel('_TYPE_');?>", width: 180, renderer: log_et_Renderer, fixed: false, align: 'center', css: 'vertical-align: middle;', dataIndex: 'type' },
+ {header: "=$Labels->GetLabel('_RANGE_');?>", width: 100, dataIndex: 'range' },
+ {header: "=$Labels->GetLabel('_AZIMUTH_');?>", width: 100, dataIndex: 'az' },
+ {header: "=$Labels->GetLabel('_WIDTH_');?>", width: 100, dataIndex: 'width' },
],
defaults: {
sortable: false,
@@ -1157,7 +1157,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = 0;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Connection is Unavailable
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_DB_STAT_CON_UNA_');?>
');
break;
};
case 1:{
@@ -1185,7 +1185,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = 0;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Disconnected
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_DISCONNECTED_');?>
');
break;
};
case 2:{
@@ -1222,7 +1222,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = masksE;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Connected ... Geting Info
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_DB_STAT_CON_0_');?>
');
break;
};
case 3:{
@@ -1259,7 +1259,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = masksE;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Studing
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_DB_STAT_STUDY_');?>
');
break;
};
case 4:{
@@ -1296,7 +1296,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = masksE;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Ready
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_READY_');?>
');
break;
};
case 5:{
@@ -1333,7 +1333,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = masksE;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Alarmed
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_ALARMED_');?>
');
break;
};
case 6:{
@@ -1370,7 +1370,7 @@ function setStatus2D( a, status, masksE = 0, masks = 0 ){
masks_exist[a] = masksE;
};
var stat = Ext.getCmp('status_'+a );
- if( stat != undefined ) stat.update('Busy
');
+ if( stat != undefined ) stat.update('=$Labels->GetLabel('_BUSY_');?>
');
break;
};
};
diff --git a/lib/javascript/jsapi_dynamic/mojo_logs.js b/lib/javascript/jsapi_dynamic/mojo_logs.js
index df855aa..f89768b 100644
--- a/lib/javascript/jsapi_dynamic/mojo_logs.js
+++ b/lib/javascript/jsapi_dynamic/mojo_logs.js
@@ -97,9 +97,9 @@ var um_access_log_store = new Ext.data.JsonStore({
function um_action_renderer( val ){
switch( val ){
- case 1: return 'login';
- case 13: return 'Access Denied';
- case 145: return 'resize screen';
+ case 1: return '=$Labels->GetLabel("_LOGIN_");?>';
+ case 13: return '=$Labels->GetLabel("_ACCESS_DENIED_");?>';
+ case 145: return '=$Labels->GetLabel("_SCREEN_RESIZE_");?>';
};
return 'unknown action';
};
diff --git a/lib/javascript/jsapi_dynamic/mojo_main.js b/lib/javascript/jsapi_dynamic/mojo_main.js
index 76d45db..6a0cd4a 100644
--- a/lib/javascript/jsapi_dynamic/mojo_main.js
+++ b/lib/javascript/jsapi_dynamic/mojo_main.js
@@ -430,7 +430,7 @@ Ext.onReady(function(){
?>{
xtype: 'button',
id: 'snd_mode_btn',
- text: 'Sound',
+ text: '=$Labels->GetLabel('_SOUND_');?>',
iconCls: 'snd'+SoundMode,
scale: 'large',
style:'text-align: right;',
@@ -449,7 +449,7 @@ Ext.onReady(function(){
},{
xtype: 'button',
id: 'logout_btn',
- text: 'Logout',
+ text: '=$Labels->GetLabel('_LOGOUT_');?>',
iconCls: 'lout',
scale: 'large',
style:'text-align: right;',
diff --git a/lib/javascript/jsapi_dynamic/mojo_map.js b/lib/javascript/jsapi_dynamic/mojo_map.js
index a69d54b..f6a1512 100644
--- a/lib/javascript/jsapi_dynamic/mojo_map.js
+++ b/lib/javascript/jsapi_dynamic/mojo_map.js
@@ -759,7 +759,7 @@ function orientationEditor(){
if( orientationEditorWindow == null ){
orientationEditorWindow = new Ext.Window({
modal: true,
- title: 'Orientation',
+ title: '=$Labels->GetLabel('_ORIENTATION_');?>',
closeAction: 'hide',
width: 640,
height: 500,
@@ -1312,14 +1312,14 @@ function createNewMap(){
activeTab: 0,
items:[{
xtype: 'form',
- title: 'Internet Map',
+ title: '=$Labels->GetLabel('_INTER_MAP_');?>',
id: 'map_map_frm',
labelWidth: 250,
labelAlign: 'right',
height: 350,
items:[{
xtype: 'textfield',
- fieldLabel: 'Map Name',
+ fieldLabel: '=$Labels->GetLabel('_NAME_MAP_');?>',
name: 'map_name',
width: 540,
},{
@@ -1328,22 +1328,22 @@ function createNewMap(){
value: 1
},{
xtype: 'textfield',
- fieldLabel: 'Tiles URL Pattern',
+ fieldLabel: '=$Labels->GetLabel('_TILE_URL_MAP_');?>',
name: 'map_url',
width: 540,
},{
xtype: 'textfield',
- fieldLabel: 'Layer Attribution',
+ fieldLabel: '=$Labels->GetLabel('_LAYER_ATTRIB_');?>',
name: 'map_attr',
width: 540,
},{
xtype: 'textarea',
- fieldLabel: 'Description',
+ fieldLabel: '=$Labels->GetLabel('_DESCRIPTION_');?>',
name: 'map_desc',
width: 540,
},{
xtype: 'combo',
- fieldLabel: 'Max Zoom',
+ fieldLabel: '=$Labels->GetLabel('_MAX_ZOOM_');?>',
name: 'map_maxz',
editable: false,
typeAhead: true,
@@ -1360,7 +1360,7 @@ function createNewMap(){
displayField: 'zoom_l'
},{
xtype: 'combo',
- fieldLabel: 'Max Native Zoom',
+ fieldLabel: '=$Labels->GetLabel('_MAX_NATURAL_ZOOM_');?>',
name: 'map_maxnz',
editable: false,
typeAhead: true,
@@ -1378,7 +1378,7 @@ function createNewMap(){
}]
},{
xtype: 'form',
- title: 'Local Picture Map',
+ title: '=$Labels->GetLabel('_LOCAL_PIC_MAP_');?>',
id: 'map_pic_frm',
fileUpload: true,
height: 350,
diff --git a/lib/javascript/jsapi_dynamic/mojo_settings.js b/lib/javascript/jsapi_dynamic/mojo_settings.js
index a8ba2af..ac0d613 100644
--- a/lib/javascript/jsapi_dynamic/mojo_settings.js
+++ b/lib/javascript/jsapi_dynamic/mojo_settings.js
@@ -48,9 +48,9 @@ function progressRenderer( value, meta, record ){
var fileUploadsColModel_ops = {
columns: [
{header: "ID", width: 50, align: 'center', css: 'vertical-align: middle;', dataIndex: 'id' },
- {header: "File Name", width: 280, fixed: false, align: 'left', css: 'vertical-align: middle;', dataIndex: 'file_name' },
- {header: "Size", width: 80, align: 'left', css: 'vertical-align: middle;', dataIndex: 'size' },
- {header: "Progress", width: 150, renderer: progressRenderer, dataIndex: 'progress' },
+ {header: "=$Labels->GetLabel('_FILE_NAME_');?>", width: 280, fixed: false, align: 'left', css: 'vertical-align: middle;', dataIndex: 'file_name' },
+ {header: "=$Labels->GetLabel('_SIZE_');?>", width: 80, align: 'left', css: 'vertical-align: middle;', dataIndex: 'size' },
+ {header: "=$Labels->GetLabel('_PROGRESS_');?>", width: 150, renderer: progressRenderer, dataIndex: 'progress' },
{header: " ", width: 50, dataIndex: 'status3' }
],
defaults: {
@@ -62,12 +62,12 @@ var fileUploadsColModel_ops = {
};
function onModuleFileRenderer( value, meta, record ){
if( value == 0 ){
- rv = '
';
+ rv = '
';
} else {
if( value < 101 ){
- rv = '
';
+ rv = '
';
} else {
- rv = '
';
+ rv = '
';
};
};
return rv;
@@ -75,11 +75,11 @@ function onModuleFileRenderer( value, meta, record ){
var fileModuleColModel_ops = {
columns: [
{header: "ID", width: 50, align: 'center', css: 'vertical-align: middle;', dataIndex: 'id' },
- {header: "File Name", width: 60, fixed: false, align: 'left', css: 'vertical-align: middle;', dataIndex: 'file_name' },
- {header: "Size", width: 80, renderer: plupload.formatSize, align: 'left', css: 'vertical-align: middle;', dataIndex: 'size' },
- {header: "Time", width: 150, align: 'left', css: 'vertical-align: middle;', dataIndex: 'ts' },
- {header: "Status", width: 50, renderer: onModuleFileRenderer, dataIndex: 'status' },
- {header: "Memo", dataIndex: 'memo' }
+ {header: "=$Labels->GetLabel('_FILE_NAME_');?>", width: 60, fixed: false, align: 'left', css: 'vertical-align: middle;', dataIndex: 'file_name' },
+ {header: "=$Labels->GetLabel('_SIZE_');?>", width: 80, renderer: plupload.formatSize, align: 'left', css: 'vertical-align: middle;', dataIndex: 'size' },
+ {header: "=$Labels->GetLabel('_TIME_');?>", width: 150, align: 'left', css: 'vertical-align: middle;', dataIndex: 'ts' },
+ {header: "=$Labels->GetLabel('_STATUS_');?>", width: 50, renderer: onModuleFileRenderer, dataIndex: 'status' },
+ {header: "=$Labels->GetLabel('_MEMO_');?>", dataIndex: 'memo' }
],
defaults: {
sortable: false,
@@ -91,6 +91,78 @@ var fileModuleColModel_ops = {
var fileUploadsSelModel_ops = {
singleSelect: true
};
+var targetWidthTable_store = new Ext.data.ArrayStore({
+ autoDestroy: false,
+ storeId: 'width_table_store',
+ idIndex: 0,
+ fields: [
+ {name: 'id', type: 'int' },
+ {name: 'file_name', type: 'string'},
+ {name: 'size', type: 'int'},
+ {name: 'status', type: 'int'},
+ {name: 'ts', type: 'string' },
+ {name: 'memo', type: 'string' }
+ ]
+});
+var targetWidthTableColModel_ops = {
+ columns: [
+ {header: "=$Labels->GetLabel('_WIDTH_CORRECT_');?>", width: 250, align: 'left', css: 'vertical-align: middle;', dataIndex: 'width' },
+ {header: "=$Labels->GetLabel('_RANGE_');?>", width: 150, align: 'center', css: 'vertical-align: middle;', dataIndex: 'range' },
+ ],
+ defaults: {
+ sortable: false,
+ fixed: true,
+ menuDisabled: true
+ }
+};
+var widthTableAddDialog = null;
+function addWidthTableRecord( sensid ){
+ if( widthTableAddDialog == null ){
+ widthTableAddDialog = new Ext.Window({
+ title: '=$Labels->GetLabel('_ADD_NEW_WTR_');?>',
+ modal: true,
+ layout: 'form',
+ labelWidth: 150,
+ labelAlign: 'right',
+ items:[{
+ xtype: 'numberfield',
+ id: 'wt_ad_range_val',
+ fieldLabel: '=$Labels->GetLabel('_RANGE_');?> (%)',
+ value: '100'
+ },{
+ xtype: 'numberfield',
+ id: 'wt_ad_width_val',
+ fieldLabel: '=$Labels->GetLabel('_WIDTH_');?> (%)',
+ value: '100'
+ },{
+ xtype: 'button',
+ width: '100%',
+ text: '=$Labels->GetLabel('_ADD_');?>',
+ handler: function(){
+ var tRange = Ext.getCmp('wt_ad_range_val').getValue();
+ var tWidth = Ext.getCmp('wt_ad_width_val').getValue();
+ Ext.Ajax.request({
+ url: '/lib/controller/getDeviceWidthTable.php',
+ params: {
+ UID: =$UserID;?>,
+ SID: '=$Session;?>',
+ DID: sensid,
+ NWR: tRange,
+ NWW: tWidth
+ },
+ success: function( response, opts ){
+ var data = Ext.decode( response.responseText );
+ targetWidthTable_store.removeAll();
+ targetWidthTable_store.loadData( data.table );
+ },
+ failure: failureAJAXFunction
+ });
+ }
+ }]
+ });
+ };
+ widthTableAddDialog.show();
+};
function loadModuleFiles( sensorID ){
Ext.Ajax.request({
url: '/lib/controller/getDeviceFiles.php',
@@ -234,7 +306,7 @@ var addNPNWindow = null;
function addNewPhoneNumber(){
if( addNPNWindow == null ){
addNPNWindow = new Ext.Window({
- title: 'Add New Phone Number',
+ title: '=$Labels->GetLabel('_ADD_NEW_PHN_');?>',
modal: true,
closeAction: 'hide',
resizable: false,
@@ -246,13 +318,13 @@ function addNewPhoneNumber(){
labelAlign: 'right',
items: [{
xtype: 'textfield',
- fieldLabel: 'Name/Label',
+ fieldLabel: '=$Labels->GetLabel('_NAME_LABEL_');?>',
id: 'ph_name',
width: 220,
value: ''
},{
xtype: 'textfield',
- fieldLabel: 'Phone Number',
+ fieldLabel: '=$Labels->GetLabel('_PHONE_NUMBER_');?>',
id: 'ph_number',
width: 220,
validator: function( a ){
@@ -262,19 +334,19 @@ function addNewPhoneNumber(){
},{
xtype: 'radio',
id: 'r_ph_call',
- fieldLabel: 'Call Only',
+ fieldLabel: '=$Labels->GetLabel('_CALL_ONLY_');?>',
name: 'ph_cam',
checked: true,
value: '1'
},{
xtype: 'radio',
id: 'r_ph_msg',
- fieldLabel: 'SMS Only',
+ fieldLabel: '=$Labels->GetLabel('_SMS_ONLY_');?>',
name: 'ph_cam',
value: '0'
},{
xtype: 'textarea',
- fieldLabel: 'Custom Message',
+ fieldLabel: '=$Labels->GetLabel('_CUSTOM_MSG_');?>',
width: 220,
height: 130,
id: 'cus_sms',
@@ -303,7 +375,7 @@ function addNewPhoneNumber(){
if( data.success ){
} else {
Ext.Msg.show({
- title:'Error',
+ title:'=$Labels->GetLabel('_ERROR_');?>',
msg: data.msg,
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR//,
@@ -1038,10 +1110,10 @@ function addSensor(){
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
- [1,'ALS Sensor'],
- [2,'LFS Sensor'],
- [3,'PLS 200 Sensor'],
- [4,'PLS 360 Sensor']
+ [1,'ALS =$Labels->GetLabel('_SENSOR_');?>'],
+ [2,'LFS =$Labels->GetLabel('_SENSOR_');?>'],
+ [3,'PLS 200 =$Labels->GetLabel('_SENSOR_');?>'],
+ [4,'PLS 360 =$Labels->GetLabel('_SENSOR_');?>']
]
}),
valueField: 'mode',
@@ -1067,14 +1139,14 @@ function addSensor(){
store: new Ext.data.ArrayStore({
fields: ['range','range_txt'],
data: [
- [15,'15 Meters'],
- [35,'35 Meters'],
- [65,'65 Meters'],
- [75,'75 Meters'],
- [150,'150 Meters'],
- [200,'200 Meters'],
- [300,'300 Meters'],
- [350,'350 Meters']
+ [15,'15 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [35,'35 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [65,'65 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [75,'75 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [150,'150 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [200,'200 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [300,'300 =$Labels->GetLabel('_METERS_RANGE_');?>'],
+ [350,'350 =$Labels->GetLabel('_METERS_RANGE_');?>']
]
}),
valueField: 'range',
@@ -1188,18 +1260,18 @@ function addDetectedIPCam(){
},{
xtype: 'textfield',
id: 'ncam_ip',
- fieldLabel: 'Camera IP Address',
+ fieldLabel: '=$Labels->GetLabel('_CAM_IP_ADDRESS_');?>',
value: ''
},{
xtype: 'textfield',
id: 'ncam_user',
- fieldLabel: 'Access Login',
+ fieldLabel: '=$Labels->GetLabel('_ACCESS_LOGIN_');?>',
value: ''
},{
xtype: 'textfield',
id: 'ncam_pwd',
inputType: 'password',
- fieldLabel: 'Access Password',
+ fieldLabel: '=$Labels->GetLabel('_ACCESS_PASSWORD_');?>',
value: ''
},{
xtype: 'combo',
@@ -1346,7 +1418,7 @@ tPanel.add({
items: [{
xtype: 'panel',
id: 'gi_tab',
- title: 'General Info',
+ title: '=$Labels->GetLabel( '_GENERAL_NFO_' );?>',
layout: 'hbox',
items:[{
xtype: 'panel',
@@ -1523,7 +1595,7 @@ tPanel.add({
}]
},{
xtype: 'panel',
- title: 'Resources',
+ title: '=$Labels->GetLabel( '_RESOURCES_' );?>',
id: 'res_tab',
layout: 'hbox',
items:[{
@@ -1551,7 +1623,7 @@ tPanel.add({
}]
},{
xtype: 'panel',
- title: 'Modules',
+ title: '=$Labels->GetLabel( '_SERVER_MODULES_' );?>',
id: 'mod_tab',
layout: 'hbox',
items:[{
@@ -1561,11 +1633,11 @@ tPanel.add({
height: PanelH-15,
autoScroll: 'auto',
tbar:[{
- text: 'Add Module',
+ text: '=$Labels->GetLabel( '_ADD_MODULE_' );?>',
handler: function(){
var addModuleWindow = new Ext.Window({
id: 'huha_boa',
- title: 'Add Server Module',
+ title: '=$Labels->GetLabel( '_AS_MODULE_' );?>',
modal: true,
width: 400,
height: 300,
@@ -1617,12 +1689,12 @@ tPanel.add({
}]
}],
bbar:[{
- text: 'Cancel',
+ text: '=$Labels->GetLabel( '_CANCEL_' );?>',
handler: function(){
addModuleWindow.close();
}
},{
- text: 'Add Module',
+ text: '=$Labels->GetLabel( '_ADD_' );?>',
handler: function(){
var mtyp = Ext.getCmp('mod_type').getValue();
Ext.Ajax.request({
@@ -1672,7 +1744,7 @@ tPanel.add({
}]
},{
xtype: 'panel',
- title: 'Filters',
+ title: '=$Labels->GetLabel( '_TARGET_FILTERS_' );?>',
id: 'flt_tab',
layout: 'hbox',
items:[{
@@ -1682,11 +1754,11 @@ tPanel.add({
height: PanelH-15,
autoScroll: 'auto',
tbar:[{
- text: 'Add Filter',
+ text: '=$Labels->GetLabel( '_ADD_FILTER_' );?>',
handler: function(){
var addFilterWindow = new Ext.Window({
id: 'fulu_boa',
- title: 'Add Event Filter',
+ title: '=$Labels->GetLabel( '_ADD_EVT_FILTER_' );?>',
modal: true,
width: 400,
height: 300,
@@ -1738,12 +1810,12 @@ tPanel.add({
}]
}],
bbar:[{
- text: 'Cancel',
+ text: '=$Labels->GetLabel( '_CANCEL_' );?>',
handler: function(){
addFilterWindow.close();
}
},{
- text: 'Add Filter',
+ text: '=$Labels->GetLabel( '_ADD_' );?>',
handler: function(){
var mtyp = Ext.getCmp('flt_type').getValue();
Ext.Ajax.request({
@@ -1883,6 +1955,45 @@ function showSettingsSensors(){
loadAttachedSensors();
};
+function showSettingsDetection(){
+ stopStatusUpdater();
+
+ content_lvl1 = 1;
+ content_lvl2 = 4;
+ var tPanel = Ext.getCmp('main_content');
+ tPanel.removeAll( true );
+ tPanel.add({
+ xtype: 'panel',
+ id: 'sen_set',
+ layout: 'hbox',
+ tbar:[{
+ text: '=$Labels->GetLabel( '_SMM_ADD_LSEN_' );?>',
+ handler: function(){
+ addSensor();
+ }
+ }],
+ items:[{
+ xtype: 'panel',
+ id: 'sens_container',
+ flex: 1,
+ height: PanelH-15,
+ autoScroll: 'auto',
+ items:[]
+ },{
+ xtype: 'panel',
+ id: 'sens_op_small',
+ flex: 1,
+ height: PanelH-15,
+ layout: 'fit',
+ items:[{
+ html:'=$Labels->GetLabel('_PLS_SEL_LEFT_ITEM_');?>
'
+ }]
+ }]
+ });
+ tPanel.doLayout();
+ loadAttachedSensors();
+};
+
function editSensorHW( cid ){
SelectedSensor = cid;
Ext.Ajax.request({
@@ -1968,7 +2079,7 @@ function showSettingsVideo(){
activeTab: content_lvl3,
items: [{
xtype: 'panel',
- title: 'Detected Cameras',
+ title: '=$Labels->GetLabel('_CAM_DET_LIST_');?>',
id: 'cam_det_tab',
layout: 'hbox',
items:[{
@@ -1997,7 +2108,7 @@ function showSettingsVideo(){
},{
xtype: 'panel',
id: 'cam_ass_tab',
- title: 'Assigned Cameras',
+ title: '=$Labels->GetLabel('_CAM_ASS_LIST_');?>',
layout: 'hbox',
items:[{
xtype: 'panel',
@@ -2094,7 +2205,7 @@ function showSettingsApplication(){
height: 10
},{
xtype: 'textfield',
- fieldLabel: 'Instance Identity',
+ fieldLabel: '=$Labels->GetLabel( '_INSTANCE_ID_' );?>',
width: 300,
value: 'GetLabel( '_GEN_INSTANCE_ID_' );?>',
width: 500,
handler: function(){
doApplicationOperation( 3, 0 );
@@ -2263,7 +2374,7 @@ function showSettingsApplication(){
html: '
'
}]
},{
- title: 'Geo Locations',
+ title: '=$Labels->GetLabel('_GEO_LOCATION_');?>',
layout: 'column',
items:[{
columnWidth: 0.83,
@@ -2689,6 +2800,38 @@ function showSettingsUpgrade(){
tlInterval = window.setInterval( updateTaskStatus, 333 );
};
+function loadSensorDetectionSettings( sensid ){
+
+ Ext.Ajax.request({
+ url: '/lib/controller/getSensorDetectionEditor.php',
+ params: {
+ UID: =$UserID;?>,
+ SID: '=$Session;?>',
+ SEN: sensid
+ },
+ success: function( response, opts ){
+ var data = Ext.decode( response.responseText );
+ var tComp = Ext.getCmp('main_content');
+ if( data.status == 'ok' ){
+ if( tComp!= null ){
+ var content = Ext.decode( data.content );
+ tComp.removeAll( true );
+ tComp.add( content );
+ tComp.doLayout();
+ };
+ } else {
+ if( tComp!= null ){
+ tComp.removeAll( true );
+ tComp.add( data );
+ tComp.doLayout();
+ };
+ };
+ },
+ failure: function(){
+ }
+ });
+};
+
function initSettingsView(){
if( tlInterval!= null ){
window.clearInterval( tlInterval );
@@ -2806,28 +2949,38 @@ function initSettingsView(){
}Data['sipi_enable'] ) ){
+ $QS = "SELECT `name`, `aux_id` FROM `nodes` WHERE `type`>0 AND `type`<5";
+ $RR = $DATABASE->Query( $QS );
+ if( count( $RR ) ){
+ foreach( $RR as $CR ){
?>
{
xtype: 'button',
width: '100%',
- id:'go_singleIpi',
- text: '=$Labels->GetLabel('_EVT_MONITOR_IPI_');?>',
+ text: '=$CR['name'];?>',//'=$Labels->GetLabel('_EVT_MONITOR_IPI_');?>',
enableToggle: true,
pressed: ( content_lvl2 == 0 && content_lvl1 == 1 ),
allowDepress: false,
toggleGroup: 'det_settings',
- handler: loadSingleIPI
+ handler: function(){
+ loadSensorDetectionSettings( =$CR['aux_id'];?> );
+ }
},
+ {
+ xtype: 'spacer',
+ html: '=$Labels->GetLabel('_NO_SENSORS_DEF_');?>',
+ height: 32
+ },
+
{
- xtype: 'button',
- width: '100%',
- id:'go_out',
- text: '=$Labels->GetLabel('_LOGOUT_');?>',
- handler: doLogout
+ xtype: 'spacer',
+ height: 10
}]
diff --git a/lib/javascript/jsapi_dynamic/mojo_users.js b/lib/javascript/jsapi_dynamic/mojo_users.js
index f12173f..a4ba589 100644
--- a/lib/javascript/jsapi_dynamic/mojo_users.js
+++ b/lib/javascript/jsapi_dynamic/mojo_users.js
@@ -147,14 +147,14 @@ function addNewUser(){
},
items: [{
border: false,
- html: 'User Login:'
+ html: '=$Labels->GetLabel("_USER_LOGIN_");?>:'
},{
xtype: 'textfield',
id: 'um_ua_login',
width: 200
},{
border: false,
- html: 'New Password:'
+ html: '=$Labels->GetLabel("_NEW_PASSWORD_");?>:'
},{
xtype: 'textfield',
id: 'um_ua_pwd1',
@@ -162,7 +162,7 @@ function addNewUser(){
width: 200
},{
border: false,
- html: 'Repeate Password:'
+ html: '=$Labels->GetLabel("_REP_PASSWORD_");?>:'
},{
xtype: 'textfield',
id: 'um_ua_pwd2',
@@ -170,7 +170,7 @@ function addNewUser(){
width: 200
},{
border: false,
- html: 'Access Level:'
+ html: '=$Labels->GetLabel("_ACCESS_LEVEL_");?>:'
},{
xtype: 'combo',
id: 'um_ua_access',
@@ -184,7 +184,7 @@ function addNewUser(){
store: new Ext.data.ArrayStore({
id: 0,
fields: ['acc_lvl', 'displayText' ],
- data: [[2,'Minimal Access'],[4,'Operator'],[6,'Admin']]
+ data: [[2,'=$Labels->GetLabel("_ACCESS_MINIMAL_");?>'],[4,'=$Labels->GetLabel("_ACCESS_OPERATOR_");?>'],[6,'=$Labels->GetLabel("_ACCESS_ADMIN_");?>']]
}),
valueField: 'acc_lvl',
displayField: 'displayText'
@@ -359,14 +359,14 @@ function editSelectedUser(){
},
items: [{
border: false,
- html: 'User Login:'
+ html: '=$Labels->GetLabel("_USER_LOGIN_");?>:'
},{
xtype: 'textfield',
id: 'um_ue_login',
width: 200
},{
border: false,
- html: 'New Password:'
+ html: '=$Labels->GetLabel("_NEW_PASSWORD_");?>:'
},{
xtype: 'textfield',
id: 'um_ue_pwd1',
@@ -374,7 +374,7 @@ function editSelectedUser(){
width: 200
},{
border: false,
- html: 'Repeate Password:'
+ html: '=$Labels->GetLabel("_REP_PASSWORD_");?>:'
},{
xtype: 'textfield',
id: 'um_ue_pwd2',
@@ -382,7 +382,7 @@ function editSelectedUser(){
width: 200
},{
border: false,
- html: 'Access Level:'
+ html: '=$Labels->GetLabel("_ACCESS_LEVEL_");?>:'
},{
xtype: 'combo',
id: 'um_ue_access',
@@ -396,7 +396,7 @@ function editSelectedUser(){
store: new Ext.data.ArrayStore({
id: 0,
fields: ['acc_lvl', 'displayText' ],
- data: [[2,'Minimal Access'],[4,'Operator'],[6,'Admin'],[10,'Factory Defined']]
+ data: [[2,'=$Labels->GetLabel("_ACCESS_MINIMAL_");?>'],[4,'=$Labels->GetLabel("_ACCESS_OPERATOR_");?>'],[6,'=$Labels->GetLabel("_ACCESS_ADMIN_");?>'],[10,'=$Labels->GetLabel("_ACCESS_FACTORY_");?>']]
}),
valueField: 'acc_lvl',
displayField: 'displayText'
diff --git a/lib/js_asm.php b/lib/js_asm.php
index 3c0a7c4..a97c98e 100644
--- a/lib/js_asm.php
+++ b/lib/js_asm.php
@@ -50,7 +50,8 @@ require_once('php/db/logio_class.php');
$LOG = new Logio( LOG_LVL_ALL );
require_once('php/db/user_class.php');
require_once('php/auth/web.php');
-require_once('php/db/language_class.php');
+//require_once('php/db/language_class.php');
+require_once('php/db/language_json_class.php');
//require_once('php/sys/SYSTEM_functions.php');
require_once('php/ui/UI_functions.php');
//require_once('php/web/WEB_functions.php');
@@ -62,11 +63,13 @@ if( isset($_GET['Lang'])){
if ($UCL) $_SESSION['userlang']=$UCL; else $_SESSION['userlang']=$UserLang;
}
-$LDB = new SQLite_DB( '/srv/www/web/lib/controller/data/lang_en_US.db');
+//$LDB = new SQLite_DB( '/srv/www/web/lib/controller/data/lang_en_US.db');
if( isset($_SESSION['userlang']) ){
- $Labels=new Language( $_SESSION['userlang'],'', $LDB );
+ //$Labels=new Language( $_SESSION['userlang'],'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$_SESSION['userlang'].'.json');
} else {
- $Labels=new Language( $UserLang ,'', $LDB );
+ //$Labels=new Language( $UserLang ,'', $LDB );
+ $Labels=new Language_json( '/srv/www/web/lib/'.$UserLang.'.json');
};
if( $UserLang == 3 || $UserLang == 255 ){
diff --git a/lib/php/db/language_json_class.php b/lib/php/db/language_json_class.php
new file mode 100644
index 0000000..371c813
--- /dev/null
+++ b/lib/php/db/language_json_class.php
@@ -0,0 +1,24 @@
+FileName = $FN;
+ $DOP = file_get_contents( $FN );
+ $this->Labels = json_decode( $DOP, true );
+ }
+ function GetLabel($LabelKey){
+ if (isset($this->Labels[$LabelKey])){
+ return $this->Labels[$LabelKey];
+ } else return $LabelKey;
+ }
+ function AddLabel($LabelKey, $LabelText ){
+ $this->Labels[$LabelKey] = $LabelText;
+ $FD = fopen( $this->FileName, "w+" );
+ fprintf( $FD, json_encode( $this->Labels ) );
+ fclose( $FD );
+ }
+};
+
+
+?>
\ No newline at end of file
diff --git a/style/assets/20f21b4f01f1b7587f728b05dfc9f4aa.png b/style/assets/20f21b4f01f1b7587f728b05dfc9f4aa.png
index fdcbd1d..82dbbd1 100644
Binary files a/style/assets/20f21b4f01f1b7587f728b05dfc9f4aa.png and b/style/assets/20f21b4f01f1b7587f728b05dfc9f4aa.png differ