VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/webtrees/resources/xml/reports/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/webtrees/resources/xml/reports/individual_ext_report.xml
<?xml version="1.0" encoding="UTF-8" ?>
<Report>
	<Title><var var="I18N::translate('Related families')" /></Title>
	<Description><var var="I18N::translate('A report of the families that are closely related to an individual.')" /></Description>
	<Input name="pid" type="text" default="" lookup="INDI"><var var="I18N::translate('Individual')"/></Input>
	<Input name="relatives" type="select" options="child-family=>I18N::translate('Parents and siblings')|spouse-family=>I18N::translate('Spouses and children')|direct-ancestors=>I18N::translate('Direct line ancestors')|ancestors=>I18N::translate('Direct line ancestors and their families')|descendants=>I18N::translate('Descendants')|all=>I18N::translate('All')"><var var="I18N::translate('Choose relatives')"/></Input>
	<Input name="maxgen" type="select" default="4" options="1=>I18N::number(1)|2=>I18N::number(2)|3=>I18N::number(3)|4=>I18N::number(4)|5=>I18N::number(5)|6=>I18N::number(6)|7=>I18N::number(7)|8=>I18N::number(8)|9=>I18N::number(9)|10=>I18N::number(10)|-1=>I18N::translate('All')"><var var="I18N::translate('Generations')"/></Input>
	<Input name="sortby" type="select" default="BIRT:DATE" options="BIRT:DATE=>I18N::translate('sort by date of birth')|NAME=>I18N::translate('sort by name')"><var var="I18N::translate('Sort order')"/></Input>
	<Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')"/></Input>
	<Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')"/></Input>
	<Input name="photos" type="select" default="highlighted" options="none=>I18N::translate('None')|all=>I18N::translate('All')|highlighted=>I18N::translate('Highlighted image')"><var var="I18N::translate('Show photos')"/></Input>
	<Input name="pageSize" type="select" options="A4=>I18N::translateContext('paper size','A4')|A3=>I18N::translateContext('paper size', 'A3')|US-Letter=>I18N::translateContext('paper size','Letter')|US-Tabloid=>I18N::translateContext('paper size','Tabloid')"><var var="I18N::translate('Page size')" /></Input>
	<Input name="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></Input>
	<!--
	<Input name="fonts" type="select" default="dejavusans" options="arialunicid0=>I18N::translateContext('font name', 'Arial')|dejavusans=>I18N::translateContext('font name', 'DejaVu')|helvetica=>I18N::translateContext('font name', 'Helvetica')"><var var="I18N::translate('Font')"/></Input>
	-->
	<SetVar name="fonts" value="dejavusans" />

	<!-- Header -->
	<Style name="header" font="$fonts" size="18"/>
	<!-- Generated by style - required style name by the generator -->
	<Style name="genby" font="$fonts" size="8"/>
	<!-- Links to sources - required style name by the generator -->
	<Style name="footnotenum" font="$fonts" size="6"/>
	<!-- Source text - FootnoteTexts - required style name by the generator -->
	<Style name="footnote" font="$fonts" size="8"/>
	<!-- Section title -->
	<Style name="title" font="$fonts" size="9" style="B"/>
	<!-- Page numbers text -->
	<Style name="pagenum" font="$fonts" size="8"/>
	<!-- Page Header text -->
	<Style name="pageheader" font="$fonts" size="14"/>
	<!-- Standard text -->
	<Style name="text" font="$fonts" size="9"/>
	<!-- Facts text -->
	<Style name="fact" font="$fonts" size="8"/>
	<!-- Individual names in text boxes -->
	<Style name="name" font="$fonts" size="10"/>
	<!-- Date text -->
	<Style name="date" font="$fonts" size="8"/>

	<SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,NAME,NOTE,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
	<!-- Setup colors -->
	<!-- Section title background color -->
	<SetVar name="stbgcolor" value="#AAAAAA"/>
	<SetVar name="mbgcolor" value=""/>
	<SetVar name="fbgcolor" value=""/>
	<SetVar name="ugbgcolor" value=""/>
	<SetVar name="fbbgcolor" value=""/>
	<SetVar name="tcolor" value=""/>
	<!-- Use colors -->
	<if condition="$colors=='on'">
		<!-- Section title background color -->
		<SetVar name="stbgcolor" value="#9CA3D4"/>
		<!-- Male background color -->
		<SetVar name="mbgcolor" value="#D6E0EA"/>
		<!-- Female background color -->
		<SetVar name="fbgcolor" value="#E9DAF1"/>
		<!-- Unknown gender -->
		<SetVar name="ugbgcolor" value="#FFFFFF"/>
		<!-- Fact boxes -->
		<SetVar name="fbbgcolor" value="#D1D9FF"/>
		<!-- Text color - black -->
		<SetVar name="tcolor" value="#000000"/>
	</if>

	<!-- New Page controller -->
	<SetVar name="newpage" value="0"/>
	<!-- New Page for Sources controller if SOUR exist -->
	<SetVar name="source_exist" value="0"/>

	<!-- set the default widths -->
	<SetVar name="dwidth" value="200"/>
	<SetVar name="pwidth" value="436"/>
	<!-- space height -->
	<SetVar name="sheight" value="15"/>

	<SetVar name="width" value="433"/>
	<SetVar name="width1" value="418"/>
	<SetVar name="width2" value="233"/>

	<!-- change the widths for no pictures -->
	<if condition="$photos=='none'">
		<SetVar name="width" value="0"/>
		<SetVar name="width1" value="0"/>
		<SetVar name="width2" value="0"/>
	</if>

	<if condition="$relatives=='child-family'"><SetVar name="explain" value="I18N::translate('Parents and siblings')"/></if>
	<if condition="$relatives=='spouse-family'"><SetVar name="explain" value="I18N::translate('Spouses and children')"/></if>
	<if condition="$relatives=='direct-ancestors'"><SetVar name="explain" value="I18N::translate('Direct line ancestors')"/></if>
	<if condition="$relatives=='ancestors'"><SetVar name="explain" value="I18N::translate('Direct line ancestors and their families')"/></if>
	<if condition="$relatives=='descendants'"><SetVar name="explain" value="I18N::translate('Descendants')"/></if>
	<if condition="$relatives=='all'"><SetVar name="explain" value="I18N::translate('All')"/></if>


	<Doc pageSize="$pageSize">
		<Header>
			<Cell align="center" newline="1" style="header"><GetPersonName id="$pid" /> — <var var="$explain"/></Cell>
			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')"/> <PageNum/> / <TotalPages/></Cell>
		</Header>

		<Body>
			<!-- set the gedcom context for this individual -->
			<Relatives id="$pid" group="$relatives" maxgen="$maxgen" sortby="$sortby">
				<if condition="$newpage==1">
					<NewPage/>
				</if>
				<SetVar name="newpage" value="1"/>
				<SetVar name="sex" value="@SEX"/>
				<SetVar name="mid" value="@ID"/>
				<!-- Individual name -->
				<TextBox newline="1">
					<Text style="pageheader"><GetPersonName id=""/></Text>
					<if condition="$sources=='on'">
						<!-- print level 1 sources -->
						<RepeatTag tag="SOUR">
							<Footnote>
								<Gedcom id="@SOUR">
									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
									«<GedcomValue tag="TITL" />»
									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
								</Gedcom>
								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
								 <GedcomValue tag="SOUR:DATA:TEXT" />
							</Footnote>
							<SetVar name="source_exist" value="1"/>
						</RepeatTag>
						<!-- print level 2 sources attached to NAME -->
						<RepeatTag tag="NAME:SOUR">
							<Footnote>
								<Gedcom id="@SOUR">
									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
									«<GedcomValue tag="TITL" />»
									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
								</Gedcom>
								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
								 <GedcomValue tag="SOUR:DATA:TEXT" />
							</Footnote>
							<SetVar name="source_exist" value="1" />
						</RepeatTag>
					</if>
				</TextBox>
				<!-- show the persons images -->
				<if condition="$photos=='all'">
					<!-- This is an image not a text, so don't use text padding
					Reset also the last height after all the images has been printed
					set pagecheck to 0, the image function check is too
					and "trick" the X-position back to the margin with a newline -->
					<TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
						<RepeatTag tag="OBJE">
							<Image file="@FILE" width="80" ln="N"/>
						</RepeatTag>
					</TextBox>
				</if>
				<!-- show the person's Highlighted Image -->
				<if condition="$photos=='highlighted'">
					<HighlightedImage left="$pwidth" width="80"/>
				</if>
				<!-- Print the individuals facts -->
				<Cell tcolor="$tcolor" bgcolor="$stbgcolor" border="1" newline="1" style="title" width="$width"><var var="I18N::translate('Facts and events')"/></Cell>
				<Facts ignore="$ignore" families="1">
					<TextBox bgcolor="$fbbgcolor" border="1" width="$dwidth">
						<Text color="$tcolor" style="fact"><var var="@fact"/>  </Text>
						<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE"/>  </Text>
						<!-- look for fact level 2 sources -->
						<if condition="$sources=='on'">
							<RepeatTag tag="@fact:SOUR">
								<Footnote>
									<Gedcom id="@SOUR">
										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
										«<GedcomValue tag="TITL" />»
										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
									</Gedcom>
									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
									 <GedcomValue tag="SOUR:DATA:TEXT" />
								</Footnote>
								<SetVar name="source_exist" value="1" />
							</RepeatTag>
						</if>
					</TextBox>
					<!-- print a different layout for facts with descriptions -->
					<if condition="@desc!=''">
						<TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
							<Text color="$tcolor" style="text">
								<if condition="@desc=='Y'">
									<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/>
								</if>
								<if condition="@desc=='N'">
									<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/>
								</if>
								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
									<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/>
								</if>
								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
									<GedcomValue tag="@desc"/>
								</if>
							</Text>
							<Gedcom id="@ASSO">
								 <GetPersonName id=""/>
							</Gedcom>
							<Gedcom id="@_WTS">
								<if condition="@SEX=='M'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Husband')"/></Text>
								</if>
								<if condition="@SEX=='F'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Wife')"/></Text>
								</if>
								<if condition="@SEX=='U'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Spouse')"/></Text>
								</if>
								<Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
							</Gedcom>
						</TextBox>
					</if>
					<!-- facts without descriptions -->
					<if condition="@desc==''">
						<TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
							<Gedcom id="@_WTS">
								<if condition="@SEX=='M'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Husband')"/></Text>
								</if>
								<if condition="@SEX=='F'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Wife')"/></Text>
								</if>
								<if condition="@SEX=='U'">
									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Spouse')"/></Text>
								</if>
								<Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
							</Gedcom>
						</TextBox>
					</if>
				</Facts>
				<!-- print any level 1 notes, but only if exist -->
				<if condition="($notes=='on') and (@NOTE!='')">
					<TextBox height="$sheight" newline="1" padding="0" width="15"/>
					<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Notes')"/></Cell>
					<RepeatTag tag="NOTE">
						<Cell bgcolor="$fbbgcolor" border="1" newline="1" style="text" tcolor="$tcolor" width="$width"><GedcomValue tag="NOTE"/></Cell>
					</RepeatTag>
				</if>

				<!-- print family with parents and siblings -->
				<TextBox height="$sheight" newline="1" padding="0" width="15"/>
				<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with parents')"/></Cell>
				<RepeatTag tag="FAMC">
					<Gedcom id="@FAMC">
						<!-- father -->
						<Gedcom id="@HUSB">
							<TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
								<Text color="$tcolor" style="text"><var var="I18N::translate('Father')"/>  </Text>
								<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
								<if condition="$sources=='on'">
									<!-- print level 1 sources -->
									<RepeatTag tag="SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
									<!-- print level 2 sources attached to NAME -->
									<RepeatTag tag="NAME:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1" />
									</RepeatTag>
								</if>
								<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
							</TextBox>
						</Gedcom>
						<!-- mother -->
						<Gedcom id="@WIFE">
							<TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
								<Text color="$tcolor" style="text"><var var="I18N::translate('Mother')"/>  </Text>
								<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
								<if condition="$sources=='on'">
									<!-- print level 1 sources -->
									<RepeatTag tag="SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
									<!-- print level 2 sources attached to NAME -->
									<RepeatTag tag="NAME:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1" />
									</RepeatTag>
								</if>
								<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
							</TextBox>
						</Gedcom>
						<!-- siblings -->
						<RepeatTag tag="CHIL">
						<if condition="@CHIL!=$mid">
							<Gedcom id="@CHIL">
								<!-- Brother -->
								<if condition="@SEX=='M'">
									<TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Brother')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
								<!-- Sister -->
								<if condition="@SEX=='F'">
									<TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Sister')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
								<!-- Unknown gender for Sibling -->
								<if condition="@SEX=='U'">
									<TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
							</Gedcom>
						  </if>
						</RepeatTag>
					</Gedcom>
				</RepeatTag>
				<!-- print family with spouse and children -->
				<RepeatTag tag="FAMS">
					<Gedcom id="@FAMS">
						<!-- print wife if person is husband -->
						<if condition="$sex=='M'">
							<TextBox height="$sheight" newline="1" padding="0" width="15"/>
							<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with wife')"/></Cell>
							<SetVar name="spid" value="@WIFE"/>
						</if>
						<!-- print husband if person is wife -->
						<if condition="$sex=='F'">
							<TextBox height="$sheight" newline="1" padding="0" width="15"/>
							<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with husband')"/></Cell>
							<SetVar name="spid" value="@HUSB"/>
						</if>
						<!-- print information for spouse -->
						<Gedcom id="$spid">
							<!-- husband -->
							<if condition="@SEX!='F'">
								<TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
									<Text color="$tcolor" style="text"><var var="I18N::translate('Husband')"/>  </Text>
									<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
									<if condition="$sources=='on'">
										<!-- print level 1 sources -->
										<RepeatTag tag="SOUR">
											<Footnote>
												<Gedcom id="@SOUR">
													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
													«<GedcomValue tag="TITL" />»
													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
												</Gedcom>
												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
												 <GedcomValue tag="SOUR:DATA:TEXT" />
											</Footnote>
											<SetVar name="source_exist" value="1"/>
										</RepeatTag>
										<!-- print level 2 sources attached to NAME -->
										<RepeatTag tag="NAME:SOUR">
											<Footnote>
												<Gedcom id="@SOUR">
													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
													«<GedcomValue tag="TITL" />»
													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
												</Gedcom>
												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
												 <GedcomValue tag="SOUR:DATA:TEXT" />
											</Footnote>
											<SetVar name="source_exist" value="1" />
										</RepeatTag>
									</if>
									<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
								</TextBox>
							</if>
							<!-- wife -->
							<if condition="@SEX=='F'">
								<TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
									<Text color="$tcolor" style="text"><var var="I18N::translate('Wife')"/>  </Text>
									<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
									<if condition="$sources=='on'">
										<!-- print level 1 sources -->
										<RepeatTag tag="SOUR">
											<Footnote>
												<Gedcom id="@SOUR">
													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
													«<GedcomValue tag="TITL" />»
													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
												</Gedcom>
												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
												 <GedcomValue tag="SOUR:DATA:TEXT" />
											</Footnote>
											<SetVar name="source_exist" value="1"/>
										</RepeatTag>
										<!-- print level 2 sources attached to NAME -->
										<RepeatTag tag="NAME:SOUR">
											<Footnote>
												<Gedcom id="@SOUR">
													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
													«<GedcomValue tag="TITL" />»
													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
												</Gedcom>
												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
												 <GedcomValue tag="SOUR:DATA:TEXT" />
											</Footnote>
											<SetVar name="source_exist" value="1" />
										</RepeatTag>
									</if>
									<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
								</TextBox>
							</if>
						</Gedcom>
						<!-- print children with spouse -->
						<RepeatTag tag="CHIL">
							<if condition="@CHIL!=$mid">
								<Gedcom id="@CHIL">
								<!-- Son -->
								<if condition="@SEX=='M'">
									<TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
								<!-- Daughter -->
								<if condition="@SEX=='F'">
									<TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
								<!-- Unknown gender for Child -->
								<if condition="@SEX=='U'">
									<TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
										<Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/>  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
										<if condition="$sources=='on'">
											<!-- print level 1 sources -->
											<RepeatTag tag="SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1"/>
											</RepeatTag>
											<!-- print level 2 sources attached to NAME -->
											<RepeatTag tag="NAME:SOUR">
												<Footnote>
													<Gedcom id="@SOUR">
														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
														«<GedcomValue tag="TITL" />»
														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
													</Gedcom>
													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
													 <GedcomValue tag="SOUR:DATA:TEXT" />
												</Footnote>
												<SetVar name="source_exist" value="1" />
											</RepeatTag>
										</if>
										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
									</TextBox>
								</if>
							</Gedcom>
						  </if>
						</RepeatTag>
					</Gedcom>
				</RepeatTag>
			</Relatives>
		</Body>
		<!-- if the sources were on, print the source citations as footnotes -->
		<if condition="$source_exist==1">
			<!-- add a new page -->
			<NewPage/>
				<TextBox newline="1">
					<Text style="pageheader"><var var="I18N::translate('Sources')"/><br /><br /></Text>
					<FootnoteTexts/>
				</TextBox>
		</if>
		<Footer>
			<Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
		</Footer>
	</Doc>
</Report>

VaKeR 2022