From 4543422b858a8d4401eec242f82064509a7d4e79 Mon Sep 17 00:00:00 2001 From: Evgeny Gagua Date: Thu, 30 Nov 2023 08:02:18 -0800 Subject: [PATCH] MER UI finish stage 1 --- lib/1.json | 2 +- lib/controller/addMap.php | 17 ++- lib/controller/dash/node_3.js | 2 +- lib/controller/delWidthTableRecord.php | 13 +++ lib/controller/doApplicationOperation.php | 35 +++++- lib/controller/doSensorOperation.php | 66 +++++++---- lib/controller/getReportLayout.php | 13 ++- lib/controller/getSensorDetectionEditor.php | 110 ++++++++++-------- lib/controller/getSensorEditor.php | 98 ++++++++++++++-- lib/controller/updateMap.php | 23 +++- lib/controller/validateUserSession.php | 13 +++ .../jsapi_dynamic/mojo_dashboard.js | 33 +++--- .../jsapi_dynamic/mojo_global_vars.js | 2 +- lib/javascript/jsapi_dynamic/mojo_main.js | 9 +- lib/javascript/jsapi_dynamic/mojo_map.js | 51 ++++---- lib/javascript/jsapi_dynamic/mojo_settings.js | 50 +++++--- 16 files changed, 385 insertions(+), 152 deletions(-) create mode 100644 lib/controller/delWidthTableRecord.php diff --git a/lib/1.json b/lib/1.json index a027604..e0bf19b 100644 --- a/lib/1.json +++ b/lib/1.json @@ -1 +1 @@ -{"___ENABLED__":"Enabled","__ADD__":"Add","__DISABLED__":"Disabled","__LOGIN__":"Login","__LOGIN_ID__":"Login ID","__LOGOUT__":"Logout","__OFFLINE__":"Offline","__ONLINE__":"Online","__PAGEWASGENIN__":"The page was generated in","__PASSWORD__":"Password","__PTZ_CONTROL__":"PTZ Control","__SECOND__":"second","__SECONDS__":"seconds","__SSl_DOWNLOAD__":"Please Download our Root CA certificate and Install it into your System (see instructions below)","__SSl_NO_CERT__":"The Working Certificate for %IP% Not Installed.","__SSl_WELCOME__":"For Security Reason and smooth workink via SSL encryption we provide SSL Certificato to install into Client Computer","__UPLOAD__":"Upload","__ZERO_SHIFT__":"Zero Shift","_ACC_LOG_":"Security Log","_ACCESS_ADMIN_":"Admin","_ACCESS_DENIED_":"Access Denied","_ACCESS_FACTORY_":"Factory Defined","_ACCESS_LEVEL_":"Access Level","_ACCESS_LOGIN_":"Access Login","_ACCESS_MINIMAL_":"Minimal Access","_ACCESS_OPERATOR_":"Operator","_ACCESS_PASSWORD_":"Access Password","_ACTION_":"Action","_ADD_":"Add","_ADD_CAM_DIAL_TTL_":"Add IP Camera","_ADD_CAMERA2SITE_":"Add Camera to Site","_ADD_CONNECTION_":"Add Connection","_ADD_E2U_DIAL_TTL_":"Add Ethernet To Serial Adapter","_ADD_EVT_FILTER_":"Add Event Filter","_ADD_FILTER_":"Add Filter","_ADD_IP_CAMERA_":"Add IP Camera","_ADD_MEDIA_SERVER_":"Add Media Server","_ADD_MODULE_":"Add Module","_ADD_NEW_PHN_":"Add New Phone Number","_ADD_NEW_WTR_":"Add New Record","_ADD_REMOTE_UART_":"Add Remote UART","_ADD_USER_":"Add User","_ADM_SETTINGS_":"Admin Settings","_ADMIN_":"Admin","_ADV_TAB_":"Advanced Settings","_AJX_REQFAILURE_":"Ajax Request failed!","_ALARMED_":"Alarmed","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Analogue Video Sources","_APLY_DBBACKUP_":"Restore","_APP_TITLE_":"Argus Security System","_APPLICA_MNGMNT_":"Application Settings","_APPLY_CHANGES_":"Apply Changes","_APPLY_SETTINGS_":"Apply Settings","_AS_MODULE_":"Add Server Module","_ASSIGN_CAMERA_":"Assign Camera","_AUTH_MODE_0_":"Authorization Mode","_AXIS_ROT_":"Axis Rotation","_AZIMUTH_":"Azimuth","_BACKUP_SETTINGS_":"Backup\/Restore","_BOT_PIC_BOUND_":"Bottom Picture Boundary (pixels)","_BOTTOM_SENSOR_":"Bottom Sensor","_BROWSE_":"Browse","_BTN_CLR_AHIST_":"Clear All History","_BTN_CLR_SELECTED_":"Clear Selected","_BUSY_":"Busy","_CAC_TAB_":"Credentials","_CALL_ONLY_":"Call Only","_CAM_AH_TIME_":"Time After Alarm","_CAM_AH_TOKEN_":"Home Preset Token","_CAM_ASS_LIST_":"Assigned Cameras","_CAM_AUTO_HOMING_":"Enable Automatic Home Return","_CAM_DET_LIST_":"Detected Cameras","_CAM_FIXEDZ_":"Fixed Zoom","_CAM_FOCALL_":"Focal Length","_CAM_IP_ADDRESS_":"Camera IP Address","_CAM_LABEL_":"Camera Label","_CAM_LENS_SETTINGS_":"Lens Settings","_CAM_MAP_NAME_":"Camera Name","_CAM_PANANGS_":"Tottal Pan Angles","_CAM_PANMOD_":"Pan Model","_CAM_PROTO_ID_":"Camera ID","_CAM_PTZ_AAC_":"PTZ Auto Axeleration","_CAM_PTZ_MAC_":"PTZ Manual Axeleration","_CAM_SENS_SIZE_":"Sensor Size","_CAM_TILTANGS_":"Tottal Tilt Angles","_CAM_TILTMOD_":"Tilt Model","_CAM_TM_ALL_":"All Targets","_CAM_TM_ALL_FAR_":"ALL Far","_CAM_TM_ALL_NEAR_":"All Near","_CAM_TM_REGULAR_":"Regular","_CAM_TM_REVERSED_":"Reversed","_CAM_TM_RSHIFTED_":"Rev-Shifted","_CAM_TM_SHIFTED_":"Shifted","_CAM_TM_STRICT_VISIBLE_":"Strict Visible Targets","_CAM_TRIGGERING_MODE_":"Alarm Triggering Mode","_CAM_VARIOZ_":"Variable Zoom","_CAM_ZOOMR_":"Zoom Ratio","_CAMERA_MNGMNT_":"Cameras","_CANCEL_":"Cancel","_CHOOSEF_":"Choose File","_CLEAR_":"Clear","_CLEAR_ALARM_":"Clear Alarm","_CLEAR_SITE_":"Delete All","_CLOSE_":"Close","_CON_2_IP_CAM_":"Connect to IP Camera","_CONNECT_2_":"Connect to","_CONNECT_2_SEL_":"Connect To Selected","_CREA_ANAL_CAM_":"Create Analog Camera","_CREATE_CUSTOM_MAP_":"Creeate Custom Map","_CREATE_NEW_LBL_":"Create New","_CREATED_":"Created","_CTL_SERVER_NODE_":"Control Server Node","_CUSTOM_MSG_":"Custom Message","_DASHBOARD_":"Dashboard","_DATETIME_":"Time","_DB_BACKUP_":"Select Restore File","_DB_FILE_HAS_DOWNLOADED_":"Settings File has been Downloaded","_DB_STAT_CON_0_":"Connected ... Geting Info","_DB_STAT_CON_UNA_":"Connection is Unavailable","_DB_STAT_STUDY_":"Studing","_DB_UPLOAD_BACKUP_":"Uploading Settings","_DC_AUTO_ENA_":"Enable Dry Contact Control","_DC_CONTROL_SET_":"Dry Contact Control","_DC_TIME_WINDOW_":"Dry Contact Time Window","_DC_WM_NC_":"Normally Close","_DC_WM_NO_":"Normally Open","_DC_WORK_MODE_":"Dry Contact Work Mode","_DEBUGGING_MODE_":"Debugging Mode","_DEL_SELECTED_":"Delete Selected","_DEL_USER_":"Remove User","_DELETE_":"Delete","_DESCRIPTION_":"Description","_DET_GENWORKS_":"General Tasks","_DET_IP_CAMERA_LST_":"Detected IP Cameras List","_DET_SENSITIVITY_":"Detection Sensitivity Profile","_DET_SET_WIDTH_T_":"Width Table","_DET_SETTINGS_":"Detection Settings","_DEV_ACK_BTN_":"Acknowledge","_DEV_ACK_BTN2_":"Acknowledged","_DEV_ACK_START_":"Are you sure want to acknowledge current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel acknowledge?","_DEV_CTLPANEL_SHRT_":"Device Control","_DEV_ITYPE_FLD_":"Sensor Installed","_DEV_MISTMATT1_":"Please decide what to do","_DEV_PL_ANG_":"At an Angle","_DEV_PL_HORI_":"Horizontally","_DEV_PL_VERT_":"Vertically","_DEV_RANGE_FLD_":"Max Range","_DEV_TYPE_3D_":"3DLRF Sensor","_DEV_TYPE_ALS_":"ALS Sensor","_DEV_TYPE_FLD_":"Sensor Type","_DEV_TYPE_LFS_":"LFS Sensor","_DEV_TYPE_NPLS200_":"New PLS200 Sensor (Network)","_DEV_TYPE_PLS200_":"PLS200 Sensor","_DEV_TYPE_PLS360_":"PLS360 Sensor","_DEVICE_IP_":"IP Address","_DEVICE_NAME_":"Device Name","_DEVICE_PORT_":"Port","_DISCONNECTED_":"Disconnected","_DLG_ADD_3DSENS_":"Add 3DLRF Sensor","_DLG_ADD_ALS_":"Add ALS Sensor","_DLG_ADD_LFS_":"Add LFS Sensor","_DLG_ADD_PLS200_":"Add PLS200 Sensor","_DLG_ADD_PLS360_":"Add PLS360 Sensor","_DLG_CON_SEVER_NODE_":"Will be Connected to","_DOWNLOAD_SETTINGS_":"Download Current Settings","_DRAW_BACKGROUND_":"Draw Background","_EDIT_":"Edit","_EDIT_CUR_MAP_":"Edit Current Map","_EDIT_LRF3D_SETTINGS_":"Edit Lidar 3D Settings","_EDIT_USER_":"Edit User","_EDIT_USER_CRACCES_":"Edit User Credentials and Access","_EDT_CONNECTIONS_":"Edit Connections","_EDT_LOCATIONS_":"Edit Locations","_EMBED_VIDEO_ENCODER_":"Embed Video Encoder Module","_ERROR_MSG_":"Error Message","_EVE_COMPRESS_QUA_":"Compression Quality","_EVE_DESC_LOO_":"Video Encoder Module provides Imaging Capture functionality to ARGUS server. Can capture Analog Video from USB grabber\/USB WebCam or Digital Stream from IP Camera","_EVE_DESC_SHO_":"LibAV(ffmpeg) Internal Video Encoder","_EVE_FONT_LBL_":"Font Type","_EVE_FONT_TS_":"Font Type","_EVE_LBL_FSCALE_":"Label Font Scale","_EVE_LBL_FTHICK_":"Label Font Thickness","_EVE_LBL_LINE_T_":"Label Line Type","_EVE_LBL_POSX_":"Label X","_EVE_LBL_POSY_":"Label Y","_EVE_LOGO_HEIGHT_":"Logo Height","_EVE_LOGO_POSX_":"Logo X","_EVE_LOGO_POSY_":"Logo Y","_EVE_LOGO_WIDTH_":"Logo Width","_EVE_PORT_":"Web Access Port","_EVE_SHOW_LBL_":"Show Label","_EVE_SHOW_LOGO_":"Show Custom Logo","_EVE_SHOW_TS_":"Show TimeStamp","_EVE_TRANSO_LBL_":"Transparent BG","_EVE_TRANSO_TS_":"Transparent BG","_EVE_TS_FSCALE_":"Font Scale","_EVE_TS_FTHICK_":"Font Thickness","_EVE_TS_LINE_T_":"Font Line Type","_EVE_TS_POSX_":"TimeStamp X","_EVE_TS_POSY_":"TimeStamp Y","_EVENT_":"Event","_EVENT_LOG_":"Event Log","_EVT_ARCHIVE_":"Events Archive","_EVT_MONITOR_":"Live Monitor","_EVT_MONITOR_IPI_":"SingleIPI Mode","_EVT_MSG_ACKOFF_":"Acknowledge Mask Deleted","_EVT_MSG_ACKON_":"Acknowledge Mask Added","_EVT_MSG_B2DTRG_":"Black 2D Target","_EVT_MSG_BUMO_":"Device Is BUSY","_EVT_MSG_COM_JAMED_":"Communication Jamed","_EVT_MSG_CONNECTED_":"Connected","_EVT_MSG_DISCONNECTED_":"Disconnection","_EVT_MSG_EVT_CLOMA_":"Event Closed Manual","_EVT_MSG_EVT_END_":"Event Ended","_EVT_MSG_EVT_START_":"Event Started","_EVT_MSG_FLIPO_":"Flip Complete","_EVT_MSG_MASKOFF_":"Turning Off Masking Area","_EVT_MSG_MASKON_":"Turning On Masking Area","_EVT_MSG_ROI_":"Region Of Interest","_EVT_MSG_SCANC_":"Scan Complete","_EVT_MSG_STUMO_":"Device Enters Into Study Mode","_EVT_MSG_TF_BSD_":"[Train Filter] Bottom Sensor Detection","_EVT_MSG_TF_CT_":"[Train Filter] Check Target","_EVT_MSG_TF_DD_":"[Train Filter] Detection Disabled","_EVT_MSG_TF_DIFD_":"[Train Filter] Differential Detection","_EVT_MSG_TF_RD_":"[Train Filter] Regular Detection","_EVT_MSG_TF_SUSPA_":"[Train Filter] Suspicious Activity","_EVT_MSG_TF_SUSPD_":"[Train Filter] Suspicious Detection","_EVT_MSG_TF_SUSPN_":"[Train Filter] Suspicious NACK","_EVT_MSG_TF_TD_":"[Train Filter] Train Detected","_EVT_MSG_TF_TUPD_":"[Train Filter] Train Updated","_EVT_MSG_TF_USD_":"[Train Filter] Upper Sensor Detection","_EVT_MSG_VIFDEC_":"Video Framerate Decreased","_EVT_MSG_VIFINC_":"Video Framerate Increased","_EVT_MSG_W2DTRG_":"White 2D Target","_FACT_DEFAULT_":"Set by Factory","_FACTORY_RESET_":"Reset to Factory Defaults","_FHM_PROPS_":"FlyHunter Module Properties","_FILE_NAME_":"File Name","_FISONMODULE_":"Files Saved on Module","_FOUNDER_":"Founder","_FRAME_FORMAT_":"Frame Format","_FRAME_SIZE_":"Frame Size","_FROM_ANCH_":"from Anchor","_FUSION_ENGINE_":"Fusion Engine","_GEN_INSTANCE_ID_":"Generate New Identity","_GENERAL_":"General","_GENERAL_NFO_":"General Info","_GEO_LOCATION_":"Geo Locations","_GO_HOME_":"Go Home","_GUEST_":"Guest","_HARDWARE_":"Hardware","_ID_":"id","_INFO_":"Information","_INFO_MSG_":"Information Message","_INSTANCE_ID_":"Instance Identity","_INTER_MAP_":"Internet Map","_ISSURES_":"Issue Reset","_KAFKA_BROKER_":"Kafka Broker","_KAFKA_DESC_LOO_":"Sends Events from ARGUS server to a KAFKA Broker Node","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Kafka Topics and Events","_LAST_ACCESS_":"Last Access","_LAT_SHORT_LBL_":"Lat","_LAYER_ATTRIB_":"Layer Attribution","_LEFT_PIC_BOUND_":"Left Picture Boundary (pixels)","_Loading_Calo_":"Loading Dates","_LOC_MAP_LBL_":"Location Map","_LOC_TAB_":"Location\/Orientation","_LOCAL_PIC_MAP_":"Local Picture Map","_LOCK_USER_":"Lock User","_LOGIN_":"Login","_LOGIN_0_":"Login:","_LOGOUT_":"Logout","_LON_SHORT_LBL_":"Lon","_MA_CIRCLE__":"Circular","_MA_ROUND_":"Square","_MAINTENENCE_":"Maintenence","_MANUADD_CAMERA_":"Manually add IP Camera","_MAP_":"Map","_MAP_CENTER_MODE_":"Map Centre Mode","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (reqires Internet)","_MAP_TYP_LBL_":"Map Type","_MAP_WIDTH_":"Map Width (meters)","_MAS_LRF_DET_SET_":"Master LRF Detection Settings","_MASK_EDITOR_":"Mask Editor","_MASK_MANAGER_":"Masking Management","_MAX_NATURAL_ZOOM_":"Max Natural Zoom","_MAX_ZOOM_":"Max Zoom","_MEMO_":"Memo","_METERS_":"Meters","_METERS_RANGE_":"Meters","_MOD_NO_NEDCONF_":"Module does not need to be configured.","_MODEM_DESC_LOO_":"Provides WAN connectivity over cellular networks (UMTS, 4G, LTE). Also sends Events via SMS","_MODEM_DESC_SHO_":"Cellular Modem Manager","_MODULE_":"Module","_MONIT_LAYOUT_":"Monitoring Layout","_MONITORING_":"Monitoring","_MSG_CAM_NOT_ASS_":"Camera is Not Assigned to the System","_MSG_CAM_PROC_2_SET_":"Proceed to Cameras Settings to Assign One","_MSG_CAM_PROC_NOT_ASS_":"Camera is Not Assigned to the SystemPlease Assign One","_MSG_SELITEMFROMMAP_":"Select Item From Map","_NAME_LABEL_":"Name\/Label","_NAME_MAP_":"Map Name","_NET_SETTINGS_":"Connections","_NEW_PASSWORD_":"New Password","_NO_PTZ_":"No PTZ Control","_NO_SENSORS_DEF_":"No Sensors Defined","_NO_UARTS_DEF_":"No UART Defined","_OK_":"Ok","_ONVIF_DESC_LOO_":"OnVif module allows you to discover and communicate with the network cameras which supports the ONVIF specifications on the same subnet.","_ONVIF_DESC_SHO_":"OnVif LAN Discovery Module","_ORIENTATION_":"Orientation","_OUTPUT_FRAME_SIZE_":"Output Frame Size","_PASSWORD_0_":"Password:","_PHONE_NUMBER_":"Phone Number","_Please_Wait_":"Please Wait","_PLS_CONFIRM_":"Please Confirm","_PLS_SEL_CAL_DATE_":"Please Select a Date from the Calendar from the right","_PLS_SEL_LEFT_ITEM_":"Please select item from the left to view more info.","_POINTER_":"[ptr]","_POSITION_":"Position","_PROF_SETTINGS_":"Profile Settings","_PROGRESS_":"Progress","_PROPERTIES_":"Properties","_PROTO_DEVICE_ID_":"Protocol ID","_PROV_CAC_":"Please Provide Camera Access Credentials.","_PTZ_TAB_":"PTZ Settings","_QERY_MSG_":"Question Message","_RANGE_":"Range","_READY_":"Ready","_READY_TO_UPLO_":"Ready to Upload","_REGULAR_":"Regular","_RELOAD_":"Reload","_REMOVE_CAMERA_":"Remove Camera","_REMOVE_SENSOR_":"Remove Sensor","_REP_PASSWORD_":"Repeate Password","_REPO_HISTORY_":"Reports\/History","_REQ_FAILURE_":"Failure","_RES_ETHERNET_DESC_":"Ethernet Network Adapter","_RES_EZ_UART_DESC_":"UART connected via Ethernet","_RES_HW_UART_DESC_":"UART connected to a Server Appliance","_RES_INFO_":"Resource Information","_RES_WAN_DESC_":"WAN Adapter (Broadband Internet)","_RES_WIFI_DESC_":"WiFi Network Adapter","_RESETSTATUS_":"Reset Status","_RESOURCES_":"Resources","_RIGHT_PIC_BOUND_":"Right Picture Boundary (pixels)","_RSET_CREDENTIALS_":"Reset Credentials","_RUS_DELETE_MODULE_":"Are you sure delete Module?","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Acknowledge Size","_SENS_ACKT_":"Default Acknowledge Shape","_SENS_APPLY_RES_":"Apply To Device and Reset","_SENS_AUTOR_ENA_":"Auto Reset Enabled","_SENS_AUTOR_INTER_":"Auto Reset Interleave","_SENS_AUTOR_TO_":"Auto Timeout","_SENS_BZSHIFT_":"Board Zero Shift","_SENS_DEL_FROTH_":"Delete Frozen Threshold","_SENS_DIS_FROTH_":"Disable Frozen Threshold","_SENS_DO_FULLR_":"Issue Sensor Full Reset","_SENS_DO_READALL_":"Read All Settings from Sensor","_SENS_DO_SAVEALL_":"Save All Settings to Sensor","_SENS_ENA_FROTH_":"Enable Frozen Threshold","_SENS_FFTH_":"Freeze First Threshold","_SENS_FIN_FROTH_":"Finish Frozen Threshold Study","_SENS_HTEMP_":"Heater Temperature","_SENS_JUMODI_":"Just Moving Distance","_SENS_JUMORA_":"Just Moving Radial","_SENS_JUMOTA_":"Just Moving Targets","_SENS_NOBLA_":"No Black Targets","_SENS_SCANSPEED_":"Scan Speed","_SENS_SFTH_":"Save First Threshold","_SENS_STATUS_":"Sensor's Status","_SENSOR_CONNECTION_":"Sensors","_SENSOR_MAX_RANGE_":"Max Range","_SENSOR_PLACE_":"Sensor Placeholder","_SERIAL_":"Serial","_SERV_CTLPANEL_SHRT_":"Server Control","_SERV_FACTORY_DESC_":"Restore factory settings, clear database and detection settings","_SERV_FACTORY_OP_":"Restore Factory Settings","_SERV_FACTORY_QM_":"All settings will be clearedThe only admin<\/b> user will be preserved.The Report History will be keept intact.","_SERV_HW_DET_DESC_":"Run a hardware discovery process to recognize recently connected devices such as a USB serial port or USB video.","_SERV_HW_DET_OP_":"Detect new Hardware","_SERV_HW_DET_QM_":"Are you sure to run a hardware discovery process.That will prevent detection events for few seconds.","_SERV_HW_DET_QT_":"Hardware Detection","_SERV_LOG_":"Server Log","_SERV_OSRESET_DESC_":"Restart the host operating system to apply any recent system configuration changes","_SERV_OSRESET_OP_":"Restart Host Computer","_SERV_RESTART_DESC_":"Restart the management application to initialize all components and apply any configuration changes.","_SERV_RESTART_OP_":"Restart Control Application","_SERV_RESTART_QM_":"Are you sure to restart control application?","_SERV_RESTART_QT_":"Restart Backend","_SERVER_MODULES_":"Modules","_SET_CHANGED_WOULD_SAVE_":"Some Settings are ChangedThay will be Unsaved!","_SET_CREDENTIALS_":"Set Credentials","_SETTING_SAVE_OK_":"All changes saved sucessfully","_SETTINGS_":"Settings","_SETTINGS_CHANGED_":"Settings Changed","_SITE_DEL_ALL_ABO_":"Are you sure to delete all devices and settings?","_SITE_PROP_LBL_":"Site Properties","_SITE_TITLE_":"ARGUS Security System","_SIZE_":"Size","_SLV_LRF_DET_SET_":"Slave LRF Detection Settings","_SMM_ADD_ADDIT_":"Add Additional Equipment","_SMM_ADD_LSEN_":"Add Laser Sensor","_SMS_ONLY_":"SMS Only","_SND_FILES2_DEV__":"Send Files to Device","_SOUND_":"Sound","_SOURCE_":"Source","_SSDP_DESC_LOO_":"SSDP announcer allows you announce on your LAN a ARGUS server","_SSDP_DESC_SHO_":"SSDP announcer daemon for UPnP\/DLNA","_SSL_CERT_INVALID__":"Provided Certificate is Invalid","_SSL_CERT_IP_NO_":"Provided Certificate Valid For Other IP Address","_SSL_CERT_VALID_INSTA":"The Certificate is Valid and will be applied intact (it will take few minutes). The System is going to reboot.","_SSL_NO_EXT_CERT_":"No x509 Extensions defined in Certificate","_SSL_NO_IP_CERT_":"No Ip Addresses in Certificate","_SSL_PROVIDE_CERT_":"Please Provide Valid Certificate for %IP% signed by Dr. Frucht Systems.<\/br>You may request one at www.smartsecsystems.com<\/a>","_SSL_VALID_BUT_":"The Certificate is Valid. However:","_STATIC_CONNECTION_":"Static Connection","_STATUS_":"Status","_STREAMS_":"Streams","_STUDY_BACKGROUND_":"Study Background","_SUCCESS_":"Success","_SWU_DASHBOARD_":"Software Update Management","_SYS_ANCHORT_LBL_":"System Anchor","_SYS_DASHBOARD_":"System Overview","_SYS_GENERAL_":"General","_SYS_MAP_":"System Map","_SYS_SETTINGS_":"System Settings","_TARGET_FILTERS_":"Filters","_TARGETING_TAB_":"Alarm Settings","_TCP_CLIENT_":"TCP Client","_TCP_SERVER_":"TCP Server","_TILE_URL_MAP_":"Tiles URL Pattern","_TIME_":"Time","_TOOLBOX_":"Toolbox","_TOP_PIC_BOUND_":"Top Picture Boundary (pixels)","_TYPE_":"Type","_UART_PORT_":"UART Port","_UDP_CLIENT_":"UDP Client","_UDP_SERVER_":"UDP Server","_UNLOCK_USER_":"Unlock User","_UPDATE_LBL_":"Update","_UPGRADE_MNGMNT_":"Upgrade\/Backup","_UPLO_DONE_":"Already Uploaded","_UPLO_IN_PROGRESS_":"Uploading","_UPLOA2MODULE_":"Upload to Module","_UPLOAD_PACKAGE_":"Upload Package","_UPPER_SENSOR_":"Upper Sensor","_USER_":"User","_USER_LOGIN_":"User Login","_USERS_MNGMT_":"Users Management","_VERSION_":"Version","_VIDEO_ENCODER_":"Video","_VIDEO_FILE_HAS_DOWNLOADED_":"Video File has been Downloaded","_WDEV_DET_WIZ0_":"Device Type","_WDEV_DET_WIZ1_":"Instalation Type","_WDEV_DET_WIZ2_":"Environment","_WDEV_DET_WIZ3_":"Something Else","_WDEV_DET_WIZT_":"Sensor Setup Detection Wizard","_WDEV_MISTMATCH_":"Device Is Different","_WIDTH_":"Width","_WIDTH_CORRECT_":"Width Correction","_WORKING_MODE_":"Working Mode","_WRO_VAL_MSG_":"You Entered Wrong ValuesPlease Correct and Continue.","_WRO_VALUES_":"Wrong Values","_ZL_MEDIA_DESC_LOO_":"Support multiple protocols (RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC), support protocol interconversion.","_ZL_MEDIA_DESC_SHO_":"ZLMediaKit Server - Streaming Encoder","05b048d7242cb7b8b57cfa3b1d65ecea":"Gamma","0737d367234baa9eb0d7d93044d4cdcb":"AGC","0e6ebfbce4a1d380a356f7d0ca501db2":"Zoom Frame","1f9d92d5edaba165f934540a3525112a":"Tilt Frame","20e57f32ba12b9cd13ebe9ef5e32d949":"Invert","210ab9e731c9c36c2c38db15c28a8d1c":"Volume","3a5769e56038d8308b08f8741077d943":"Odd Field Offset","3b2d7435a9d67b3630988c398af85da5":"Sharpness","442348a3a2d4dc460bf2e86b1e97bd71":"Power Line","4cf296191801ec357d2aa0ad3a484cba":"Manual WB","5f458c0f2db08c33596b0e7a8dbc0e5b":"Manual Exp.","71a6b6f094346a8832df801c8428ea06":"Hue","885cd2552e1136cfd94ae863668e8942":"Even Field Offset","aa71a2ef3fb13c2642ea72645a698cb8":"Brightness","AUTO_DRAW":"Automatic Draw","b4e67baf7b29f6474d4ac44008dafed4":"BL Compensation","b914f4cdf61e27d144e5ceef61eec7a2":"Automute","bba4e31fa5d5b2fee356b87111a52aa3":"Horizontal Flip","c8fd07f040a8f2dc85f5b2d3804ea3db":"Contrast","cc0d5ee2cdb80bf82426e9def9f9bf7c":"Pan Frame","def9cbe59ce34853e7081f62b095e348":"Mute","ed063c64d46ede5916894e6ac2ab9ce1":"Auto WB","Error_Message":"Error Message","ETHERNET_PROP":"Ethernet","facdbb51cba54d1eccbdd8bd670e7b33":"Auto Exp.","fb520ff39848b91b70496ecf6c67f68e":"Compression Quality","fd71ed58ae07cc75900a5169e6f9c287":"Saturation","FILTER_AFP":"Authorised Persons Filter","FILTER_TRAIN":"Train Target Filter","FRAMEGRAB_PROP":"Analog Video","MOD_TYPE":"Module Type","MODE_ACCESS_POINT":"Access Point","MODE_DISABLED":"Disabled","MODE_ETHDYNAMIC":"Dynamic Address (DHCP)","MODE_ETHROUTER":"Static Address Router","MODE_ETHSTATIC":"Static Address","MODULE_DCBUSB":"USB Dry Contact Control Module","MODULE_EMB_VIDO":"Internal Video Encoder","MODULE_FLYHUNT":"FlyHunter Drone Control","MODULE_GPS":"GPS Time Sync Module","MODULE_KAFKA":"Kafka Data Proxy","MODULE_MODEM_MAN":"Modem Manager","MODULE_NETWORK":"Network Module [TBD]","MODULE_ONVIF_DIS":"OnVif Discovery","MODULE_SSDP":"Network Announcer","MODULE_ZLMEDIA":"ZLMedia Server","SENS_NAME":"Sensor's Name","SENS_RANGE":"Sensor Range","SENS_TYPE":"Sensor's Type","SERV_BLD_TAG":"Build Tag","SERV_NAME":"Server Name","SETIAL_TAG":"Serial Tag","SRV_STATUS_OFF":"Server is Offline","SRV_STATUS_ON":"Server is Online","SYS_MSG_DEVINV":"The Connected Device is Different from","SYS_SERVNAME":"Argus Server","UART_COM_BITS":"Bits","UART_COM_PARITY":"Parity","UART_COM_SBITS":"Stop Bits","UART_COM_SPEED":"Com Speed","UART_LINE_PROP":"UART","VIRTUALIP_PROP":"Virtual IP","VPN_TUN_PROP":"VPN Tunel","WAN_LINE_PROP":"WAN Connection","WIFI_PROP":"WiFi"} \ No newline at end of file +{"___ENABLED__":"Enabled","__ADD__":"Add","__DISABLED__":"Disabled","__LOGIN__":"Login","__LOGIN_ID__":"Login ID","__LOGOUT__":"Logout","__OFFLINE__":"Offline","__ONLINE__":"Online","__PAGEWASGENIN__":"The page was generated in","__PASSWORD__":"Password","__PTZ_CONTROL__":"PTZ Control","__SECOND__":"second","__SECONDS__":"seconds","__SSl_DOWNLOAD__":"Please Download our Root CA certificate and Install it into your System (see instructions below)","__SSl_NO_CERT__":"The Working Certificate for %IP% Not Installed.","__SSl_WELCOME__":"For Security Reason and smooth workink via SSL encryption we provide SSL Certificato to install into Client Computer","__UPLOAD__":"Upload","__ZERO_SHIFT__":"Zero Shift","_ACC_LOG_":"Security Log","_ACCESS_ADMIN_":"Admin","_ACCESS_DENIED_":"Access Denied","_ACCESS_FACTORY_":"Factory Defined","_ACCESS_LEVEL_":"Access Level","_ACCESS_LOGIN_":"Access Login","_ACCESS_MINIMAL_":"Minimal Access","_ACCESS_OPERATOR_":"Operator","_ACCESS_PASSWORD_":"Access Password","_ACTION_":"Action","_ADD_":"Add","_ADD_CAM_DIAL_TTL_":"Add IP Camera","_ADD_CAMERA2SITE_":"Add Camera to Site","_ADD_CONNECTION_":"Add Connection","_ADD_E2U_DIAL_TTL_":"Add Ethernet To Serial Adapter","_ADD_EVT_FILTER_":"Add Event Filter","_ADD_FILTER_":"Add Filter","_ADD_IP_CAMERA_":"Add IP Camera","_ADD_MEDIA_SERVER_":"Add Media Server","_ADD_MODULE_":"Add Module","_ADD_NEW_PHN_":"Add New Phone Number","_ADD_NEW_WTR_":"Add New Record","_ADD_REMOTE_UART_":"Add Remote UART","_ADD_USER_":"Add User","_ADM_SETTINGS_":"Admin Settings","_ADMIN_":"Admin","_ADV_TAB_":"Advanced Settings","_AJX_REQFAILURE_":"Ajax Request failed!","_ALARMED_":"Alarmed","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Analogue Video Sources","_APLY_DBBACKUP_":"Restore","_APP_TITLE_":"Argus Security System","_APPLICA_MNGMNT_":"Application Settings","_APPLY_CHANGES_":"Apply Changes","_APPLY_SETTINGS_":"Apply Settings","_AS_MODULE_":"Add Server Module","_ASSIGN_CAMERA_":"Assign Camera","_AUTH_MODE_0_":"Authorization Mode","_AXIS_ROT_":"Axis Rotation","_AZIMUTH_":"Azimuth","_BACKUP_SETTINGS_":"Backup\/Restore","_BOT_PIC_BOUND_":"Bottom Picture Boundary (pixels)","_BOTTOM_SENSOR_":"Bottom Sensor","_BROWSE_":"Browse","_BTN_CLR_AHIST_":"Clear All History","_BTN_CLR_SELECTED_":"Clear Selected","_BUSY_":"Busy","_CAC_TAB_":"Credentials","_CALL_ONLY_":"Call Only","_CAM_AH_TIME_":"Time After Alarm","_CAM_AH_TOKEN_":"Home Preset Token","_CAM_ASS_LIST_":"Assigned Cameras","_CAM_AUTO_HOMING_":"Enable Automatic Home Return","_CAM_DET_LIST_":"Detected Cameras","_CAM_FIXEDZ_":"Fixed Zoom","_CAM_FOCALL_":"Focal Length","_CAM_IP_ADDRESS_":"Camera IP Address","_CAM_LABEL_":"Camera Label","_CAM_LENS_SETTINGS_":"Lens Settings","_CAM_MAP_NAME_":"Camera Name","_CAM_PANANGS_":"Tottal Pan Angles","_CAM_PANMOD_":"Pan Model","_CAM_PROTO_ID_":"Camera ID","_CAM_PTZ_AAC_":"PTZ Auto Axeleration","_CAM_PTZ_MAC_":"PTZ Manual Axeleration","_CAM_SENS_SIZE_":"Sensor Size","_CAM_TILTANGS_":"Tottal Tilt Angles","_CAM_TILTMOD_":"Tilt Model","_CAM_TM_ALL_":"All Targets","_CAM_TM_ALL_FAR_":"ALL Far","_CAM_TM_ALL_NEAR_":"All Near","_CAM_TM_REGULAR_":"Regular","_CAM_TM_REVERSED_":"Reversed","_CAM_TM_RSHIFTED_":"Rev-Shifted","_CAM_TM_SHIFTED_":"Shifted","_CAM_TM_STRICT_VISIBLE_":"Strict Visible Targets","_CAM_TRIGGERING_MODE_":"Alarm Triggering Mode","_CAM_VARIOZ_":"Variable Zoom","_CAM_ZOOMR_":"Zoom Ratio","_CAMERA_MNGMNT_":"Cameras","_CANCEL_":"Cancel","_CHOOSEF_":"Choose File","_CLEAR_":"Clear","_CLEAR_ALARM_":"Clear Alarm","_CLEAR_SITE_":"Delete All","_CLOSE_":"Close","_CON_2_IP_CAM_":"Connect to IP Camera","_CONNECT_2_":"Connect to","_CONNECT_2_SEL_":"Connect To Selected","_CREA_ANAL_CAM_":"Create Analog Camera","_CREATE_CUSTOM_MAP_":"Creeate Custom Map","_CREATE_NEW_LBL_":"Create New","_CREATED_":"Created","_CTL_SERVER_NODE_":"Control Server Node","_CUSTOM_MSG_":"Custom Message","_DASHBOARD_":"Dashboard","_DATETIME_":"Time","_DB_BACKUP_":"Select Restore File","_DB_FILE_HAS_DOWNLOADED_":"Settings File has been Downloaded","_DB_STAT_CON_0_":"Connected ... Geting Info","_DB_STAT_CON_UNA_":"Connection is Unavailable","_DB_STAT_STUDY_":"Studing","_DB_UPLOAD_BACKUP_":"Uploading Settings","_DC_AUTO_ENA_":"Enable Dry Contact Control","_DC_CONTROL_SET_":"Dry Contact Control","_DC_TIME_WINDOW_":"Dry Contact Time Window","_DC_WM_NC_":"Normally Close","_DC_WM_NO_":"Normally Open","_DC_WORK_MODE_":"Dry Contact Work Mode","_DEBUGGING_MODE_":"Debugging Mode","_DEL_SELECTED_":"Delete Selected","_DEL_USER_":"Remove User","_DELETE_":"Delete","_DESCRIPTION_":"Description","_DET_GENWORKS_":"General Tasks","_DET_IP_CAMERA_LST_":"Detected IP Cameras List","_DET_SENSITIVITY_":"Detection Sensitivity Profile","_DET_SET_WIDTH_T_":"Width Table","_DET_SETTINGS_":"Detection Settings","_DEV_ACK_BTN_":"Acknowledge","_DEV_ACK_BTN2_":"Acknowledged","_DEV_ACK_START_":"Are you sure want to acknowledge current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel acknowledge?","_DEV_CTLPANEL_SHRT_":"Device Control","_DEV_ITYPE_FLD_":"Sensor Installed","_DEV_MISTMATT1_":"Please decide what to do","_DEV_PL_ANG_":"At an Angle","_DEV_PL_HORI_":"Horizontally","_DEV_PL_VERT_":"Vertically","_DEV_RANGE_FLD_":"Max Range","_DEV_TYPE_3D_":"3DLRF Sensor","_DEV_TYPE_ALS_":"ALS Sensor","_DEV_TYPE_FLD_":"Sensor Type","_DEV_TYPE_LFS_":"LFS Sensor","_DEV_TYPE_NPLS200_":"New PLS200 Sensor (Network)","_DEV_TYPE_PLS200_":"PLS200 Sensor","_DEV_TYPE_PLS360_":"PLS360 Sensor","_DEVICE_IP_":"IP Address","_DEVICE_NAME_":"Device Name","_DEVICE_PORT_":"Port","_DISCONNECTED_":"Disconnected","_DLG_ADD_3DSENS_":"Add 3DLRF Sensor","_DLG_ADD_ALS_":"Add ALS Sensor","_DLG_ADD_LFS_":"Add LFS Sensor","_DLG_ADD_PLS200_":"Add PLS200 Sensor","_DLG_ADD_PLS360_":"Add PLS360 Sensor","_DLG_CON_SEVER_NODE_":"Will be Connected to","_DOWNLOAD_SETTINGS_":"Download Current Settings","_DRAW_BACKGROUND_":"Draw Background","_EDIT_":"Edit","_EDIT_CUR_MAP_":"Edit Current Map","_EDIT_LRF3D_SETTINGS_":"Edit Lidar 3D Settings","_EDIT_USER_":"Edit User","_EDIT_USER_CRACCES_":"Edit User Credentials and Access","_EDT_CONNECTIONS_":"Edit Connections","_EDT_LOCATIONS_":"Edit Locations","_EMBED_VIDEO_ENCODER_":"Embed Video Encoder Module","_ERROR_MSG_":"Error Message","_EVE_COMPRESS_QUA_":"Compression Quality","_EVE_DESC_LOO_":"Video Encoder Module provides Imaging Capture functionality to ARGUS server. Can capture Analog Video from USB grabber\/USB WebCam or Digital Stream from IP Camera","_EVE_DESC_SHO_":"LibAV(ffmpeg) Internal Video Encoder","_EVE_FONT_LBL_":"Font Type","_EVE_FONT_TS_":"Font Type","_EVE_LBL_FSCALE_":"Label Font Scale","_EVE_LBL_FTHICK_":"Label Font Thickness","_EVE_LBL_LINE_T_":"Label Line Type","_EVE_LBL_POSX_":"Label X","_EVE_LBL_POSY_":"Label Y","_EVE_LOGO_HEIGHT_":"Logo Height","_EVE_LOGO_POSX_":"Logo X","_EVE_LOGO_POSY_":"Logo Y","_EVE_LOGO_WIDTH_":"Logo Width","_EVE_PORT_":"Web Access Port","_EVE_SHOW_LBL_":"Show Label","_EVE_SHOW_LOGO_":"Show Custom Logo","_EVE_SHOW_TS_":"Show TimeStamp","_EVE_TRANSO_LBL_":"Transparent BG","_EVE_TRANSO_TS_":"Transparent BG","_EVE_TS_FSCALE_":"Font Scale","_EVE_TS_FTHICK_":"Font Thickness","_EVE_TS_LINE_T_":"Font Line Type","_EVE_TS_POSX_":"TimeStamp X","_EVE_TS_POSY_":"TimeStamp Y","_EVENT_":"Event","_EVENT_LOG_":"Event Log","_EVT_ARCHIVE_":"Events Archive","_EVT_MONITOR_":"Live Monitor","_EVT_MONITOR_IPI_":"SingleIPI Mode","_EVT_MSG_ACKOFF_":"Acknowledge Mask Deleted","_EVT_MSG_ACKON_":"Acknowledge Mask Added","_EVT_MSG_B2DTRG_":"Black 2D Target","_EVT_MSG_BUMO_":"Device Is BUSY","_EVT_MSG_COM_JAMED_":"Communication Jamed","_EVT_MSG_CONNECTED_":"Connected","_EVT_MSG_DISCONNECTED_":"Disconnection","_EVT_MSG_EVT_CLOMA_":"Event Closed Manual","_EVT_MSG_EVT_END_":"Event Ended","_EVT_MSG_EVT_START_":"Event Started","_EVT_MSG_FLIPO_":"Flip Complete","_EVT_MSG_MASKOFF_":"Turning Off Masking Area","_EVT_MSG_MASKON_":"Turning On Masking Area","_EVT_MSG_ROI_":"Region Of Interest","_EVT_MSG_SCANC_":"Scan Complete","_EVT_MSG_STUMO_":"Device Enters Into Study Mode","_EVT_MSG_TF_BSD_":"[Train Filter] Bottom Sensor Detection","_EVT_MSG_TF_CT_":"[Train Filter] Check Target","_EVT_MSG_TF_DD_":"[Train Filter] Detection Disabled","_EVT_MSG_TF_DIFD_":"[Train Filter] Differential Detection","_EVT_MSG_TF_RD_":"[Train Filter] Regular Detection","_EVT_MSG_TF_SUSPA_":"[Train Filter] Suspicious Activity","_EVT_MSG_TF_SUSPD_":"[Train Filter] Suspicious Detection","_EVT_MSG_TF_SUSPN_":"[Train Filter] Suspicious NACK","_EVT_MSG_TF_TD_":"[Train Filter] Train Detected","_EVT_MSG_TF_TUPD_":"[Train Filter] Train Updated","_EVT_MSG_TF_USD_":"[Train Filter] Upper Sensor Detection","_EVT_MSG_VIFDEC_":"Video Framerate Decreased","_EVT_MSG_VIFINC_":"Video Framerate Increased","_EVT_MSG_W2DTRG_":"White 2D Target","_FACT_DEFAULT_":"Set by Factory","_FACTORY_RESET_":"Reset to Factory Defaults","_FHM_PROPS_":"FlyHunter Module Properties","_FILE_NAME_":"File Name","_FISONMODULE_":"Files Saved on Module","_FOUNDER_":"Founder","_FRAME_FORMAT_":"Frame Format","_FRAME_SIZE_":"Frame Size","_FROM_ANCH_":"from Anchor","_FUSION_ENGINE_":"Fusion Engine","_GEN_INSTANCE_ID_":"Generate New Identity","_GENERAL_":"General","_GENERAL_NFO_":"General Info","_GEO_LOCATION_":"Geo Locations","_GO_HOME_":"Go Home","_GUEST_":"Guest","_HARDWARE_":"Hardware","_ID_":"id","_INFO_":"Information","_INFO_MSG_":"Information Message","_INSTANCE_ID_":"Instance Identity","_INTER_MAP_":"Internet Map","_ISSURES_":"Issue Reset","_KAFKA_BROKER_":"Kafka Broker","_KAFKA_DESC_LOO_":"Sends Events from ARGUS server to a KAFKA Broker Node","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Kafka Topics and Events","_LAST_ACCESS_":"Last Access","_LAT_SHORT_LBL_":"Lat","_LAYER_ATTRIB_":"Layer Attribution","_LEFT_PIC_BOUND_":"Left Picture Boundary (pixels)","_Loading_Calo_":"Loading Dates","_LOC_MAP_LBL_":"Location Map","_LOC_TAB_":"Location\/Orientation","_LOCAL_PIC_MAP_":"Local Picture Map","_LOCK_USER_":"Lock User","_LOGIN_":"Login","_LOGIN_0_":"Login:","_LOGOUT_":"Logout","_LON_SHORT_LBL_":"Lon","_MA_CIRCLE__":"Circular","_MA_ROUND_":"Square","_MAINTENENCE_":"Maintenence","_MANUADD_CAMERA_":"Manually add IP Camera","_MAP_":"Map","_MAP_CENTER_MODE_":"Map Centre Mode","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (reqires Internet)","_MAP_TYP_LBL_":"Map Type","_MAP_WIDTH_":"Map Width (meters)","_MAS_LRF_DET_SET_":"Master LRF Detection Settings","_MASK_EDITOR_":"Mask Editor","_MASK_MANAGER_":"Masking Management","_MAX_NATURAL_ZOOM_":"Max Natural Zoom","_MAX_ZOOM_":"Max Zoom","_MEMO_":"Memo","_METERS_":"Meters","_METERS_RANGE_":"Meters","_MOD_NO_NEDCONF_":"Module does not need to be configured.","_MODEM_DESC_LOO_":"Provides WAN connectivity over cellular networks (UMTS, 4G, LTE). Also sends Events via SMS","_MODEM_DESC_SHO_":"Cellular Modem Manager","_MODULE_":"Module","_MONIT_LAYOUT_":"Monitoring Layout","_MONITORING_":"Monitoring","_MSG_CAM_NOT_ASS_":"Camera is Not Assigned to the System","_MSG_CAM_PROC_2_SET_":"Proceed to Cameras Settings to Assign One","_MSG_CAM_PROC_NOT_ASS_":"Camera is Not Assigned to the SystemPlease Assign One","_MSG_SELITEMFROMMAP_":"Select Item From Map","_NAME_LABEL_":"Name\/Label","_NAME_MAP_":"Map Name","_NET_SETTINGS_":"Connections","_NEW_PASSWORD_":"New Password","_NO_PTZ_":"No PTZ Control","_NO_SENSORS_DEF_":"No Sensors Defined","_NO_UARTS_DEF_":"No UART Defined","_OK_":"Ok","_ONVIF_DESC_LOO_":"OnVif module allows you to discover and communicate with the network cameras which supports the ONVIF specifications on the same subnet.","_ONVIF_DESC_SHO_":"OnVif LAN Discovery Module","_ORIENTATION_":"Orientation","_OUTPUT_FRAME_SIZE_":"Output Frame Size","_PASSWORD_0_":"Password:","_PHONE_NUMBER_":"Phone Number","_Please_Wait_":"Please Wait","_PLS_CONFIRM_":"Please Confirm","_PLS_SEL_CAL_DATE_":"Please Select a Date from the Calendar from the right","_PLS_SEL_LEFT_ITEM_":"Please select item from the left to view more info.","_POINTER_":"[ptr]","_POSITION_":"Position","_PROF_SETTINGS_":"Profile Settings","_PROGRESS_":"Progress","_PROPERTIES_":"Properties","_PROTO_DEVICE_ID_":"Protocol ID","_PROV_CAC_":"Please Provide Camera Access Credentials.","_PTZ_TAB_":"PTZ Settings","_QERY_MSG_":"Question Message","_RANGE_":"Range","_READY_":"Ready","_READY_TO_UPLO_":"Ready to Upload","_REGULAR_":"Regular","_RELOAD_":"Reload","_REMOVE_CAMERA_":"Remove Camera","_REMOVE_SENSOR_":"Remove Sensor","_REP_PASSWORD_":"Repeate Password","_REPO_HISTORY_":"Reports\/History","_REPORT_STORAGE_":"Reports\/History Storage","_REQ_FAILURE_":"Failure","_RES_ETHERNET_DESC_":"Ethernet Network Adapter","_RES_EZ_UART_DESC_":"UART connected via Ethernet","_RES_HW_UART_DESC_":"UART connected to a Server Appliance","_RES_INFO_":"Resource Information","_RES_WAN_DESC_":"WAN Adapter (Broadband Internet)","_RES_WIFI_DESC_":"WiFi Network Adapter","_RESETSTATUS_":"Reset Status","_RESOURCES_":"Resources","_RIGHT_PIC_BOUND_":"Right Picture Boundary (pixels)","_RSET_CREDENTIALS_":"Reset Credentials","_RUS_DELETE_MODULE_":"Are you sure delete Module?","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Acknowledge Size","_SENS_ACKT_":"Default Acknowledge Shape","_SENS_APPLY_RES_":"Apply To Device and Reset","_SENS_AUTOR_ENA_":"Auto Reset Enabled","_SENS_AUTOR_INTER_":"Auto Reset Interleave","_SENS_AUTOR_TO_":"Auto Timeout","_SENS_BZSHIFT_":"Board Zero Shift","_SENS_DEL_FROTH_":"Delete Frozen Threshold","_SENS_DIS_FROTH_":"Disable Frozen Threshold","_SENS_DO_FULLR_":"Issue Sensor Full Reset","_SENS_DO_READALL_":"Read All Settings from Sensor","_SENS_DO_SAVEALL_":"Save All Settings to Sensor","_SENS_ENA_FROTH_":"Enable Frozen Threshold","_SENS_FFTH_":"Freeze First Threshold","_SENS_FIN_FROTH_":"Finish Frozen Threshold Study","_SENS_HTEMP_":"Heater Temperature","_SENS_JUMODI_":"Just Moving Distance","_SENS_JUMORA_":"Just Moving Radial","_SENS_JUMOTA_":"Just Moving Targets","_SENS_NOBLA_":"No Black Targets","_SENS_SCANSPEED_":"Scan Speed","_SENS_SFTH_":"Save First Threshold","_SENS_STATUS_":"Sensor's Status","_SENSOR_CONNECTION_":"Sensors","_SENSOR_MAX_RANGE_":"Max Range","_SENSOR_PLACE_":"Sensor Placeholder","_SERIAL_":"Serial","_SERV_CTLPANEL_SHRT_":"Server Control","_SERV_FACTORY_DESC_":"Restore factory settings, clear database and detection settings","_SERV_FACTORY_OP_":"Restore Factory Settings","_SERV_FACTORY_QM_":"All settings will be clearedThe only admin<\/b> user will be preserved.The Report History will be keept intact.","_SERV_HW_DET_DESC_":"Run a hardware discovery process to recognize recently connected devices such as a USB serial port or USB video.","_SERV_HW_DET_OP_":"Detect new Hardware","_SERV_HW_DET_QM_":"Are you sure to run a hardware discovery process.That will prevent detection events for few seconds.","_SERV_HW_DET_QT_":"Hardware Detection","_SERV_LOG_":"Server Log","_SERV_OSRESET_DESC_":"Restart the host operating system to apply any recent system configuration changes","_SERV_OSRESET_OP_":"Restart Host Computer","_SERV_RESTART_DESC_":"Restart the management application to initialize all components and apply any configuration changes.","_SERV_RESTART_OP_":"Restart Control Application","_SERV_RESTART_QM_":"Are you sure to restart control application?","_SERV_RESTART_QT_":"Restart Backend","_SERVER_MODULES_":"Modules","_SET_CHANGED_WOULD_SAVE_":"Some Settings are ChangedThay will be Unsaved!","_SET_CREDENTIALS_":"Set Credentials","_SETTING_SAVE_OK_":"All changes saved sucessfully","_SETTINGS_":"Settings","_SETTINGS_CHANGED_":"Settings Changed","_SITE_DEL_ALL_ABO_":"Are you sure to delete all devices and settings?","_SITE_PROP_LBL_":"Site Properties","_SITE_TITLE_":"ARGUS Security System","_SIZE_":"Size","_SLV_LRF_DET_SET_":"Slave LRF Detection Settings","_SMM_ADD_ADDIT_":"Add Additional Equipment","_SMM_ADD_LSEN_":"Add Laser Sensor","_SMS_ONLY_":"SMS Only","_SND_FILES2_DEV__":"Send Files to Device","_SOUND_":"Sound","_SOURCE_":"Source","_SSDP_DESC_LOO_":"SSDP announcer allows you announce on your LAN a ARGUS server","_SSDP_DESC_SHO_":"SSDP announcer daemon for UPnP\/DLNA","_SSL_CERT_INVALID__":"Provided Certificate is Invalid","_SSL_CERT_IP_NO_":"Provided Certificate Valid For Other IP Address","_SSL_CERT_VALID_INSTA":"The Certificate is Valid and will be applied intact (it will take few minutes). The System is going to reboot.","_SSL_NO_EXT_CERT_":"No x509 Extensions defined in Certificate","_SSL_NO_IP_CERT_":"No Ip Addresses in Certificate","_SSL_PROVIDE_CERT_":"Please Provide Valid Certificate for %IP% signed by Dr. Frucht Systems.<\/br>You may request one at www.smartsecsystems.com<\/a>","_SSL_VALID_BUT_":"The Certificate is Valid. However:","_STATIC_CONNECTION_":"Static Connection","_STATUS_":"Status","_STORE_DAYS_":"Keep Report History Days","_STORE_EMPTY_SPACE_":"Preserve Empty Space on System","_STREAMS_":"Streams","_STUDY_BACKGROUND_":"Study Background","_SUCCESS_":"Success","_SWU_DASHBOARD_":"Software Update Management","_SYS_ANCHORT_LBL_":"System Anchor","_SYS_DASHBOARD_":"System Overview","_SYS_GENERAL_":"General","_SYS_MAP_":"System Map","_SYS_SETTINGS_":"System Settings","_TARGET_FILTERS_":"Filters","_TARGETING_TAB_":"Alarm Settings","_TCP_CLIENT_":"TCP Client","_TCP_SERVER_":"TCP Server","_TILE_URL_MAP_":"Tiles URL Pattern","_TIME_":"Time","_TOOLBOX_":"Toolbox","_TOP_PIC_BOUND_":"Top Picture Boundary (pixels)","_TYPE_":"Type","_UART_PORT_":"UART Port","_UDP_CLIENT_":"UDP Client","_UDP_SERVER_":"UDP Server","_UNLOCK_USER_":"Unlock User","_UPDATE_LBL_":"Update","_UPDATING_DATA_":"Updating Data","_UPGRADE_MNGMNT_":"Upgrade\/Backup","_UPLO_DONE_":"Already Uploaded","_UPLO_IN_PROGRESS_":"Uploading","_UPLOA2MODULE_":"Upload to Module","_UPLOAD_PACKAGE_":"Upload Package","_UPPER_SENSOR_":"Upper Sensor","_USER_":"User","_USER_LOGIN_":"User Login","_USERS_MNGMT_":"Users Management","_VERSION_":"Version","_VIDEO_ENCODER_":"Video","_VIDEO_FILE_HAS_DOWNLOADED_":"Video File has been Downloaded","_WDEV_DET_WIZ0_":"Device Type","_WDEV_DET_WIZ1_":"Instalation Type","_WDEV_DET_WIZ2_":"Environment","_WDEV_DET_WIZ3_":"Something Else","_WDEV_DET_WIZT_":"Sensor Setup Detection Wizard","_WDEV_MISTMATCH_":"Device Is Different","_WIDTH_":"Width","_WIDTH_CORRECT_":"Width Correction","_WORKING_MODE_":"Working Mode","_WRO_VAL_MSG_":"You Entered Wrong ValuesPlease Correct and Continue.","_WRO_VALUES_":"Wrong Values","_ZL_MEDIA_DESC_LOO_":"Support multiple protocols (RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC), support protocol interconversion.","_ZL_MEDIA_DESC_SHO_":"ZLMediaKit Server - Streaming Encoder","05b048d7242cb7b8b57cfa3b1d65ecea":"Gamma","0737d367234baa9eb0d7d93044d4cdcb":"AGC","0e6ebfbce4a1d380a356f7d0ca501db2":"Zoom Frame","1f9d92d5edaba165f934540a3525112a":"Tilt Frame","20e57f32ba12b9cd13ebe9ef5e32d949":"Invert","210ab9e731c9c36c2c38db15c28a8d1c":"Volume","3a5769e56038d8308b08f8741077d943":"Odd Field Offset","3b2d7435a9d67b3630988c398af85da5":"Sharpness","442348a3a2d4dc460bf2e86b1e97bd71":"Power Line","4cf296191801ec357d2aa0ad3a484cba":"Manual WB","5f458c0f2db08c33596b0e7a8dbc0e5b":"Manual Exp.","71a6b6f094346a8832df801c8428ea06":"Hue","885cd2552e1136cfd94ae863668e8942":"Even Field Offset","aa71a2ef3fb13c2642ea72645a698cb8":"Brightness","AUTO_DRAW":"Automatic Draw","b4e67baf7b29f6474d4ac44008dafed4":"BL Compensation","b914f4cdf61e27d144e5ceef61eec7a2":"Automute","bba4e31fa5d5b2fee356b87111a52aa3":"Horizontal Flip","c8fd07f040a8f2dc85f5b2d3804ea3db":"Contrast","cc0d5ee2cdb80bf82426e9def9f9bf7c":"Pan Frame","def9cbe59ce34853e7081f62b095e348":"Mute","ed063c64d46ede5916894e6ac2ab9ce1":"Auto WB","Error_Message":"Error Message","ETHERNET_PROP":"Ethernet","facdbb51cba54d1eccbdd8bd670e7b33":"Auto Exp.","fb520ff39848b91b70496ecf6c67f68e":"Compression Quality","fd71ed58ae07cc75900a5169e6f9c287":"Saturation","FILTER_AFP":"Authorised Persons Filter","FILTER_TRAIN":"Train Target Filter","FRAMEGRAB_PROP":"Analog Video","MOD_TYPE":"Module Type","MODE_ACCESS_POINT":"Access Point","MODE_DISABLED":"Disabled","MODE_ETHDYNAMIC":"Dynamic Address (DHCP)","MODE_ETHROUTER":"Static Address Router","MODE_ETHSTATIC":"Static Address","MODULE_DCBUSB":"USB Dry Contact Control Module","MODULE_EMB_VIDO":"Internal Video Encoder","MODULE_FLYHUNT":"FlyHunter Drone Control","MODULE_GPS":"GPS Time Sync Module","MODULE_KAFKA":"Kafka Data Proxy","MODULE_MODEM_MAN":"Modem Manager","MODULE_NETWORK":"Network Module [TBD]","MODULE_ONVIF_DIS":"OnVif Discovery","MODULE_SSDP":"Network Announcer","MODULE_ZLMEDIA":"ZLMedia Server","SENS_NAME":"Sensor's Name","SENS_RANGE":"Sensor Range","SENS_TYPE":"Sensor's Type","SERV_BLD_TAG":"Build Tag","SERV_NAME":"Server Name","SETIAL_TAG":"Serial Tag","SRV_STATUS_OFF":"Server is Offline","SRV_STATUS_ON":"Server is Online","SYS_MSG_DEVINV":"The Connected Device is Different from","SYS_SERVNAME":"Argus Server","UART_COM_BITS":"Bits","UART_COM_PARITY":"Parity","UART_COM_SBITS":"Stop Bits","UART_COM_SPEED":"Com Speed","UART_LINE_PROP":"UART","VIRTUALIP_PROP":"Virtual IP","VPN_TUN_PROP":"VPN Tunel","WAN_LINE_PROP":"WAN Connection","WIFI_PROP":"WiFi"} \ No newline at end of file diff --git a/lib/controller/addMap.php b/lib/controller/addMap.php index 7f1aa63..bd9aabc 100644 --- a/lib/controller/addMap.php +++ b/lib/controller/addMap.php @@ -52,10 +52,19 @@ $BM = intval( $_POST['bounds_mode'] ); $K_X = $MA_WI / ( $width - $LB - $RB ); $K_Y = $MA_HE / ( $height - $TB - $BB ); - $IBLX = (-$LB)*$K_X; - $IBLY = (-$TB)*$K_Y; - $IBRX = ( $width + $RB ) * $K_X; - $IBRY = ( $height + $BB ) * $K_Y; + if( $BM ){ + $THW = (($width + $RB + $LB) * $K_X ) / 2.0; + $THH = (($height + $BB + $TB) * $K_Y ) / 2.0; + $IBLX = -$THW; + $IBLY = -$THH; + $IBRX = $THW; + $IBRY = $THH; + } else { + $IBLX = (-$LB)*$K_X; + $IBLY = (-$TB)*$K_Y; + $IBRX = ( $width + $RB ) * $K_X; + $IBRY = ( $height + $BB ) * $K_Y; + }; $QS = "INSERT INTO `location_maps`(`type`,`name`,`layer_url`,`desc`,`maxNativeZoom`,`maxZoom`,`attribution`,`bounds_lx`,`bounds_ly`,`bounds_rx`,`bounds_ry`,`bounds_mode`,`img_w`,`img_h`,`img_map_w`,`img_map_h`,`img_lb`,`img_tb`,`img_rb`,`img_bb`) values(2,'{$ENAME}','{$FNAME}','{$EDESC}',{$INZOOM},{$IZOOM},'{$EATTR}',{$IBLX},{$IBLY},{$IBRX},{$IBRY},{$BM},{$width},{$height},{$MA_WI},{$MA_HE},{$LB},{$TB},{$RB},{$BB})"; $DATABASE->Query( $QS ); verbose( 1, "ALL IS OK" ); diff --git a/lib/controller/dash/node_3.js b/lib/controller/dash/node_3.js index 811a753..f6dd2ac 100644 --- a/lib/controller/dash/node_3.js +++ b/lib/controller/dash/node_3.js @@ -24,7 +24,7 @@ var W = p.getWidth(); var H = 9*(W/16) - 28; - if( %%%APPTYPE%%% == 2 ){ + if( %%%APPTYPE%%% == 33 ){ H = PanelH - p.ownerCt.getHeight() + 64; if( H > ( W * 0.5625 )+ 32 ){ H = ( W * 0.5625 ) + 32; diff --git a/lib/controller/delWidthTableRecord.php b/lib/controller/delWidthTableRecord.php new file mode 100644 index 0000000..dac0f8b --- /dev/null +++ b/lib/controller/delWidthTableRecord.php @@ -0,0 +1,13 @@ +Data['id'] > 1 ){ + if( isset( $_POST['DID'] ) ){ + $DID = intval( $_POST['DID'] ); + $ID = intval( $_POST['RID'] ); + if( $DID && $ID ){ + $QS = "DELETE FROM `lrf_detection_width_tables` WHERE `id`={$ID}"; + $RR = $DATABASE->Query( $QS ); + }; + }; + }; +?> \ No newline at end of file diff --git a/lib/controller/doApplicationOperation.php b/lib/controller/doApplicationOperation.php index 14d0b61..a1d8d82 100644 --- a/lib/controller/doApplicationOperation.php +++ b/lib/controller/doApplicationOperation.php @@ -33,9 +33,40 @@ $RBASE->Query( $QS, false ); $Data['q'] = $QS; $Data['success'] = true; + break; + }; + case 4:{//Set Report autodelete + $PARAM = intval( $_POST['OPCODE'] ); + if( $PARAM < 0 ) $PARAM = 0; + if( $PARAM > 0 && $PARAM < 3 ) $PARAM = 3; // Minimum three days + $QS = "UPDATE `system_props` SET `report_cleanup`={$PARAM} WHERE `id`=1"; + $DATABASE->Query( $QS ); + break; + }; + case 5:{//Set Preserve Free Space + $PARAM = intval( $_POST['OPCODE'] ); + if( $PARAM < 0 ) $PARAM = 0; + if( $PARAM > 0 && $PARAM < 10 ) $PARAM = 10; // Minimum ten percents + $QS = "UPDATE `system_props` SET `preserve_empty`={$PARAM} WHERE `id`=1"; + $DATABASE->Query( $QS ); + break; }; - case 4:{// Set Report autodelete - + case 6:{//Set volume + $PARAM = intval( $_POST['OPCODE'] ); + if( $PARAM < 0 ) $PARAM = 0; + if( $PARAM > 3 ) $PARAM = 3; + $QS = "UPDATE `users` SET `sound_enable`={$PARAM} WHERE `id`={$CUser->Data['id']}"; + $DATABASE->Query( $QS ); + break; + }; + case 7:{// Time Sync + $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); + $PARAM = intval($_POST['OPCODE']); + $QS = "INSERT INTO `nodes_qcq`(`node_id`,`cmd`,`status`,`parameter`) VALUES(1,252,0,'{$PARAM}')"; + $RBASE->Query( $QS, false ); + $Data['q'] = $QS; + $Data['success'] = true; + break; }; }; } else { diff --git a/lib/controller/doSensorOperation.php b/lib/controller/doSensorOperation.php index ba0ff10..d4651ac 100644 --- a/lib/controller/doSensorOperation.php +++ b/lib/controller/doSensorOperation.php @@ -194,8 +194,7 @@ $Data['success'] = true; break; }; - case 20:{ - //Save INI to device + case 20:{//Save INI to device $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); $QS = "INSERT INTO `nodes_qcq`(`node_id`,`cmd`,`status`,`parameter`) VALUES({$CN['id']},130,0,'')"; $RBASE->Query( $QS, false ); @@ -203,8 +202,7 @@ $Data['success'] = true; break; }; - case 21:{ - // Enable Frozen + case 21:{// Enable Frozen $QS = "UPDATE `lrf_ini_settings` SET `FREEZ_FIRST_TH`=1, `SAVE_FIRST_TH`=1 WHERE `sensor_id`={$SNID}"; $DATABASE->Query( $QS ); $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); @@ -214,8 +212,7 @@ $Data['success'] = true; break; }; - case 22:{ - // Disable Frozen + case 22:{// Disable Frozen $QS = "UPDATE `lrf_ini_settings` SET `FREEZ_FIRST_TH`=0, `SAVE_FIRST_TH`=0 WHERE `sensor_id`={$SNID}"; $DATABASE->Query( $QS ); $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); @@ -225,8 +222,7 @@ $Data['success'] = true; break; }; - case 23:{ - // Delete Frozen + case 23:{// Delete Frozen $QS = "UPDATE `lrf_ini_settings` SET `FREEZ_FIRST_TH`=0, `SAVE_FIRST_TH`=1 WHERE `sensor_id`={$SNID}"; $DATABASE->Query( $QS ); $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); @@ -236,8 +232,7 @@ $Data['success'] = true; break; }; - case 24:{ - // Finish Study Frozen + case 24:{// Finish Study Frozen $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); $QS = "INSERT INTO `nodes_qcq`(`node_id`,`cmd`,`status`,`parameter`) VALUES({$CN['id']},1,0,'')"; $RBASE->Query( $QS, false ); @@ -245,15 +240,13 @@ $Data['success'] = true; break; }; - case 25:{ - // Set ACK masking Shape + case 25:{// Set ACK masking Shape $OPCODE = intval( $_POST['OPCODE'] ); $QS = "UPDATE `lrf_sensors` SET `ack_mask_type`={$OPCODE} WHERE `id`={$SNID}"; $Data['success'] = true; break; }; - case 26:{ - // Set ACK masking Size + case 26:{// Set ACK masking Size $OPCODE = intval( $_POST['OPCODE'] ); $SIZES = array( 10, 20, 30, 40, 50, 60, 70 ); $VAL = $SIZES[$OPCODE] / 1; @@ -261,27 +254,60 @@ $Data['success'] = true; break; }; - case 27:{ - // Enable Relay Mode + case 27:{// Enable Relay Mode $OPCODE = intval( $_POST['OPCODE'] ); $QS = "UPDATE `lrf_sensors` SET `dc_auto`={$OPCODE} WHERE `id`={$SNID}"; $Data['success'] = true; break; }; - case 28:{ - // Set Relay Mode + case 28:{// Set Relay Mode $OPCODE = intval( $_POST['OPCODE'] ); $QS = "UPDATE `lrf_sensors` SET `dc_no`={$OPCODE} WHERE `id`={$SNID}"; $Data['success'] = true; break; }; - case 29:{ - // Set Relay Delay + case 29:{// Set Relay Delay $OPCODE = intval( $_POST['OPCODE'] ); $QS = "UPDATE `lrf_sensors` SET `dc_window`={$OPCODE} WHERE `id`={$SNID}"; $Data['success'] = true; break; }; + case 30:{//X-Axis Rotation + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `x_rot`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; + case 31:{//Y-Axis Rotation + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `y_rot`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; + case 32:{//Z-Axis Rotation + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `z_rot`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; + case 33:{//X-Shift From Anchore + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `x`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; + case 34:{//Y-Shift From Anchore + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `y`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; + case 35:{//Z-Shift From Anchore + $OPCODE = floatval( $_POST['OPCODE'] ); + $QS = "UPDATE `lrf_sensors` SET `z`={$OPCODE} WHERE `id`={$SNID}"; + $Data['success'] = true; + break; + }; case 255:{ // Delete Sensor $NID = $CN['id']; diff --git a/lib/controller/getReportLayout.php b/lib/controller/getReportLayout.php index 67c892e..23ad765 100644 --- a/lib/controller/getReportLayout.php +++ b/lib/controller/getReportLayout.php @@ -5,8 +5,11 @@ if( $UID > 1 ){ $QS = "SELECT * FROM `system_props` LIMIT 1"; $SPD = $DATABASE->Query( $QS ); + $QS = "SELECT * FROM `users` WHERE `id`={$UID}"; + $EPD = $DATABASE->Query( $QS ); if( count( $SPD ) ){ $SP = $SPD[0]; + $UP = $EPD[0]; $DUMMY = array(); if( $CUser->Data['access'] > 5 ){ $TABA =<<<_DATA_BOUNDARY @@ -210,8 +213,14 @@ _DATA_BOUNDARY; } else { $STA[0]="{ columnWidth: .5, stylse:'padding:10px 0 10px 10px', items:["; $STA[1]="{ columnWidth: .5, stylse:'padding:10px 0 10px 10px', items:["; - $STA[2]="{ columnWidth: .33, stylse:'padding:10px 0 10px 10px', items:["; - $STA[3]="{ columnWidth: .67, stylse:'padding:10px 0 10px 10px', items:["; + if( $UP['width'] > 1.6* $UP['height'] ){ + $STA[2]="{ columnWidth: .33, stylse:'padding:10px 0 10px 10px', items:["; + $STA[3]="{ columnWidth: .67, stylse:'padding:10px 0 10px 10px', items:["; + } else { + $STA[2]="{ columnWidth: .45, stylse:'padding:10px 0 10px 10px', items:["; + $STA[3]="{ columnWidth: .55, stylse:'padding:10px 0 10px 10px', items:["; + }; + $OUT[]= $STA[0] . $MAPIO . $END; $QS = "SELECT * FROM `nodes` WHERE `type`>9 AND `type`< 14 AND `enable`=1"; $R = $DATABASE->Query( $QS ); diff --git a/lib/controller/getSensorDetectionEditor.php b/lib/controller/getSensorDetectionEditor.php index 242a392..5afa60a 100644 --- a/lib/controller/getSensorDetectionEditor.php +++ b/lib/controller/getSensorDetectionEditor.php @@ -20,6 +20,9 @@ // Dual LRF Device (ALS) $AD = $JJR[1]; }; + $DD['dc_auto'] = intval( $DD['dc_auto'] ); + $DD['dc_no'] = intval( $DD['dc_no'] ); + $DD['dc_window'] = intval( $DD['dc_window'] ); $SOK = true; } else { $MSG = 'The Sensor ID is Wrong!'; @@ -44,7 +47,55 @@ } } _DATA_BOUNDARY; - + $SLRFDET=<<<_DATA_BOUNDARY +,{ + 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: '{$AD['order']}' + },{ + xtype: 'numberfield', + id: 's_offset', + fieldLabel: 'Offset', + value: '{$AD['offset']}' + },{ + xtype: 'numberfield', + id: 's_delta', + fieldLabel: 'Delta', + value: '{$AD['delta']}' + },{ + xtype: 'numberfield', + id: 's_flip', + fieldLabel: 'Flip', + value: '{$AD['flip']}' + },{ + xtype: 'numberfield', + id: 's_width', + fieldLabel: 'Width', + value: '{$AD['width']}' + },{ + xtype: 'numberfield', + id: 's_sst', + fieldLabel: 'SST', + value: '{$AD['sst']}' + },{ + xtype: 'numberfield', + id: 's_sun', + fieldLabel: 'Sun', + value: '{$AD['sun']}' + }] + } +_DATA_BOUNDARY; $TPL=<<<_DATA_BOUNDARY { xtype: 'tabpanel', @@ -148,53 +199,7 @@ _DATA_BOUNDARY; 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: '{$AD['order']}' - },{ - xtype: 'numberfield', - id: 's_offset', - fieldLabel: 'Offset', - value: '{$AD['offset']}' - },{ - xtype: 'numberfield', - id: 's_delta', - fieldLabel: 'Delta', - value: '{$AD['delta']}' - },{ - xtype: 'numberfield', - id: 's_flip', - fieldLabel: 'Flip', - value: '{$AD['flip']}' - },{ - xtype: 'numberfield', - id: 's_width', - fieldLabel: 'Width', - value: '{$AD['width']}' - },{ - xtype: 'numberfield', - id: 's_sst', - fieldLabel: 'SST', - value: '{$AD['sst']}' - },{ - xtype: 'numberfield', - id: 's_sun', - fieldLabel: 'Sun', - value: '{$AD['sun']}' - }] - },{ + }%%%SLAVE_LRF_DET%%%,{ title: '{$Labels->GetLabel('_DET_SET_WIDTH_T_')}', height: PanelH-42, tbar:[{ @@ -207,8 +212,7 @@ _DATA_BOUNDARY; text: '{$Labels->GetLabel('_DEL_SELECTED_')}', disabled: true, id: 'del_btn_width_table', - handler: function(){ - } + handler: deleteWTRow }], layout:'fit', items:{ @@ -288,7 +292,11 @@ _DATA_BOUNDARY; %%%JUMPAPA%%% } _DATA_BOUNDARY; - + if( $DD['type'] != 1 ){ + $TPL = str_replace('%%%SLAVE_LRF_DET%%%', '', $TPL ); + } else { + $TPL = str_replace('%%%SLAVE_LRF_DET%%%', $SLRFDET, $TPL ); + }; if( $FOK && $SOK ){ $TPL = str_replace('%%%JUMPAPA%%%', '', $TPL ); } else { diff --git a/lib/controller/getSensorEditor.php b/lib/controller/getSensorEditor.php index 626055a..45e476f 100644 --- a/lib/controller/getSensorEditor.php +++ b/lib/controller/getSensorEditor.php @@ -531,16 +531,98 @@ JOJOKA; height: PanelH - 283, items:[{ xtype: 'panel', - id: 'loc_ed_map', + id: 'sens_posrot', height: PanelH - 283, - html: ' ', - listeners: { - afterrender: function(p){ - //var W=p.getWidth(); p.setHeight( 32+(W/16)*9); - //initMapMonitoring(); - loadLocationEditor( 'loc_ed_map', {$CR['type']}, {$CR['id']} ); + layout: 'table', + frame: false, + border: false, + layoutConfig: { + columns: 3 + }, + defaults: { + frame: false, + bodyStyle: 'padding:10px', + border: false + }, + items:[{ + html: '
{$Labels->GetLabel('_AXIS_ROT_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['x_rot']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 30, c ); + } + } + },{ + html: ' ' + },{ + html: '
{$Labels->GetLabel('_AXIS_ROT_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['y_rot']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 31, c ); + } + } + },{ + html: ' ' + },{ + html: '
{$Labels->GetLabel('_AXIS_ROT_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['z_rot']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 32, c ); + } + } + },{ + html: ' ' + },{ + html: '
Δ {$Labels->GetLabel('_FROM_ANCH_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['x']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 33, c ); + } } - } + },{ + html: ' ' + },{ + html: '
Δ {$Labels->GetLabel('_FROM_ANCH_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['y']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 34, c ); + } + } + },{ + html: ' ' + },{ + html: '
Δ {$Labels->GetLabel('_FROM_ANCH_')}
' + },{ + xtype: 'numberfield', + decimalPrecision: 3, + value: {$CR['z']}, + listeners:{ + change: function( a, c, b ){ + doSensorOperation( {$CR['id']}, 35, c ); + } + } + },{ + html: ' ' + }] }] },{ xtype: 'panel', diff --git a/lib/controller/updateMap.php b/lib/controller/updateMap.php index 106b1f8..71f70e7 100644 --- a/lib/controller/updateMap.php +++ b/lib/controller/updateMap.php @@ -6,14 +6,16 @@ if( $ok==0 ){ http_response_code(400); }; - die(json_encode(["ok"=>$ok, "info"=>$info])); + die(json_encode(["success"=>true, "ok"=>$ok, "info"=>$info])); }; + header('content-type text/html;'); if( $CUser->Data['id'] > 1 ){ $MID = intval( $_POST['MID'] ); if( $MID ){ $QS = "SELECT * FROM `location_maps` WHERE `id`={$MID}"; $DDD = $DATABASE->Query( $QS ); if( count( $DDD ) ){ + $BM = intval( $_POST['bounds_mode'] ); $MD = $DDD[0]; list( $width, $height, $type, $attr ) = getimagesize( $SYSPath . 'lib/controller/data/assets/images/' . $MD['layer_url'] ); $ENAME = $DATABASE->escape($_POST['map_name']); @@ -29,11 +31,20 @@ $BB = intval( $_POST['map_bpb'] ); $K_X = $MA_WI / ( $width - $LB - $RB ); $K_Y = $MA_HE / ( $height - $TB - $BB ); - $IBLX = (-$LB)*$K_X; - $IBLY = (-$TB)*$K_Y; - $IBRX = ( $width + $RB ) * $K_X; - $IBRY = ( $height + $BB ) * $K_Y; - $QS = "UPDATE `location_maps` SET `name`='{$ENAME}',`desc`='{$EDESC}', `maxNativeZoom`={$INZOOM},`maxZoom`={$IZOOM}, `attribution`='{$EATTR}',`bounds_lx`={$IBLX},`bounds_ly`={$IBLY}, `bounds_rx`={$IBRX},`bounds_ry`={$IBRY}, `img_w`={$width}, `img_h`={$height}, `img_lb`={$LB}, `img_rb`={$RB}, `img_tb`={$TB},`img_bb`={$BB}, `img_map_w`={$MA_WI}, `img_map_h`={$MA_HE} WHERE `id`={$MID}"; + if( $BM ){ + $THW = (($width + $RB + $LB) * $K_X ) / 2.0; + $THH = (($height + $BB + $TB) * $K_Y ) / 2.0; + $IBLX = -$THW; + $IBLY = -$THH; + $IBRX = $THW; + $IBRY = $THH; + } else { + $IBLX = (-$LB)*$K_X; + $IBLY = (-$TB)*$K_Y; + $IBRX = ( $width + $RB ) * $K_X; + $IBRY = ( $height + $BB ) * $K_Y; + }; + $QS = "UPDATE `location_maps` SET `name`='{$ENAME}',`desc`='{$EDESC}', `maxNativeZoom`={$INZOOM},`maxZoom`={$IZOOM}, `attribution`='{$EATTR}',`bounds_lx`={$IBLX},`bounds_ly`={$IBLY}, `bounds_rx`={$IBRX},`bounds_ry`={$IBRY}, `img_w`={$width}, `img_h`={$height}, `img_lb`={$LB}, `img_rb`={$RB}, `img_tb`={$TB},`img_bb`={$BB}, `img_map_w`={$MA_WI}, `img_map_h`={$MA_HE}, `bounds_mode`={$BM} WHERE `id`={$MID}"; $DATABASE->Query( $QS ); verbose( 1, "ALL IS OK" ); } else verbose( 0, "WRONG MAPID" ); diff --git a/lib/controller/validateUserSession.php b/lib/controller/validateUserSession.php index 07db5e8..58e8b2c 100644 --- a/lib/controller/validateUserSession.php +++ b/lib/controller/validateUserSession.php @@ -1,6 +1,19 @@ Data['id'] > 1 ){ + //Check Time Sync + $MTS = time(); + $CTS = intval( $_POST['CTS'] ); + // If difference more then 2 minutes + if( abs( $MTS-$CTS ) > 120 ){ + //Push Kernel Command -> Sync Time + $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); + $QS = "INSERT INTO `nodes_qcq`(`node_id`,`cmd`,`status`,`parameter`) VALUES(1,252,0,'{$CTS}')"; + $RBASE->Query( $QS, false ); + // Logout user to perform time sync + echo "{'sessionIsValid': false }"; + exit(); + }; echo "{'sessionIsValid': true }"; } else { echo "{'sessionIsValid': false }"; diff --git a/lib/javascript/jsapi_dynamic/mojo_dashboard.js b/lib/javascript/jsapi_dynamic/mojo_dashboard.js index eaa85fb..2eb875e 100644 --- a/lib/javascript/jsapi_dynamic/mojo_dashboard.js +++ b/lib/javascript/jsapi_dynamic/mojo_dashboard.js @@ -874,13 +874,14 @@ function draw2DMasks( a, zzz='' ){ masks_2d_shown[a] = []; var cpath = csvg.getElementById( "svg_mask_"+a ); var bBox; - //if( cpath!=undefined){ - // bBox = cpath.getBBox(); - //} else { + if( cpath!=undefined ){ + + bBox = cpath.getBBox(); + } else { bBox = csvg.getBBox(); - //}; + }; var colors=['#FF0000','#FFFF00','#00FF00','#203080','#0000FF','#FFFF00']; - for( i = 0; i<6; i++){ + for( i = 0; i < 6; i++ ){ masks_2d_shown[a][i] = []; if( masks_2d[a][i].vtx != undefined ){ //console.log( '0 box: '+ bBox.width+'x'+bBox.height ); @@ -902,26 +903,25 @@ function draw2DMasks( a, zzz='' ){ newpath.setAttributeNS(null, "points", pp ); newpath.setAttributeNS(null, "fill",colors[i] ); - if( i < 5 ){ + if( i < 5 ){ // if regular mask - transparency if( masks_2d[a][i].status ){ newpath.setAttributeNS(null, "fill-opacity", "0.6"); } else { newpath.setAttributeNS(null, "fill-opacity", "0.2"); }; - } else { + } else { // Olways ON newpath.setAttributeNS(null, "fill-opacity", "1.0"); }; newpath.setAttributeNS(null, "id", "mask_"+a+"_"+i+"_"+k ); newpath.setAttributeNS(null, "clip-path", "url(#svg_mask_"+a+")" ); var tch = csvg.getElementById( "border_"+a ); - if( 0 && tch != undefined ){ + if( tch != undefined ){ csvg.insertBefore( newpath, tch ); } else { csvg.appendChild( newpath ); }; masks_2d_shown[a][i][k] = 1; }; - }; }; }; @@ -974,11 +974,12 @@ function draw2DDraw( a, zzz = '' ){ if( csvg != undefined ){ var cpath = csvg.getElementById( "svg_mask_"+a ); var bBox; - //if( cpath!=undefined){ - // bBox = cpath.getBBox(); - //} else { + if( cpath!=undefined){ + bBox = cpath.getBBox(); + } else { bBox = csvg.getBBox(); - //}; + }; + //alert( '0 box: '+ bBox.width+'x'+bBox.height ); var newpath = document.createElementNS('http://www.w3.org/2000/svg', "polygon"); var ak = 2.0*Math.PI/draws_2d[a].length; //console.log( '1 box: '+ bBox.width+'x'+bBox.height ); @@ -1202,7 +1203,11 @@ function setDonatStatus( node_id, param_id, value ){ var per3 = val3/total*100; var offset = 25; if( ( val1 != undefined ) && ( value > -1 ) ){ - totalValue.textContent = val1+'%'; + if( param_id < 3 ){ + totalValue.textContent = val1+'%'; + } else { + totalValue.textContent = val1+'°C'; + } } else { totalValue.textContent = 'No Data'; }; diff --git a/lib/javascript/jsapi_dynamic/mojo_global_vars.js b/lib/javascript/jsapi_dynamic/mojo_global_vars.js index 9e39069..4ef468f 100644 --- a/lib/javascript/jsapi_dynamic/mojo_global_vars.js +++ b/lib/javascript/jsapi_dynamic/mojo_global_vars.js @@ -14,7 +14,7 @@ var content_lvl0= -1; var content_lvl1= -1; var content_lvl2= -1; var content_lvl3= -1; -var SoundMode = 2; +var SoundMode=Data['sound_enable']);?>; var PanelW = winW; var PanelH = winH-90; var SelectedSite = ; diff --git a/lib/javascript/jsapi_dynamic/mojo_main.js b/lib/javascript/jsapi_dynamic/mojo_main.js index 6a0cd4a..f9a9687 100644 --- a/lib/javascript/jsapi_dynamic/mojo_main.js +++ b/lib/javascript/jsapi_dynamic/mojo_main.js @@ -184,11 +184,13 @@ function updateUserContent(){ var gSessionValidatorInterval = null; function sessionValidator(){ + var cTS = (new Date())/1000; Ext.Ajax.request({ url: '/lib/controller/validateUserSession.php', params: { UID: , - SID: '' + SID: '', + CTS: cTS }, success: function( response, opts ){ var data = Ext.decode(response.responseText); @@ -437,11 +439,14 @@ Ext.onReady(function(){ handler: function(){ if( SoundMode == 0 ){ SoundMode = 3; + SoundEnable = true; } else { - SoundMode --; + SoundMode --; + if( SoundMode == 0 ) SoundEnable = false; }; Ext.getCmp('snd_mode_btn').setIconClass( 'snd'+SoundMode ); playSound(); + doApplicationOperation( 6, SoundMode ); } },{ xtype: 'spacer', diff --git a/lib/javascript/jsapi_dynamic/mojo_map.js b/lib/javascript/jsapi_dynamic/mojo_map.js index 70d94ee..077f4a5 100644 --- a/lib/javascript/jsapi_dynamic/mojo_map.js +++ b/lib/javascript/jsapi_dynamic/mojo_map.js @@ -1315,6 +1315,7 @@ function createNewMap(){ xtype: 'form', title: 'GetLabel('_INTER_MAP_');?>', id: 'map_map_frm', + fileUpload: true, labelWidth: 250, labelAlign: 'right', height: 450, @@ -1507,9 +1508,8 @@ function createNewMap(){ },{ xtype: 'radio', name: 'bounds_mode', - value: 0, - checked: 1, - fieldLabel: '', + inputValue: 0, + checked: 1 },{ width: 80, html: '' @@ -1517,8 +1517,7 @@ function createNewMap(){ xtype: 'radio', name: 'bounds_mode', checked: 0, - value: 1, - fieldLabel: '', + inputValue: 1 },{ html: '' }] @@ -1677,25 +1676,28 @@ function editCurrentMap(){ if( tt.id == 'map_map_frm' ){ if( Ext.getCmp('map_map_frm').getForm().isValid()){ Ext.getCmp('map_map_frm').getForm().submit({ - url: '/lib/controller/addMap.php', - waitMsg: 'Uploading Image...', + url: '/lib/controller/updateMap.php', + waitMsg: 'GetLabel('_UPDATING_DATA_');?>...', + clientValidation: false, encoding: 'multipart/form-data', - success: function(fp, o){ - //msg('Success', 'Processed file "'+o.result.file+'" on the server'); - //alert('Processed file on the server'); - mapEditorWindow.destroy(); + success: function(f,a){ + alert('Processed file on the server1'); + //mapEditorWindow.hide(); + //mapEditorWindow.destroy(); } }); }; } else { if( Ext.getCmp('map_pic_frm').getForm().isValid()){ Ext.getCmp('map_pic_frm').getForm().submit({ - url: '/lib/controller/addMap.php', - waitMsg: 'Uploading Image...', + url: '/lib/controller/updateMap.php', + clientValidation: false, + waitMsg: 'GetLabel('_UPDATING_DATA_');?>...', encoding: 'multipart/form-data', - success: function(fp, o){ - //alert('Processed file on the server'); - mapEditorWindow.destroy(); + success: function( f, a ){ + alert('Processed file on the server2'); + //mapEditorWindow.hide(); + //mapEditorWindow.destroy(); } }); }; @@ -1716,7 +1718,6 @@ function editCurrentMap(){ height: 540, title: 'GetLabel('_EDIT_CUR_MAP_');?>', modal: true, - //closeAction: 'hide', frame: true, border: false, resizable: false, @@ -1852,18 +1853,17 @@ function editCurrentMap(){ },{ xtype: 'radio', name: 'bounds_mode', - value: 0, - checked: ( newMapData.bounds_mode == 0 ), - fieldLabel: '', + inputValue: 0, + checked: (newMapData.bounds_mode == 0) },{ width: 80, + border: false, html: '' },{ xtype: 'radio', name: 'bounds_mode', - checked: ( newMapData.bounds_mode == 1 ), - value: 1, - fieldLabel: '', + inputValue: 1, + checked: (newMapData.bounds_mode != 0) },{ html: '' }] @@ -1880,12 +1880,9 @@ function editCurrentMap(){ if( Ext.getCmp('map_edt_frm').getForm().isValid()){ Ext.getCmp('map_edt_frm').getForm().submit({ url: '/lib/controller/updateMap.php', - waitMsg: 'Uploading Image...', + waitMsg: 'GetLabel('_UPDATING_DATA_');?>...', encoding: 'multipart/form-data', success: function(fp, o){ - alert('Processed file on the server'); - //msg('Success', 'Processed file "'+o.result.file+'" on the server'); - //alert('Processed file on the server'); mapEditorWindow.destroy(); } }); diff --git a/lib/javascript/jsapi_dynamic/mojo_settings.js b/lib/javascript/jsapi_dynamic/mojo_settings.js index 5411253..095ef27 100644 --- a/lib/javascript/jsapi_dynamic/mojo_settings.js +++ b/lib/javascript/jsapi_dynamic/mojo_settings.js @@ -103,14 +103,34 @@ var targetWidthTable_store = new Ext.data.ArrayStore({ ] }); var cWTRowSelected = null; +var WTSelectedSensor = 0; var widthTableSelModel_ops = { singleSelect: true, listeners: { rowselect: function( sm, row, rec ) { - cRowSelected = row; + cWTRowSelected = rec.data.id; + Ext.getCmp('del_btn_width_table').enable(); } } }; + +function deleteWTRow(){ + Ext.Ajax.request({ + url: '/lib/controller/delWidthTableRecord.php', + params: { + UID: , + SID: '', + DID: WTSelectedSensor, + RID: cWTRowSelected + }, + success: function( response, opts ){ + Ext.getCmp('del_btn_width_table').disable(); + loadWidthTable( WTSelectedSensor ); + }, + failure: failureAJAXFunction + }); +}; + var targetWidthTableColModel_ops = { columns: [ {header: "GetLabel('_WIDTH_CORRECT_');?> (%)", width: 250, align: 'center', css: 'vertical-align: middle;', dataIndex: 'width' }, @@ -131,6 +151,7 @@ function addWidthTableRecord( sensid ){ modal: true, layout: 'form', labelWidth: 150, + closeAction: 'hide', labelAlign: 'right', items:[{ xtype: 'numberfield', @@ -159,6 +180,7 @@ function addWidthTableRecord( sensid ){ NWW: tWidth }, success: function( response, opts ){ + widthTableAddDialog.hide(); loadWidthTable( sensid ); }, failure: failureAJAXFunction @@ -171,6 +193,7 @@ function addWidthTableRecord( sensid ){ }; function loadWidthTable( SensorID ){ + WTSelectedSensor = SensorID; Ext.Ajax.request({ url: '/lib/controller/getWidthTable.php', params: { @@ -1951,30 +1974,30 @@ tPanel.add({ tabchange: function( tp, t ){ switch( t.getId() ){ case 'gi_tab': { - content_lvl3=0; + //content_lvl3=0; updateServerStatus(); break; }; case 'res_tab': { - content_lvl3=1; + //content_lvl3=1; stopStatusUpdater(); loadRessources(); break; }; case 'mod_tab':{ - content_lvl3=2; + //content_lvl3=2; stopStatusUpdater(); loadModules(); break; }; case 'flt_tab':{ - content_lvl3=3; + //content_lvl3=3; stopStatusUpdater(); loadFilters(); break; }; }; - updateUserContent(); + //updateUserContent(); }, afterrender: function(){ settingsAreChanged = false; @@ -2669,13 +2692,12 @@ function showSettingsApplication(){ },{ xtype: 'numberfield', id: 'stor_days', - emptyText: 'GetLabel('_SELE_DBBACKUP_');?>', fieldLabel: 'GetLabel('_STORE_DAYS_');?>', width: 300, value: , - name: 'db_time', + name: 'stor_time', listeners: { - onchange: function( t, b, o){ + change: function( t, b, o ){ doApplicationOperation( 4, b ); } } @@ -2685,12 +2707,14 @@ function showSettingsApplication(){ },{ xtype: 'slider', id: 'stor_space', - fieldLabel: 'GetLabel('_SELE_DBBACKUP_');?>', + fieldLabel: 'GetLabel('_STORE_EMPTY_SPACE_');?>', value: , width: 300, - name: 'db_space', - onchange: function( t, b, o){ - doApplicationOperation( 5, b ); + name: 'stor_space', + listeners: { + change: function( t, b, o ){ + doApplicationOperation( 5, b ); + } } },{ xtype: 'spacer',