xref: /webtrees/resources/xml/reports/fact_sources.xml (revision 4d314e6b28a3e57668463e010244449523e91e5c)
19cad7645SGreg Roach<?xml version="1.0" encoding="UTF-8" ?>
29cad7645SGreg Roach<Report>
39cad7645SGreg Roach	<Title><var var="I18N::translate('Source')" /></Title>
49cad7645SGreg Roach	<Description><var var="I18N::translate('A report of facts which are supported by a given source.')" /></Description>
59cad7645SGreg Roach	<Input name="sid" lookup="SOUR" default="" type="text"><var var="I18N::translate('Find a source')" /></Input>
69cad7645SGreg Roach	<Input name="stype" type="select" default="facts" options="facts=>I18N::translate('facts')|records=>I18N::translate('records')"><var var="I18N::translate('Source type')" /></Input>
79cad7645SGreg Roach	<Input name="sortby" type="select" default="BIRT:DATE" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></Input>
8*4d314e6bSGreg Roach	<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>
99cad7645SGreg Roach	<!--
109cad7645SGreg Roach	<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>
119cad7645SGreg Roach	-->
129cad7645SGreg Roach	<SetVar name="fonts" value="dejavusans" />
139cad7645SGreg Roach
149cad7645SGreg Roach	<!-- Header -->
159cad7645SGreg Roach	<Style name="header" font="$fonts" size="18" style="b" />
169cad7645SGreg Roach	<!-- Source Title -->
179cad7645SGreg Roach	<Style name="header2" font="$fonts" size="14" style="b" />
189cad7645SGreg Roach	<!-- Name of the List Type. INDI or FAM -->
199cad7645SGreg Roach	<Style name="listtype" font="$fonts" size="12" style="b" />
209cad7645SGreg Roach	<!-- Page numbers text -->
219cad7645SGreg Roach	<Style name="pagenum" font="$fonts" size="8" />
229cad7645SGreg Roach	<!-- Generated by style - required style name by the generator -->
239cad7645SGreg Roach	<Style name="genby" font="$fonts" size="8" />
249cad7645SGreg Roach	<!-- Date Text - CSS Style name -->
259cad7645SGreg Roach	<Style name="date" font="$fonts" size="8"/>
269cad7645SGreg Roach	<!-- Column list labels - CSS Style name -->
279cad7645SGreg Roach	<Style name="list_label" font="$fonts" size="9" style="b"/>
289cad7645SGreg Roach	<!-- List values - CSS Style name -->
299cad7645SGreg Roach	<Style name="list_value" font="$fonts" size="8"/>
309cad7645SGreg Roach
319cad7645SGreg Roach	<SetVar name="nameindi" value="200" />
329cad7645SGreg Roach	<SetVar name="datebirth" value="120" />
339cad7645SGreg Roach	<SetVar name="namefam" value="$nameindi + $datebirth" />
349cad7645SGreg Roach	<SetVar name="fact" value="100" />
359cad7645SGreg Roach	<SetVar name="dateevent" value="110" />
369cad7645SGreg Roach	<SetVar name="vspace" value="5" />
379cad7645SGreg Roach	<SetVar name="printedsource" value="0" />
389cad7645SGreg Roach	<SetVar name="moresourcespaceindi" value="$nameindi + $datebirth" />
399cad7645SGreg Roach	<SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
409cad7645SGreg Roach
419cad7645SGreg Roach	<Doc pageSize="$pageSize" orientation="landscape">
429cad7645SGreg Roach		<Header>
439cad7645SGreg Roach			<Cell align="center" newline="1" style="header"><var var="I18N::translate('Source')" /></Cell>
449cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
459cad7645SGreg Roach			<!-- Source Title -->
469cad7645SGreg Roach			<Gedcom id="$sid">
479cad7645SGreg Roach				<Cell align="center" newline="1" style="header2"><GedcomValue tag="TITL" /></Cell>
489cad7645SGreg Roach			</Gedcom>
499cad7645SGreg Roach		</Header>
509cad7645SGreg Roach
519cad7645SGreg Roach		<Body>
529cad7645SGreg Roach		<if condition="$stype=='facts'">
539cad7645SGreg Roach			<!-- List type -->
549cad7645SGreg Roach			<Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Individuals')" /></Cell>
559cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
569cad7645SGreg Roach
579cad7645SGreg Roach			<!-- Individual Name -->
589cad7645SGreg Roach			<SetVar name="fill" value="" />
599cad7645SGreg Roach			<if condition="$sortby=='NAME'">
609cad7645SGreg Roach				<SetVar name="fill" value="#AAAAAA" />
619cad7645SGreg Roach			</if>
629cad7645SGreg Roach			<Cell bgcolor="$fill" border="1" style="list_label" width="$nameindi"><var var="I18N::translate('Name')" /></Cell>
639cad7645SGreg Roach			<!-- Birth date -->
649cad7645SGreg Roach			<SetVar name="fill" value="" />
659cad7645SGreg Roach			<if condition="$sortby=='BIRT:DATE'">
669cad7645SGreg Roach				<SetVar name="fill" value="#AAAAAA" />
679cad7645SGreg Roach			</if>
689cad7645SGreg Roach			<Cell bgcolor="$fill" border="1" style="list_label" width="$datebirth"><var var="I18N::translate('Date of birth')" /></Cell>
699cad7645SGreg Roach			<!-- Name of the fact that contains the source -->
709cad7645SGreg Roach			<Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Event')" /></Cell>
719cad7645SGreg Roach			<!-- Date of the fact -->
729cad7645SGreg Roach			<Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date')" /></Cell>
739cad7645SGreg Roach			<!-- Detailed source text -->
749cad7645SGreg Roach			<Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
759cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
769cad7645SGreg Roach
779cad7645SGreg Roach			<!-- Individual List -->
789cad7645SGreg Roach			<List list="individual" filter1=":SOUR CONTAINS @$sid@" sortby="$sortby">
799cad7645SGreg Roach				<SetVar name="moresource" value="0" />
809cad7645SGreg Roach				<SetVar name="printsource" value="0" />
819cad7645SGreg Roach				<!-- Printed List counter -->
829cad7645SGreg Roach				<SetVar name="printedsource" value="$printedsource + 1" />
839cad7645SGreg Roach
849cad7645SGreg Roach				<!-- Individual Name -->
859cad7645SGreg Roach				<Cell style="list_value" width="$nameindi"><GetPersonName id="" /></Cell>
869cad7645SGreg Roach				<!-- Birth date -->
879cad7645SGreg Roach				<Cell style="list_value" width="$datebirth"><GedcomValue tag="BIRT:DATE" /></Cell>
889cad7645SGreg Roach				<Facts ignore="$ignore">
899cad7645SGreg Roach					<SetVar name="printfact" value="0" />
909cad7645SGreg Roach					<RepeatTag tag="@fact:SOUR">
919cad7645SGreg Roach						<Gedcom id="@SOUR">
929cad7645SGreg Roach							<if condition="@ID==$sid">
939cad7645SGreg Roach								<SetVar name="printfact" value="1" />
949cad7645SGreg Roach							</if>
959cad7645SGreg Roach						</Gedcom>
969cad7645SGreg Roach					</RepeatTag>
979cad7645SGreg Roach
989cad7645SGreg Roach					<if condition="$printfact==1">
999cad7645SGreg Roach						<SetVar name="printsource" value="0" />
1009cad7645SGreg Roach						<!-- Indent the fact line if more then one fact has source -->
1019cad7645SGreg Roach						<if condition="$moresource==1">
1029cad7645SGreg Roach							<Cell style="list_value" width="$moresourcespaceindi"> </Cell>
1039cad7645SGreg Roach						</if>
1049cad7645SGreg Roach
1059cad7645SGreg Roach						<!-- Name of the fact that contains the source -->
1069cad7645SGreg Roach						<Cell style="list_value" width="$fact"><var var="@fact" /></Cell>
1079cad7645SGreg Roach						<!-- Date of the fact -->
1089cad7645SGreg Roach						<Cell style="list_value" width="$dateevent"><GedcomValue tag="@fact:DATE"/></Cell>
1099cad7645SGreg Roach						<!-- Detailed source text -->
1109cad7645SGreg Roach						<Cell style="list_value" newline="1">
1119cad7645SGreg Roach							<SetVar name="repeatedSource" value="0" />
1129cad7645SGreg Roach							<RepeatTag tag="@fact:SOUR">
1139cad7645SGreg Roach								<Gedcom id="@SOUR">
1149cad7645SGreg Roach									<if condition="@ID==$sid">
1159cad7645SGreg Roach										<SetVar name="printsource" value="1" />
1169cad7645SGreg Roach									</if>
1179cad7645SGreg Roach								</Gedcom>
1189cad7645SGreg Roach								<if condition="$printsource==1">
1199cad7645SGreg Roach									<if condition="$repeatedSource==1">; </if>
1209cad7645SGreg Roach									<if condition="@SOUR:PAGE!='' or @SOUR:DATA:TEXT!=''">
1219cad7645SGreg Roach										<SetVar name="repeatedSource" value="1" />
1229cad7645SGreg Roach									</if>
1239cad7645SGreg Roach									<GedcomValue tag="SOUR:PAGE"/>
1249cad7645SGreg Roach									<if condition="@SOUR:DATA:TEXT!=''">
1259cad7645SGreg Roach										<if condition="@SOUR:PAGE!=''">
1269cad7645SGreg Roach											<br />
1279cad7645SGreg Roach										</if>
1289cad7645SGreg Roach										<GedcomValue tag="SOUR:DATA:TEXT" />
1299cad7645SGreg Roach									</if>
1309cad7645SGreg Roach									<SetVar name="printsource" value="0" />
1319cad7645SGreg Roach								</if>
1329cad7645SGreg Roach							</RepeatTag>
1339cad7645SGreg Roach						</Cell>
1349cad7645SGreg Roach						<SetVar name="moresource" value="1" />
1359cad7645SGreg Roach					</if>
1369cad7645SGreg Roach					<SetVar name="printfact" value="0" />
1379cad7645SGreg Roach				</Facts>
1389cad7645SGreg Roach			</List>
1399cad7645SGreg Roach
1409cad7645SGreg Roach			<!-- Print the list counter -->
1419cad7645SGreg Roach			<if condition="$printedsource==0">
1429cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: 0</Cell>
1439cad7645SGreg Roach			</if>
1449cad7645SGreg Roach			<if condition="$printedsource > 0">
1459cad7645SGreg Roach				<TextBox height="$vspace" newline="1" padding="0"/>
1469cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: <var var="printedsource" /></Cell>
1479cad7645SGreg Roach			</if>
1489cad7645SGreg Roach
1499cad7645SGreg Roach			<NewPage />
1509cad7645SGreg Roach			<!-- Family List -->
1519cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
1529cad7645SGreg Roach			<Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Families')" /></Cell>
1539cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
1549cad7645SGreg Roach			<!-- Family Name -->
1559cad7645SGreg Roach			<Cell border="1" style="list_label" width="$namefam"><var var="I18N::translate('Name')" /></Cell>
1569cad7645SGreg Roach			<!-- Name of the fact that contains the source -->
1579cad7645SGreg Roach			<Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Event')" /></Cell>
1589cad7645SGreg Roach			<!-- Date of the fact -->
1599cad7645SGreg Roach			<Cell bgcolor="#AAAAAA" border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date')" /></Cell>
1609cad7645SGreg Roach			<!-- Detailed source text -->
1619cad7645SGreg Roach			<Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
1629cad7645SGreg Roach
1639cad7645SGreg Roach			<!-- Family List -->
1649cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
1659cad7645SGreg Roach			<SetVar name="printedsource" value="0" />
1669cad7645SGreg Roach			<List list="family" filter1=":SOUR CONTAINS @$sid@" sortby="MARR:DATE">
1679cad7645SGreg Roach				<SetVar name="moresource" value="0" />
1689cad7645SGreg Roach				<SetVar name="printsource" value="0" />
1699cad7645SGreg Roach				<!-- Printed List counter -->
1709cad7645SGreg Roach				<SetVar name="printedsource" value="$printedsource + 1" />
1719cad7645SGreg Roach
1729cad7645SGreg Roach				<!-- Family Name -->
1739cad7645SGreg Roach				<Cell style="list_value" width="$namefam"><GetPersonName id="" /></Cell>
1749cad7645SGreg Roach				<Facts ignore="$ignore">
1759cad7645SGreg Roach					<SetVar name="printfact" value="0" />
1769cad7645SGreg Roach					<RepeatTag tag="@fact:SOUR">
1779cad7645SGreg Roach						<Gedcom id="@SOUR">
1789cad7645SGreg Roach							<if condition="@ID==$sid">
1799cad7645SGreg Roach								<SetVar name="printfact" value="1" />
1809cad7645SGreg Roach							</if>
1819cad7645SGreg Roach						</Gedcom>
1829cad7645SGreg Roach					</RepeatTag>
1839cad7645SGreg Roach
1849cad7645SGreg Roach					<if condition="$printfact==1">
1859cad7645SGreg Roach						<SetVar name="printsource" value="0" />
1869cad7645SGreg Roach						<!-- Indent the fact line if more then one fact has source -->
1879cad7645SGreg Roach						<if condition="$moresource==1">
1889cad7645SGreg Roach							<Cell style="list_value" width="$namefam"> </Cell>
1899cad7645SGreg Roach						</if>
1909cad7645SGreg Roach
1919cad7645SGreg Roach						<!-- Name of the fact that contains the source -->
1929cad7645SGreg Roach						<Cell style="list_value" width="$fact">
1939cad7645SGreg Roach							<if condition="@fact=='MARR'">
1949cad7645SGreg Roach								<!-- Print different type of marriages -->
1959cad7645SGreg Roach								<if condition="@MARR:TYPE==''">
1969cad7645SGreg Roach									<var var="@fact" />
1979cad7645SGreg Roach								</if>
1989cad7645SGreg Roach								<if condition="@MARR:TYPE=='Religious'">
1999cad7645SGreg Roach									<var var="I18N::translate('Religious marriage')" />
2009cad7645SGreg Roach								</if>
2019cad7645SGreg Roach								<if condition="@MARR:TYPE=='Civil'">
2029cad7645SGreg Roach									<var var="I18N::translate('Civil marriage')" />
2039cad7645SGreg Roach								</if>
2049cad7645SGreg Roach								<if condition="@MARR:TYPE=='Partners'">
2059cad7645SGreg Roach									<var var="I18N::translate('Registered partnership')" />
2069cad7645SGreg Roach								</if>
2079cad7645SGreg Roach							</if>
2089cad7645SGreg Roach							<if condition="@fact!='MARR'">
2099cad7645SGreg Roach								<var var="@fact" />
2109cad7645SGreg Roach							</if>
2119cad7645SGreg Roach						</Cell>
2129cad7645SGreg Roach
2139cad7645SGreg Roach						<!-- Date of the fact -->
2149cad7645SGreg Roach						<Cell style="list_value" width="$dateevent"><GedcomValue tag="@fact:DATE"/></Cell>
2159cad7645SGreg Roach						<!-- Detailed source text -->
2169cad7645SGreg Roach						<Cell style="list_value" newline="1">
2179cad7645SGreg Roach							<SetVar name="repeatedSource" value="0" />
2189cad7645SGreg Roach							<RepeatTag tag="@fact:SOUR">
2199cad7645SGreg Roach								<Gedcom id="@SOUR">
2209cad7645SGreg Roach									<if condition="@ID==$sid">
2219cad7645SGreg Roach										<SetVar name="printsource" value="1" />
2229cad7645SGreg Roach									</if>
2239cad7645SGreg Roach								</Gedcom>
2249cad7645SGreg Roach								<if condition="$printsource==1">
2259cad7645SGreg Roach									<if condition="$repeatedSource==1">; </if>
2269cad7645SGreg Roach									<if condition="@SOUR:PAGE!='' or @SOUR:DATA:TEXT!=''">
2279cad7645SGreg Roach										<SetVar name="repeatedSource" value="1" />
2289cad7645SGreg Roach									</if>
2299cad7645SGreg Roach									<GedcomValue tag="SOUR:PAGE"/>
2309cad7645SGreg Roach									<if condition="@SOUR:DATA:TEXT!=''">
2319cad7645SGreg Roach										<if condition="@SOUR:PAGE!=''">
2329cad7645SGreg Roach											<br />
2339cad7645SGreg Roach										</if>
2349cad7645SGreg Roach										<GedcomValue tag="SOUR:DATA:TEXT" />
2359cad7645SGreg Roach									</if>
2369cad7645SGreg Roach									<SetVar name="printsource" value="0" />
2379cad7645SGreg Roach								</if>
2389cad7645SGreg Roach							</RepeatTag>
2399cad7645SGreg Roach						</Cell>
2409cad7645SGreg Roach						<SetVar name="moresource" value="1" />
2419cad7645SGreg Roach					</if>
2429cad7645SGreg Roach					<SetVar name="printfact" value="0" />
2439cad7645SGreg Roach				</Facts>
2449cad7645SGreg Roach			</List>
2459cad7645SGreg Roach
2469cad7645SGreg Roach			<!-- Print the list counter -->
2479cad7645SGreg Roach			<if condition="$printedsource==0">
2489cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: 0</Cell>
2499cad7645SGreg Roach			</if>
2509cad7645SGreg Roach			<if condition="$printedsource > 0">
2519cad7645SGreg Roach				<TextBox height="$vspace" newline="1" padding="0"/>
2529cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: <var var="printedsource" /></Cell>
2539cad7645SGreg Roach			</if>
2549cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
2559cad7645SGreg Roach		</if>
2569cad7645SGreg Roach		<if condition="$stype=='records'">
2579cad7645SGreg Roach			<!-- List type -->
2589cad7645SGreg Roach			<Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Individuals')" /></Cell>
2599cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
2609cad7645SGreg Roach
2619cad7645SGreg Roach			<!-- Individual Name -->
2629cad7645SGreg Roach			<SetVar name="fill" value="" />
2639cad7645SGreg Roach			<if condition="$sortby=='NAME'">
2649cad7645SGreg Roach				<SetVar name="fill" value="#AAAAAA" />
2659cad7645SGreg Roach			</if>
2669cad7645SGreg Roach			<Cell bgcolor="$fill" border="1" style="list_label" width="$nameindi"><var var="I18N::translate('Name')" /></Cell>
2679cad7645SGreg Roach			<!-- Birth date -->
2689cad7645SGreg Roach			<SetVar name="fill" value="" />
2699cad7645SGreg Roach			<if condition="$sortby=='BIRT:DATE'">
2709cad7645SGreg Roach				<SetVar name="fill" value="#AAAAAA" />
2719cad7645SGreg Roach			</if>
2729cad7645SGreg Roach			<Cell bgcolor="$fill" border="1" style="list_label" width="$fact"><var var="I18N::translate('Date of birth')" /></Cell>
2739cad7645SGreg Roach			<Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Place of birth')" /></Cell>
2749cad7645SGreg Roach			<Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Date of death')" /></Cell>
2759cad7645SGreg Roach			<Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Place of death')" /></Cell>
2769cad7645SGreg Roach			<!-- Detailed source text -->
2779cad7645SGreg Roach			<Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
2789cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
2799cad7645SGreg Roach
2809cad7645SGreg Roach			<!-- Individual List -->
2819cad7645SGreg Roach			<List list="individual" filter1="SOUR CONTAINS @$sid@" sortby="$sortby">
2829cad7645SGreg Roach				<!-- Printed List counter -->
2839cad7645SGreg Roach				<SetVar name="printedsource" value="$printedsource + 1" />
2849cad7645SGreg Roach				<!-- Individual Name -->
2859cad7645SGreg Roach				<Cell style="list_value" width="$nameindi"><GetPersonName id="" /></Cell>
2869cad7645SGreg Roach				<!-- Birth date -->
2879cad7645SGreg Roach				<Cell style="list_value" width="$dateevent"><GedcomValue tag="BIRT:DATE" /></Cell>
2889cad7645SGreg Roach				<!-- Birth place -->
2899cad7645SGreg Roach				<Cell style="list_value" width="$fact"><GedcomValue tag="BIRT:PLAC" /></Cell>
2909cad7645SGreg Roach				<!-- Death date -->
2919cad7645SGreg Roach				<Cell style="list_value" width="$dateevent"><GedcomValue tag="DEAT:DATE" /></Cell>
2929cad7645SGreg Roach				<!-- Death place -->
2939cad7645SGreg Roach				<Cell style="list_value" width="$fact"><GedcomValue tag="DEAT:PLAC" /></Cell>
2949cad7645SGreg Roach				<!-- Detailed source text -->
2959cad7645SGreg Roach				<Cell style="list_value" newline="1">
2969cad7645SGreg Roach					<GedcomValue tag="SOUR:PAGE"/>
2979cad7645SGreg Roach					<if condition="@SOUR:DATA:TEXT!=''">
2989cad7645SGreg Roach						<br /><GedcomValue tag="SOUR:DATA:TEXT"/>
2999cad7645SGreg Roach					</if>
3009cad7645SGreg Roach				</Cell>
3019cad7645SGreg Roach			</List>
3029cad7645SGreg Roach
3039cad7645SGreg Roach			<!-- Print the list counter -->
3049cad7645SGreg Roach			<if condition="$printedsource==0">
3059cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: 0</Cell>
3069cad7645SGreg Roach			</if>
3079cad7645SGreg Roach			<if condition="$printedsource > 0">
3089cad7645SGreg Roach				<TextBox height="$vspace" newline="1" padding="0"/>
3099cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: <var var="printedsource" /></Cell>
3109cad7645SGreg Roach			</if>
3119cad7645SGreg Roach			<NewPage />
3129cad7645SGreg Roach			<!-- Family List -->
3139cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
3149cad7645SGreg Roach			<Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Families')" /></Cell>
3159cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
3169cad7645SGreg Roach			<!-- Family Name -->
3179cad7645SGreg Roach			<Cell border="1" style="list_label" width="$namefam"><var var="I18N::translate('Name')" /></Cell>
3189cad7645SGreg Roach			<!-- Name of the fact that contains the source -->
3199cad7645SGreg Roach			<Cell bgcolor="#AAAAAA" border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date of marriage')" /></Cell>
3209cad7645SGreg Roach			<!-- Date of the fact -->
3219cad7645SGreg Roach			<Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Place of marriage')" /></Cell>
3229cad7645SGreg Roach			<!-- Detailed source text -->
3239cad7645SGreg Roach			<Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
3249cad7645SGreg Roach
3259cad7645SGreg Roach			<!-- Family List -->
3269cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
3279cad7645SGreg Roach			<SetVar name="printedsource" value="0" />
3289cad7645SGreg Roach			<List list="family" filter1="SOUR CONTAINS @$sid@" sortby="MARR:DATE">
3299cad7645SGreg Roach				<SetVar name="printsource" value="0" />
3309cad7645SGreg Roach				<!-- Printed List counter -->
3319cad7645SGreg Roach				<SetVar name="printedsource" value="$printedsource + 1" />
3329cad7645SGreg Roach
3339cad7645SGreg Roach				<!-- Family Name -->
3349cad7645SGreg Roach				<Cell style="list_value" width="$namefam"><GetPersonName id="" /></Cell>
3359cad7645SGreg Roach				<!-- Date of the fact -->
3369cad7645SGreg Roach				<Cell style="list_value" width="$dateevent"><GedcomValue tag="MARR:DATE"/></Cell>
3379cad7645SGreg Roach				<!-- Place of the fact -->
3389cad7645SGreg Roach				<Cell style="list_value" width="$fact"><GedcomValue tag="MARR:PLAC"/></Cell>
3399cad7645SGreg Roach				<!-- Detailed source text -->
3409cad7645SGreg Roach				<Cell style="list_value" newline="1">
3419cad7645SGreg Roach					<GedcomValue tag="SOUR:PAGE"/>
3429cad7645SGreg Roach					<if condition="@SOUR:DATA:TEXT!=''">
3439cad7645SGreg Roach						<br /><GedcomValue tag="SOUR:DATA:TEXT"/>
3449cad7645SGreg Roach					</if>
3459cad7645SGreg Roach				</Cell>
3469cad7645SGreg Roach			</List>
3479cad7645SGreg Roach
3489cad7645SGreg Roach			<!-- Print the list counter -->
3499cad7645SGreg Roach			<if condition="$printedsource==0">
3509cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: 0</Cell>
3519cad7645SGreg Roach			</if>
3529cad7645SGreg Roach			<if condition="$printedsource > 0">
3539cad7645SGreg Roach				<TextBox height="$vspace" newline="1" padding="0"/>
3549cad7645SGreg Roach				<Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: <var var="printedsource" /></Cell>
3559cad7645SGreg Roach			</if>
3569cad7645SGreg Roach			<TextBox height="$vspace" newline="1" padding="0"/>
3579cad7645SGreg Roach		</if>
3589cad7645SGreg Roach		</Body>
3599cad7645SGreg Roach
3609cad7645SGreg Roach		<Footer>
3619cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
3629cad7645SGreg Roach		</Footer>
3639cad7645SGreg Roach
3649cad7645SGreg Roach	</Doc>
3659cad7645SGreg Roach</Report>
366