diff --git a/.gitignore b/.gitignore index 17541d4..50407f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -lib/controller/data/* \ No newline at end of file +lib/controller/data/* +lib/javascript/jsapi_dynamic/buba + lib/javascript/jsapi_dynamic/buba/* diff --git a/index.php b/index.php index f330c2c..07ec4f4 100644 --- a/index.php +++ b/index.php @@ -8,11 +8,10 @@ array( 'argus_global_vars.js', 'argus_monitoring.js', - 'argus_events.js', - 'argus_media.js', 'argus_reports.js', 'argus_settings.js', 'argus_users.js', + 'argus_logs.js', 'argus_main.js' ) ); @@ -22,11 +21,10 @@ array( 'argus_global_vars.js', 'argus_monitoring.js', - 'argus_events.js', - 'argus_media.js', 'argus_reports.js', 'argus_settings.js', 'argus_users.js', + 'argus_logs.js', 'argus_main.js' ) ); diff --git a/lib/1.json b/lib/1.json index b5be569..70dc33e 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","__NARROWER__":"Narrower","__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","__WIDER__":"Wider","__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_CUSTOMZ_":"Custom Zoom","_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_MAX_RANGE_":"Maximal Range","_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_":"Simple Zoom","_CAM_ZOOM_PERC_":"Zoom Percents","_CAM_ZOOMMO_":"Zoom Mode","_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_":"Detection Bypass","_DEV_ACK_BTN2_":"Detections Bypassed","_DEV_ACK_START_":"Are you sure want to Bypass current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel detection Bypass?","_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","_EDIT_WTR_":"Edit Width Table Record","_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_":"Bypass Mask Deleted","_EVT_MSG_ACKON_":"Bypass 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_":"Latitude","_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_":"Longitude","_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_COORD_SYSTEM_":"Map Cordinate System","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_LEFT_CORCORD_":"Left Upper Corner Cordinate","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (reqires Internet)","_MAP_RIGHT_CORCORD_":"Right Bottom Corner Cordinate","_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?","_SARE_SAVED_":"Settings Are Saved","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Bypass Size","_SENS_ACKT_":"Default Bypass 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","_LNT_BRT_":"Bus rapid transit (BRT)","_LNT_LRT_":"Light rail transit (LRT)","_LNT_MRT_":"Mass rapid transit (MRT)","_LNT_CRT_":"Commuter\/regional rail transit (CRT\/RRT)","_LNT_LCR_":"Inter-city rail (LCR)","_LNT_HSR_":"High-speed rail (HSR)","_UNDEF_TYPE_":"Undefined Type","_SMM_SCH_LOCATION_":"Schematic Location","_SMM_GEO_LOCATION_":"Geolocation","_ADD_OP_SETTINGS_":"Additional Settings [Optional]","_SMM_UNB_STATION_":"Unbind Station from Line","_SMM_DEL_STATION_":"Delete Station from the System","_SMM_DEL_LINE_":"Delete Line from the System","_STATIONS_":"Stations","_MODULES_":"Modules","_LINE_STATUS_":"Status of the Line","_LINE_TYPE_":"Type of the Line","_LINE_NAME_":"Name of the Line","_LINE_SHORT_":"Line abbreviation","_LINE_LBL_COLOR_":"Line Color","_LBL_LINES_":"Metro Lines","_SMM_ADD_LINE_":"Add Line","_LBL_STATIONS_":"Stations","_SMM_ADD_STATION_":"Add\/Assign Station","_LBL_PLATFORMS_":"Platforms","_SRV_SETTINGS_":"Server Settings","_IFR_STRUCT_":"Infrastructure","_SMM_PAT_LEVEL_":"Platform Level","_LBL_TRACKS_":"Tracks","_SMM_PAT_NAME_":"Platform Name","_SMM_MET_ROUTE_":"Metro Lines Routed Through that Platform","_ACTIVE_":"Active","_SMM_TOW_TO_":"Toward to","_STATION_":"Station","_SMM_DEL_PLATFORM_":"Delete Platform","_SMM_ADD_PLATFORM_":"Add Platform","_SMM_NO_NESTA_":"Has no next station","_UPPR_TRACK_":"Upper Track","_BTOM_TRACK_":"Bottom Track","_LBL_TRACK_":"Track","_MEDIA_MNGMNT_":"Media Management","_EVT_MNGMNT_":"Events Management","_LBL_MEDIA_LOG_":"Media Encoder Queue","_LBL_MEDIA_SETTINGS_":"Media Encoder Settings","_UUID_":"Unique Identifier","_ENC_THREAD_M_":"Multithread Mode","_ENC_TH_PERF_":"Per Frame","_ENC_TH_PERS_":"Per Slice","_ENC_CODEC_":"Codec","_ENC_CONTAINER_":"Media Container","_ENC_BITRATE_":"Data Bitrate","_ENC_QUAL_":"Image Quality (CRM)","_SMM_DEL_MODULE_":"Delete Module","_REMOVE_MODULE_":"Remove Module","_REMOVE_MODU_QUES_":"You are about to permanetly remove selected module. Would you like to remove module","_OP_MODULE_CTRL_":"Open Module Settings","_OP_CAMERA_CTRL_":"Open Camera Settings","MOD_LOC_BR":"Bottom Right","MOD_LOC_BL":"Bottom Left","MOD_LOC_UR":"Upper Right","MOD_LOC_UL":"Upper Left","MOD_NAME":"Module Name","MOD_IP":"IP Address","MOD_IDENT":"Identity","MOD_LOCATION":"Location","_RYS_DEL_SESSION_":"Are you sure to remove all Session Data","_RYS_DEL_SES_":"Remove Session Data","_PLS_SEL_STA_ONMAP_":"Please select Station from the Map on the right","_GEN_MSG_":"Message","_NO_REPORTS_4_STATION_":"No Reports where recorded for selected station"} \ No newline at end of file +{"Label ID":"Label Content","___ENABLED__":"Enabled","__ADD__":"Add","__DISABLED__":"Disabled","__LOGIN__":"Login","__LOGIN_ID__":"Login ID","__LOGOUT__":"Logout","__NARROWER__":"Narrower","__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__":"SSL Certificates required for security","__UPLOAD__":"Upload","__WIDER__":"Wider","__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_":"Error: AJAX","_ALARMED_":"Alarmed","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Analogue Video Sources","_APLY_DBBACKUP_":"Restore","_APP_TITLE_":"TTIDS","_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_CUSTOMZ_":"Custom Zoom","_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_MAX_RANGE_":"Maximal Range","_CAM_PANANGS_":"Total Pan Angles","_CAM_PANMOD_":"Pan Model","_CAM_PROTO_ID_":"Camera ID","_CAM_PTZ_AAC_":"PTZ Auto Acceleration","_CAM_PTZ_MAC_":"PTZ Manual Acceleration","_CAM_SENS_SIZE_":"Sensor Size","_CAM_TILTANGS_":"Total 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_":"Simple Zoom","_CAM_ZOOM_PERC_":"Zoom Percents","_CAM_ZOOMMO_":"Zoom Mode","_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_":"Create 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 ... Sync in progress","_DB_STAT_CON_UNA_":"Connection is Unavailable","_DB_STAT_STUDY_":"Analyzing","_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_":"Detection Bypass","_DEV_ACK_BTN2_":"Detections Bypassed","_DEV_ACK_START_":"Are you sure want to Bypass current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel detection Bypass?","_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","_EDIT_WTR_":"Edit Width Table Record","_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 TTIDS 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_":"Bypass Mask Deleted","_EVT_MSG_ACKON_":"Bypass Mask Added","_EVT_MSG_B2DTRG_":"Black 2D Target","_EVT_MSG_BUMO_":"Device Is BUSY","_EVT_MSG_COM_JAMED_":"Communication Jammed","_EVT_MSG_CONNECTED_":"Connected","_EVT_MSG_DISCONNECTED_":"Disconnected","_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_":"Point 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_":"Wide Target","_FACT_DEFAULT_":"Set by Factory","_FACTORY_RESET_":"Reset to Factory Defaults","_FHM_PROPS_":"FH 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 TTIDS server to a KAFKA Broker Node","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Kafka Topics and Events","_LAST_ACCESS_":"Last Access","_LAT_":"Latitude","_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_":"Longitude","_LON_SHORT_LBL_":"Lon","_MA_CIRCLE__":"Circular","_MA_ROUND_":"Square","_MAINTENENCE_":"Maintenance","_MANUADD_CAMERA_":"Manually add IP Camera","_MAP_":"Map","_MAP_CENTER_MODE_":"Map Centre Mode","_MAP_COORD_SYSTEM_":"Map Coordinate System","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_LEFT_CORCORD_":"Left Upper Corner Coordinate","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (requires Internet)","_MAP_RIGHT_CORCORD_":"Right Bottom Corner Coordinate","_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 System Please 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_":"Repeat 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?","_SARE_SAVED_":"Settings Are Saved","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Bypass Size","_SENS_ACKT_":"Default Bypass 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 cleared The only admin user will be preserved.The Report History will be kept 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 Changed They will be Unsaved!","_SET_CREDENTIALS_":"Set Credentials","_SETTING_SAVE_OK_":"All changes saved successfully","_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_":"TTIDS","_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 TTIDS 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.You may request one at www.smartsecsystems.com","_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_":"Installation 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 Values Please 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_":"MediaKit 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":"TTIDS 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 Tunnel","WAN_LINE_PROP":"WAN Connection","WIFI_PROP":"WiFi","_LNT_BRT_":"Bus rapid transit (BRT)","_LNT_LRT_":"Light rail transit (LRT)","_LNT_MRT_":"Mass rapid transit (MRT)","_LNT_CRT_":"Commuter\/regional rail transit (CRT\/RRT)","_LNT_LCR_":"Inter-city rail (LCR)","_LNT_HSR_":"High-speed rail (HSR)","_UNDEF_TYPE_":"Undefined Type","_SMM_SCH_LOCATION_":"Schematic Location","_SMM_GEO_LOCATION_":"Geolocation","_ADD_OP_SETTINGS_":"Additional Settings [Optional]","_SMM_UNB_STATION_":"Unbind Station from Line","_SMM_DEL_STATION_":"Delete Station from the System","_SMM_DEL_LINE_":"Delete Line from the System","_STATIONS_":"Stations","_MODULES_":"Modules","_LINE_STATUS_":"Status of the Line","_LINE_TYPE_":"Type of the Line","_LINE_NAME_":"Name of the Line","_LINE_SHORT_":"Line abbreviation","_LINE_LBL_COLOR_":"Line Color","_LBL_LINES_":"Metro Lines","_SMM_ADD_LINE_":"Add Line","_LBL_STATIONS_":"Stations","_SMM_ADD_STATION_":"Add\/Assign Station","_LBL_PLATFORMS_":"Platforms","_SRV_SETTINGS_":"Server Settings","_IFR_STRUCT_":"Infrastructure","_SMM_PAT_LEVEL_":"Platform Level","_LBL_TRACKS_":"Tracks","_SMM_PAT_NAME_":"Platform Name","_SMM_MET_ROUTE_":"Metro Lines Routed Through that Platform","_ACTIVE_":"Active","_SMM_TOW_TO_":"Toward to","_STATION_":"Station","_SMM_DEL_PLATFORM_":"Delete Platform","_SMM_ADD_PLATFORM_":"Add Platform","_SMM_NO_NESTA_":"Has no next station","_UPPR_TRACK_":"Upper Track","_BTOM_TRACK_":"Bottom Track","_LBL_TRACK_":"Track","_MEDIA_MNGMNT_":"Media Management","_EVT_MNGMNT_":"Events Management","_LBL_MEDIA_LOG_":"Media Encoder Queue","_LBL_MEDIA_SETTINGS_":"Media Encoder Settings","_UUID_":"Unique Identifier","_ENC_THREAD_M_":"Multithread Mode","_ENC_TH_PERF_":"Per Frame","_ENC_TH_PERS_":"Per Slice","_ENC_CODEC_":"Codec","_ENC_CONTAINER_":"Media Container","_ENC_BITRATE_":"Data Bitrate","_ENC_QUAL_":"Image Quality (CRM)","_SMM_DEL_MODULE_":"Delete Module","_REMOVE_MODULE_":"Remove Module","_REMOVE_MODU_QUES_":"You are about to permanently remove selected module.Would you like to remove module","_OP_MODULE_CTRL_":"Open Module Settings","_OP_CAMERA_CTRL_":"Open Camera Settings","MOD_LOC_BR":"Bottom Right","MOD_LOC_BL":"Bottom Left","MOD_LOC_UR":"Upper Right","MOD_LOC_UL":"Upper Left","MOD_NAME":"Module Name","MOD_IP":"IP Address","MOD_IDENT":"Identity","MOD_LOCATION":"Location","_RYS_DEL_SESSION_":"Are you sure to remove all Session Data","_RYS_DEL_SES_":"Remove Session Data","_PLS_SEL_STA_ONMAP_":"Please select Station from the Map on the right","_GEN_MSG_":"Message","_NO_REPORTS_4_STATION_":"No Reports were recorded for selected station","_ENC_PRESET_":"Encoding Preset","_ENC_TUNE_":"Encoding Tune","_ENC_PROFILE_":"Profile","_DB_LOGGING_":"Logging into Database","_APP_SESS_WND_":"Session Timeout","_APP_MENC_COUNT_":"Media Encoders Count","_HAR_LEVEL_":"Remove Sessions Up to","_HAR_DAYS_":"Days to Keep History","_HAR_FREE_PERC_":"Preserve Free Disk Space(%)","_HAR_FREE_MEGS_":"Preserve Free Disk Space(MBytes)","_LBL_SCADA_":"SCADA","_REMOVE_LINE_":"Delete Line","_REMOVE_LINE_QUES_":"You are about to permanently remove selected Line.Would you like to remove Line","_SCADA_STATUS_":"SCADA Status","_MOD_STATUS_":"Module Status","_NOT_ASSIGNED_":"Not Assigned","_HEALTH_":"Health"} \ No newline at end of file diff --git a/lib/assembler.php b/lib/assembler.php index 023e244..902c5d6 100644 --- a/lib/assembler.php +++ b/lib/assembler.php @@ -40,8 +40,7 @@ require_once('php/auth/web.php'); require_once('php/db/language_json_class.php'); require_once('php/ui/UI_functions.php'); - -$UserLang = 1; +if( $UserID < 2 ) $UserLang = 1; if( isset($_GET['Lang']) ){ $UCL=intval( $_GET['Lang'] ); diff --git a/lib/controller/doApplicationOperation.php b/lib/controller/doApplicationOperation.php new file mode 100644 index 0000000..08f5620 --- /dev/null +++ b/lib/controller/doApplicationOperation.php @@ -0,0 +1,60 @@ +Data['id'] > 1 && $CUser->Data['access'] > 5 ){ + $Data = array(); + $Data['success'] = false; + if( isset( $_POST['OPID'] ) ){ + $CMD = intval( $_POST['OPID'] ); + } else { + $CMD = 0; + }; + if( $CMD > 0 ){ + switch( $CMD ){ + case 1:{ + $QS="INSERT INTO `mem_web_queue`(`cmd`,`aux_id`,`param`) VALUES(250,0,'')"; + $DATABASE->Query( $QS ); + }; + case 41:{ + $P = intval( $_POST['OPCODE'] ); + $QS = "UPDATE `system_props` SET `use_db_logging`={$P}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + break; + }; + case 42:{ + $P = intval( $_POST['OPCODE'] ); + $QS = "UPDATE `system_props` SET `encoder_limit`={$P}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + break; + }; + case 43:{ + $P = intval( $_POST['OPCODE'] ); + $QS = "UPDATE `system_props` SET `modbus_auto_rise`={$P}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + break; + }; + case 44:{ + $P = intval( $_POST['OPCODE'] ); + $QS = "UPDATE `system_props` SET `modbus_hazard_level`={$P}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + break; + }; + case 45:{ + $P = intval( $_POST['OPCODE'] ); + $QS = "UPDATE `system_props` SET `modbus_health_level`={$P}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + break; + }; + }; + } else { + $Data['msg']='Wrong Parameters!'; + }; + echo json_encode( $Data ); + exit(); + }; + header('location: /'); +?> \ No newline at end of file diff --git a/lib/controller/doDatabaseOperation.php b/lib/controller/doDatabaseOperation.php new file mode 100644 index 0000000..f2193d1 --- /dev/null +++ b/lib/controller/doDatabaseOperation.php @@ -0,0 +1,38 @@ +$ok, "info"=>$info])); + }; + if( $CUser->Data['id'] > 1 ){ + if( empty( $_FILES ) || $_FILES['db_file']['error'] ){ + verbose( 0, "Failed to move uploaded file.[" . $_FILES['db_file']['error'] . "]" ); + }; + $filePath = $SYSPath . 'lib/controller/data'; + if( !file_exists( $filePath ) ){ + if( !mkdir($filePath, 0777, true ) ){ + verbose( 0, "Failed to create $filePath" ); + }; + }; + if( file_exists( $_FILES['db_file']['tmp_name'] ) ){ + $MD5 = md5_file( $_FILES['db_file']['tmp_name'] ); + $TArr = explode( '.', $_FILES['db_file']['name'] ); + $EXT = 'db'; + $FNAME = $MD5 . '.' . $EXT; + copy( $_FILES['db_file']['tmp_name'], $filePath . '/' . $FNAME ); + @unlink( $_FILES['db_file']['tmp_name'] ); + + $RBASE = new SQLite_DB( '/dev/shm/argus/mem_db.db'); + $PARAM = $MD5; + $QS = "INSERT INTO `nodes_qcq`(`node_id`,`cmd`,`status`,`parameter`) VALUES(1,129,0,'{$PARAM}')"; + $RBASE->Query( $QS, false ); + verbose( 1, "ALL IS OK" ); + }; + } else { + verbose( 0, 'Access Denied!' ); + }; +?> \ No newline at end of file diff --git a/lib/controller/doModuleOperations.php b/lib/controller/doModuleOperations.php index 502298b..d688569 100644 --- a/lib/controller/doModuleOperations.php +++ b/lib/controller/doModuleOperations.php @@ -61,7 +61,7 @@ }; case 5:{ // Edit IDENTITY $EIP = $DATABASE->escape( $_POST['OPCODE'] ); - $QS = "UPDATE `metro_modules` SET `IP4`='{$EIP}' WHERE `id`={$ModuleID}"; + $QS = "UPDATE `metro_modules` SET `identity`='{$EIP}' WHERE `id`={$ModuleID}"; $DATABASE->Query( $QS ); exit(); }; @@ -164,6 +164,61 @@ } else { //Check if need to add module if( $CMD == 300 ){ + $NAME = $DATABASE->escape( $_POST['NAM'] ); + $IP4 = $DATABASE->escape( $_POST['I4P'] ); + $PID = intval( $_POST['PID'] ); + $IDENT = $DATABASE->escape( $_POST['IDT'] ); + $LOC = $_POST['LOC']; + $PLOC = substr( $LOC, 0,1 ); + $TLOC = substr( $LOC, 1,1 ); + $QS = "SELECT `layout` FROM `metro_platforms` WHERE `id`={$PID}"; + $RR = $DATABASE->Query( $QS ); + $DATA = array(); + if( count( $RR ) ){ + $PLO = $RR[0]['layout']; + $QS = "SELECT `id` FROM `metro_tracks` WHERE `platform_id`={$PID} AND `side`='{$PLOC}'"; + $RR = $DATABASE->Query( $QS ); + if( count( $RR ) ){ + $DATA['status']='ok'; + $TID = intval( $RR[0]['id'] ); + if( $PLO == 'C' ){//Regular Island + if( $PLOC == 'B' ){//Bottom Track + if( $TLOC == 'R' ){//Right + $QS = "INSERT INTO `metro_modules` SET `track_id`={$TID}, `side`='F', `status`='D', `name`='$NAME', `IP4`='$IP4', `identity`='{$IDENT}'"; + $DATABASE->Query( $QS ); + $MID = $DATABASE->getLastInsertID(); + $QS = "UPDATE `metro_tracks` SET `far_module_id`={$MID} WHERE `id`={$TID}"; + $DATABASE->Query( $QS ); + } else { + $QS = "INSERT INTO `metro_modules` SET `track_id`={$TID}, `side`='N', `status`='D', `name`='$NAME', `IP4`='$IP4', `identity`='{$IDENT}'"; + $DATABASE->Query( $QS ); + $MID = $DATABASE->getLastInsertID(); + $QS = "UPDATE `metro_tracks` SET `near_module_id`={$MID} WHERE `id`={$TID}"; + $DATABASE->Query( $QS ); + }; + } else { + if( $TLOC == 'L' ){//Left + $QS = "INSERT INTO `metro_modules` SET `track_id`={$TID}, `side`='F', `status`='D', `name`='$NAME', `IP4`='$IP4', `identity`='{$IDENT}'"; + $DATABASE->Query( $QS ); + $MID = $DATABASE->getLastInsertID(); + $QS = "UPDATE `metro_tracks` SET `far_module_id`={$MID} WHERE `id`={$TID}"; + $DATABASE->Query( $QS ); + } else { + $QS = "INSERT INTO `metro_modules` SET `track_id`={$TID}, `side`='N', `status`='D', `name`='$NAME', `IP4`='$IP4', `identity`='{$IDENT}'"; + $DATABASE->Query( $QS ); + $MID = $DATABASE->getLastInsertID(); + $QS = "UPDATE `metro_tracks` SET `near_module_id`={$MID} WHERE `id`={$TID}"; + $DATABASE->Query( $QS ); + }; + }; + }; + } else { + $DATA['msg']='Wrong Track ID Provided!'; + }; + } else { + $DATA['msg']='Wrong Platform ID Provided!'; + }; + echo json_encode( $DATA ); exit(); }; }; diff --git a/lib/controller/doPlatformOperations.php b/lib/controller/doPlatformOperations.php index 6e60544..186d6cb 100644 --- a/lib/controller/doPlatformOperations.php +++ b/lib/controller/doPlatformOperations.php @@ -16,16 +16,34 @@ if( $CMD > 0 ){ switch( $CMD ){ case 1:{//Add Platform - if( strlen( $_POST['OPCODE'] ) ){ + if( strlen( $_POST['OPCODE'] ) && $OID ){ $GOGA = json_decode( $_POST['OPCODE'], true ); - $NAME = $DATABASE->escape( $GOGA['NAME'] ); - $SHORT = $DATABASE->escape( $GOGA['SHORT'] ); - $COLOR = str_ireplace( '#', '', $DATABASE->escape( $GOGA['COLOR'] ) ); - $TYPE = intval($GOGA['TYPE']); - $QS = "INSERT INTO `metro_lines`(`color`,`status`,`name`,`short`,`type`) VALUES('{$COLOR}','D','{$NAME}','{$SHORT}',{$type})"; + $NAME = $DATABASE->escape( $GOGA['name'] ); + $SHORT = $DATABASE->escape( $GOGA['level'] ); + $LAY = $DATABASE->escape( $GOGA['layout'] ) ; + $UP_TRN = $DATABASE->escape( $GOGA['up_trn'] ); + $BT_TRN = $DATABASE->escape( $GOGA['bt_trn'] ); + $UP_TRA = $DATABASE->escape( $GOGA['up_tra'] ); + $BT_TRA = $DATABASE->escape( $GOGA['bt_tra'] ); + $IDX = 11; + $QS = "INSERT INTO `metro_platforms`(`station_id`,`layout`,`name`,`level`,`index`) VALUES({$OID},'{$LAY}','{$NAME}','{$SHORT}',{$IDX})"; $DATABASE->Query( $QS ); - $Data['success'] = true; - $LOG->reg_op( $_POST ); + $PID = $DATABASE->getLastInsertID(); + if( $PID ){ + if( $LAY == 'A' || $LAY == 'B' ){ + $QS = "INSERT INTO `metro_tracks`(`platform_id`,`name`,`short`) VALUES({$PID},{$UP_TRN},{$UP_TRA})"; + $DATABASE->Query( $QS ); + } else { + $QS = "INSERT INTO `metro_tracks`(`platform_id`,`side`,`name`,`short`) VALUES({$PID},'U','{$UP_TRN}','{$UP_TRA}')"; + $DATABASE->Query( $QS ); + $QS = "INSERT INTO `metro_tracks`(`platform_id`,`side`,`name`,`short`) VALUES({$PID},'B','{$BT_TRN}','{$BT_TRA}')"; + $DATABASE->Query( $QS ); + }; + $QS="INSERT INTO `modbus_modules` SET `platform_id`={$PID}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); + }; } else { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); @@ -33,34 +51,26 @@ }; break; }; - case 2:{//Delete Platform + case 2:{//Enable/Disable Platform if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; - $PARAM = intval( $_POST['OPCODE'] ); - if( $PARAM ){ - $QS = "SELECT `id` FROM `metro_lines` WHERE `id`={$PARAM}"; - $RR = $DATABASE->Query( $QS ); - if( count( $RR ) ){ - $QS = "DELETE FROM `metro_stations_2_lines` WHERE `line_id`={$PARAM}"; - $DATABASE->Query( $QS ); - $QS = "DELETE FROM `metro_platforms_2_lines` WHERE `line_id`={$PARAM}"; - $DATABASE->Query( $QS ); - $QS = "DELETE FROM `metro_lines` WHERE `id`={$PARAM}"; - $DATABASE->Query( $QS ); - $Data['success'] = true; - $LOG->reg_op( $_POST ); + if( isset( $_POST['OPCODE'] ) ){ + $LID = intval( $_POST['OPCODE'] ); + if( $LID ){ + $QS="UPDATE `metro_platforms` SET `status`='E' WHERE `id`={$OID}"; } else { - // No Such Line + $QS="UPDATE `metro_platforms` SET `status`='D' WHERE `id`={$OID}"; }; - } else { - // No Line ID + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); }; break; }; - case 3:{//Bind Station to a Line + case 3:{//Bind Platform to a Line if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); @@ -69,12 +79,7 @@ if( isset( $_POST['OPCODE'] ) ){ $LID = intval( $_POST['OPCODE'] ); if( $LID ){ - $QS="SELECT count(`station_id`) `cnt` FROM `metro_stations_2_lines` WHERE `line_id`={$LID}"; - $Result = $DATABASE->Query( $QS ); - if( count( $Result ) ) { - $IDX = intval( $Result[0]['cnt'] )+1; - } else $IDX = 1; - $QS = "INSERT INTO `metro_stations_2_lines`(`station_id`,`line_id`,`index`) VALUES({$OID},{$LID},{$IDX})"; + $QS = "INSERT INTO `metro_platforms_2_lines`(`platform_id`,`line_id`) VALUES({$OID},{$LID}) ON DUPLICATE KEY UPDATE `line_id`=`line_id`"; $DATABASE->Query( $QS ); $Data['success'] = true; $LOG->reg_op( $_POST ); @@ -90,7 +95,7 @@ }; break; }; - case 4:{//Unbind Station from Line + case 4:{//Unbind Platform from Line if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); @@ -99,16 +104,8 @@ if( isset( $_POST['OPCODE'] ) ){ $LID = intval( $_POST['OPCODE'] ); if( $LID ){ - $QS="DELETE FROM `metro_stations_2_lines` WHERE `line_id`={$LID} AND `station_id`={$OID}"; + $QS="DELETE FROM `metro_platforms_2_lines` WHERE `line_id`={$LID} AND `platform_id`={$OID}"; $DATABASE->Query( $QS ); - $QS = "SELECT `station_id`, `index` FROM `metro_stations_2_lines` WHERE `line_id`={$LID} ORDER BY `index`"; - $LL = $DATABASE->Query( $QS ); - $IDX = 1; - foreach( $LL as $L ){ - $QS="UPDATE `metro_stations_2_lines` SET `index`={$IDX} WHERE `line_id`={$LID} AND `station_id`={$L['station_id']}"; - $DATABASE->Query( $QS ); - $IDX++; - }; $Data['success'] = true; $LOG->reg_op( $_POST ); } else { @@ -123,7 +120,7 @@ }; break; }; - case 5:{//Move Station On Line Z. + case 5:{//Move Platform On Station (up/down). if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); @@ -179,94 +176,154 @@ break; }; case 6:{//Update Name - if( $LID == 0 ) { + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; - if( strlen( $_POST['OPCODE'] ) ){ - $NAME = $DATABASE->escape( $_POST['OPCODE'] ); - $QS = "UPDATE `metro_lines` SET `name`='{$NAME}' WHERE `id`={$LID}"; - $DATABASE->Query( $QS ); - $Data['success'] = true; - $LOG->reg_op( $_POST ); - } else { + $NAME = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_platforms` SET `name`='{$NAME}' WHERE `id`={$OID}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); + break; + }; + case 7:{//Update Short + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; + $SHORT = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_platforms` SET `level`='{$SHORT}' WHERE `id`={$OID}"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); break; }; - case 7:{//Update Short - if( $LID == 0 ) { + case 8:{//Update Upper Track Name + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; - if( strlen( $_POST['OPCODE'] ) ){ - $SHORT = $DATABASE->escape( $_POST['OPCODE'] ); - $QS = "UPDATE `metro_lines` SET `short`='{$SHORT}' WHERE `id`={$LID}"; - $DATABASE->Query( $QS ); - $Data['success'] = true; - $LOG->reg_op( $_POST ); - } else { + $NAME = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_tracks` SET `name`='{$NAME}' WHERE `platform_id`={$OID} AND `side`='U'"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); + break; + }; + case 9:{//Update Upper Track Short + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; + $SHORT = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_tracks` SET `short`='{$SHORT}' WHERE `platform_id`={$OID} AND `side`='U'"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); break; }; - case 8:{//Update Color - if( $LID == 0 ) { + case 10:{//Update Bottom Track Name + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; - if( strlen( $_POST['OPCODE'] ) ){ - $COLOR = str_ireplace( '#', '', $DATABASE->escape( $_POST['OPCODE'] ) ); - $QS = "UPDATE `metro_lines` SET `color`='{$COLOR}' WHERE `id`={$LID}"; - $DATABASE->Query( $QS ); - $Data['success'] = true; - $LOG->reg_op( $_POST ); - } else { + $NAME = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_tracks` SET `name`='{$NAME}' WHERE `platform_id`={$OID} AND `side`='B'"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); + break; + }; + case 11:{//Update Bottom Track Short + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; + $SHORT = $DATABASE->escape( $_POST['OPCODE'] ); + $QS = "UPDATE `metro_tracks` SET `short`='{$SHORT}' WHERE `platform_id`={$OID} AND `side`='B'"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); break; }; - case 9:{//Update type - if( $LID == 0 ) { + case 12:{//Enable/Disable Scada + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; - $PARAM = intval( $_POST['OPCODE'] ); - if( $PARAM ){ - $QS = "UPDATE `metro_lines` SET `type`={$PARAM} WHERE `id`={$LID}"; - $DATABASE->Query( $QS ); - } else { + if( isset( $_POST['OPCODE'] ) ){ + $LID = intval( $_POST['OPCODE'] ); + if( $LID ){ + // To enable Must be Set IP + $QS="SELECT * FROM `modbus_modules` WHERE `platform_id`={$OID}"; + $JJ = $DATABASE->Query( $QS ); + if( count( $JJ ) ){ + if( strlen($JJ[0]['ip4']) > 6 ){ + $QS="UPDATE `modbus_modules` SET `wm`='E' WHERE `platform_id`={$OID}"; + $DATABASE->Query( $QS ); + }; + }; + } else { + $QS="UPDATE `modbus_modules` SET `wm`='D' WHERE `platform_id`={$OID}"; + $DATABASE->Query( $QS ); + }; + $Data['success'] = true; + $LOG->reg_op( $_POST ); + }; + break; + }; + case 13:{//Update IP Scada + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; + $IP = $DATABASE->escape( $_POST['OPCODE'] ); + if( strlen( $IP ) > 6 ){ + $QS = "UPDATE `modbus_modules` SET `ip4`='{$IP}' WHERE `platform_id`={$OID}"; + } else { + // Erased IP ---> Disabled Module + $QS = "UPDATE `modbus_modules` SET `ip4`='{$IP}', `wm`='D' WHERE `platform_id`={$OID}"; + }; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); break; }; - case 10:{//Update ena/dis - if( $LID == 0 ) { + case 14:{//Update Port Scada + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); - }; - if( isset( $_POST['OPCODE'] ) ){ - $PARAM = intval( $_POST['OPCODE'] ); - $QS = ($PARAM)?"UPDATE `metro_lines` SET `status`='E' WHERE `id`={$LID}":"UPDATE `metro_lines` SET `status`='D' WHERE `id`={$LID}"; + }; + $PORT = intval( $_POST['OPCODE'] ); + if( $PORT ){ + $QS = "UPDATE `modbus_modules` SET `port`={$PORT} WHERE `platform_id`={$OID}"; $DATABASE->Query( $QS ); - } else { + }; + $Data['success'] = true; + $LOG->reg_op( $_POST ); + break; + }; + case 15:{//Test Scada + if( $OID == 0 ) { $Data['msg']='Wrong Parameters!'; echo json_encode( $Data ); exit(); }; + $VALUE = intval( $_POST['OPCODE'] ); + $QS="INSERT INTO `mem_web_queue`(`cmd`,`aux_id`,`param`) VALUES(248,{$OID},'{$VALUE}')"; + $DATABASE->Query( $QS ); + $Data['success'] = true; + $LOG->reg_op( $_POST ); break; }; }; diff --git a/lib/controller/doSessionOperations.php b/lib/controller/doSessionOperations.php index c587af6..6b8f6ee 100644 --- a/lib/controller/doSessionOperations.php +++ b/lib/controller/doSessionOperations.php @@ -19,7 +19,8 @@ if( $CMD > 0 && $OID > 0 ){ switch( $CMD ){ case 1:{ - if( $ACCESS > 2 ){ + if( $ACCESS > 2 ){// Erase Session .... Direct + /* $QS = "SELECT * FROM `sessions` WHERE `id`={$OID}"; $RR = $DATABASE->Query( $QS ); if( count( $RR ) ){ @@ -44,40 +45,52 @@ }; } else { $Data['msg']='Session is already Deleted!'; - }; + };*/ + //Via Kernel + $QS="INSERT INTO `mem_web_queue`(`cmd`,`aux_id`) VALUES(246,{$OID})"; + $DATABASE->Query( $QS ); + $Data['status'] = 'ok'; } else { $Data['msg']='Wrong Access Level!'; }; }; - case 2:{ // Set Session Status - $ST = intval( $_POST['OPAR'] ); - if( $ST ){ - if( $ST == 6 ) $ST = 4; - $QS = "UPDATE `sessions` SET `status`={$ST} WHERE `id`={$OID}"; - $DATABASE->Query( $QS ); - }; - // Get SetStatus UI - $QS = "SELECT `status`, `final` FROM `sessions` WHERE `id`={$OID}"; - $SR = $DATABASE->Query( $QS ); - $CS = $SR[0]; - if( $CS['final']=='Y' ){ - $QS = "SELECT * FROM `session_statuses` WHERE `min_access`<={$ACCESS}"; - } else { - $QS = "SELECT * FROM `session_statuses` WHERE `min_access`<={$ACCESS} AND `special`=''"; - }; - $SR = $DATABASE->Query( $QS ); - $TDS = ''; - $PPP = 100.0 / count($SR); - foreach( $SR as $S ){ - $FUNC = ($S['special']!='')?$S['special']:'setSessionStatus'; - if( $CS['status'] >= $S['lvl'] ){ - $TDS .= "{$S['label']}"; + case 2:{ // Set Session Status ---- Direct + $QS = "SELECT `status`, `track_id`, `final` FROM `sessions` WHERE `id`={$OID}"; + $R = $DATABASE->Query( $QS ); + if( count( $R ) ){ + $CS = $R[0]; + $ST = intval( $_POST['OPAR'] ); + if( $ST ){ + if( $ST == 6 ) $ST = 4; + $QS = "UPDATE `sessions` SET `status`={$ST} WHERE `id`={$OID}"; + $DATABASE->Query( $QS ); + if( $CS['final'] != 'Y' ){ + // Ongoing Session --->> Sinal to Kernel + $QS="INSERT INTO `mem_web_queue`(`cmd`,`aux_id`,`param`) VALUES(247,{$CS['track_id']},'{$ST}')"; + $DATABASE->Query( $QS ); + }; + $CS['status'] = $ST; + }; + if( $CS['final']=='Y' ){ + $QS = "SELECT * FROM `session_statuses` WHERE `min_access`<={$ACCESS}"; } else { - $TDS .= "{$S['label']}"; + $QS = "SELECT * FROM `session_statuses` WHERE `min_access`<={$ACCESS} AND `special`=''"; + }; + $SR = $DATABASE->Query( $QS ); + $TDS = ''; + $PPP = 100.0 / count($SR); + foreach( $SR as $S ){ + $FUNC = ($S['special']!='')?$S['special']:'setSessionStatus'; + if( $CS['status'] >= $S['lvl'] ){ + $TDS .= "{$S['label']}"; + } else { + $TDS .= "{$S['label']}"; + }; }; + $Data['content']="{ id: 'sets_ui', frame: true, html: '{$TDS}
'}"; + $Data['status'] = 'ok'; }; - $Data['content']="{ id: 'sets_ui', frame: true, html: '{$TDS}
'}"; - $Data['status'] = 'ok'; + break; }; }; } else { diff --git a/lib/controller/getAddModuleWindow.php b/lib/controller/getAddModuleWindow.php index 1079906..ec4ee9c 100644 --- a/lib/controller/getAddModuleWindow.php +++ b/lib/controller/getAddModuleWindow.php @@ -121,12 +121,19 @@ },{ text: '{$Labels->GetLabel( '_ADD_' )}', handler: function(){ - var mtyp = Ext.getCmp('mod_type').getValue(); + var name = Ext.getCmp('mod_name').getValue(); + var addr = Ext.getCmp('mod_ip').getValue(); + var iden = Ext.getCmp('mod_id').getValue(); + var loca = Ext.getCmp('mod_loc').getValue(); Ext.Ajax.request({ - url: '/lib/controller/addModule.php', + url: '/lib/controller/doModuleOperations.php', params: { - SERVID: 1, - TYPE: mtyp, + OPID: 300, + NAM: name, + I4P: addr, + PID: {$PID}, + IDT: iden, + LOC: loca, UID: {$UserID}, SID: '{$Session}' }, @@ -139,7 +146,7 @@ } else { Ext.Msg.show({ title: "{$Labels->GetLabel("_INFO_MSG_")}", - msg: data.message, + msg: data.msg, buttons: Ext.Msg.OK,//YESNOCANCEL, fn: function(){ //SettingsLidar3D.hide(); diff --git a/lib/controller/getApplicationSettings.php b/lib/controller/getApplicationSettings.php new file mode 100644 index 0000000..5f2cfbf --- /dev/null +++ b/lib/controller/getApplicationSettings.php @@ -0,0 +1,202 @@ +Data['id'] > 1 ){ + $Data['status'] = 'error'; + if( $CUser->Data['access'] > 5 ){ + $QS = "SELECT * FROM `system_props` WHERE `id`=1"; + $Result = $DATABASE->Query( $QS ); + $CS = $Result[0]; + $SKEL=<<