<?page title="${labels.GlobalSettings}" contentType="text/html;charset=UTF-8"?>
<zk>
	<window
		id="editWin"
		border="normal"
		closable="true"
		apply="org.zkoss.bind.BindComposer"
		viewModel="@id('vm') @init('info.bukova.isspst.ui.settings.GlobalSettingsVM', window=editWin)"
		form="@id('fx') @init(vm.dataForm) @load(vm.settings) @save(vm.settings, before='save') @validator(vm.globalSettingValidator)"
		validationMessages="@id('vmsg')"
		width="750px"
		height="600px"
		binder="@init(queueName='email')">
		<caption
			src="/img/global-setting-032.png"
			zclass="form-caption"
			label="${labels.GlobalSettings}" />
		<tabbox
			id="idTabBox"
			orient="vertical"
			vflex="1">
			<tabs width="140px">
				<tab label="${labels.Requirements}" />
				<tab
					label="${labels.EMails}"
					id="idTabEmails" />
				<tab label="${labels.ContactInfo }" />
				<tab label="${labels.BankInfo}" />
				<tab label="${labels.TravelOrders}" />
			</tabs>
			<tabpanels>
				<tabpanel>
					<include src="/settings/global/requirements.zul" />
				</tabpanel>
				<tabpanel>
					<include
						id="idIncludedPageEmails"
						src="/settings/global/email.zul" />
				</tabpanel>
				<tabpanel>
					<include src="/settings/global/address.zul" />
				</tabpanel>
				<tabpanel>
					<include src="/settings/global/bank.zul" />
				</tabpanel>
				<tabpanel>
					<include src="/settings/global/travelOrders.zul" />
				</tabpanel>
			</tabpanels>
		</tabbox>
		<include src="/app/formButtons.zul" />
	</window>
</zk>