if (offline_mode) {
	var monitor_btn = {};
	var db_ver = {text: langs.getText("common","simple_database")+" "+langs.getText("common","info_version")+" : "+(info.DB_VERSION?info.DB_VERSION:"-")};
	var db_br = {br: 1};
} else {
	var monitor_btn = {key: "pgm98_button", button: [{btn: langs.getText("p98","btn_monitor"), btn_type: "btn_p98_monitor"}]};
	var db_ver = {};
	var db_br = {};
}

define(
    {elements:[
        {name:"tab1", tab: [
				monitor_btn,
				{key: "pgm98_sys_verinfo", contents: [{text: langs.getText("common","info_app")+" "+langs.getText("common","info_version")+" : "+(info.APP_VERSION?info.APP_VERSION:"-")}, {br: 1},
																  {text: langs.getText("common","info_boot")+" "+langs.getText("common","info_version")+" : "+((info.BOOT_VERSION!=" ")?info.BOOT_VERSION:"-")}, {br: 1},
																  {text: langs.getText("common","info_kernel")+" "+langs.getText("common","info_version")+" : "+(info.KERNEL_VERSION?info.KERNEL_VERSION:"-")}, {br: 1},
																  {text: langs.getText("common","info_hw")+" "+langs.getText("common","info_issue")+" : "+(info.HW_ISSUE?info.HW_ISSUE:"-")},{br: 1},
																  db_ver,db_br,
																  {text: langs.getText("common","info_uptime")+" : "}, {name: "UPTIME", value: "", text: 1}, {br: 2}]},
            {key: "pgm98_mktbl", table: [{label: langs.getText("common","classification")}, {label: langs.getText("common","type")}, {label: langs.getText("common","log_no")}, {label: langs.getText("common","ipaddr")}, {label: langs.getText("common","info_version")}, 
													  {label: langs.getText("common","connection")}, {label: langs.getText("common","state")}], 
                               data_form:[{key: "", tr: [{name:"DEV_CLASS", value:"", label: 1}, 
																			{name:"DEV_TYPE", value:"", label: 1}, 
																			{name:"DEV_LOGORDER", value:"", label: 1}, 
                                                         {name:"DEV_IP", value: "", label: 1}, {br: 1, cont: 1}, {name: "DEV_RMTIP", value: "", label: 1, cont: 1},
                                                         {name:"DEV_VER", value:"", label: 1}, 
                                                         {name:"DEV_CONNECT", value:"", label: 1},
                                                         {name:"DEV_STATE", value:"", label: 1}]}],
                           variable_data:[{}]}
        ]}
    ]}
);
