if(!offline_mode) {
	var max_info = {text: langs.getText("p54","info2")};
} else {
	var max_info = {};
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm54_button", button: [{btn: langs.getText("common","btn_del"), btn_type: "btn_p54_dbdelete auth_write"}]},
            {key: "pgm54_contents", contents: [{text: langs.getText("p54","info1") + " : "}, {name:"DB_BUILDTYPE", value:"", select:[{value: "DB_ALL", option: langs.getText("common","db_all")}, 
																																												 {value: "DB_SPD", option: langs.getText("common","system_speed")},
																																												 {value: "DB_STASPD", option: langs.getText("common","station_speed")}, 
																																												 {value: "DB_STAGRP", option: langs.getText("common","stagrp_data")}, 
																																												 {value: "DB_LCR", option: langs.getText("common","opt_dbname_lcr")}, 
																																												 {value: "DB_NET", option: langs.getText("common","networking_data")}, 
																																												 {value: "DB_SYSTEM", option: langs.getText("common","sys_data")}, 
																																												 {value: "DB_NUMPLAN", option: langs.getText("common","opt_dbname_numplan")}, 
																																												 {value: "DB_FLEXBTN", option: langs.getText("common","opt_dbname_flexbtn")}, 
																																												 {value: "DB_TOLL", option: langs.getText("common","toll_table")}, 
																																												 {value: "DB_MSN", option: langs.getText("common","opt_dbname_msn")}, 
																																												 {value: "DB_DID", option: langs.getText("common","opt_dbname_did")}, 
																																												 {value: "DB_PWD", option: langs.getText("common","opt_dbname_pwd")}, 
																																												 {value: "DB_MOBILE", option: langs.getText("common","opt_dbname_mobile")}, 
																																												 {value: "DB_ICLID", option: langs.getText("common","iclid_tbl")}, 
																																												 {value: "DB_DEV", option: langs.getText("common","opt_dbname_dev")}, 
																																												 {value: "DB_PRE_DIAL", option: langs.getText("common","opt_dbname_pre_dial")}, 
																																												 {value: "DB_SIPSTA", option: langs.getText("common","opt_dbname_sipsta")}, 
																																												 {value: "DB_SIPGW", option: langs.getText("common","opt_dbname_sipgw")}, 
																																												 {value: "DB_SIP_PROVISION", option: langs.getText("common","opt_dbname_sip_provision")}, 
																																												 {value: "DB_ACL", option: langs.getText("common","opt_dbname_acl")}, 
																																												 {value: "DB_UCS", option: langs.getText("common","opt_dbname_ucs")}, 
																																												 {value: "DB_WEBLOG", option: langs.getText("common","opt_dbname_weblog")},
																																												 {value: "DB_VMDB", option: langs.getText("common","opt_dbname_vmdb")},
																																												 {value: "DB_UFUNC", option: langs.getText("common","opt_dbname_ufunc")}], message: "", cont: 0}, 
															  {text: " "}, {name: "DB_BUILDRESULT", btn: langs.getText("common","build"), btn_type: "btn_p54_dbbuild auth_write"}, {br: 2}, max_info]},
            {key: "pgm54_mktbl", table: [{btn: langs.getText("common","btn_chkall"), btn_type: "btn_checkall"},{label: langs.getText("common","location")},{label: langs.getText("common","file_name")}, {label: langs.getText("common","file_size")}, {label: ""}, {label: ""}],
                             data_form: [{key: "", tr: [{chk_type: "chk_checkall", chk: 1}, {name: "DB_FILEPOS", value: "",send_label: 1},{name: "DB_FILENAME", value: "", send_label: 1}, {name: "DB_SIZE", value: "", label: 1}, {label: " Bytes", cont: 1}, {btn: langs.getText("common","apply"), btn_type: "btn_p54_dbapply auth_write"}, {br: 1, cont: 1}, {name: "DB_APPLYRESULT", value: "", select:[{value: "1", option: langs.getText("common","result")+" : "+langs.getText("common","success")}, {value: "2", option: langs.getText("common","result")+" : "+langs.getText("common","fail")}, {value: "3", option: langs.getText("common","result")+" : "+langs.getText("error_msg","vm_notmount")}], message: "", cont: 1, show: 0}, {btn: langs.getText("common","download"), btn_type: "btn_p54_dbdownload"}]}],
                         variable_data: []}
		]}
	]}
);
