1<?xml version="1.0" encoding="UTF-8" ?> 2<Report> 3 <Title><var var="I18N::translate('Family')" /></Title> 4 <Description><var var="I18N::translate('A report of family members and their details.')" /></Description> 5 <!-- User inputs for the report --> 6 <Input name="famid" lookup="FAM" type="text" default=""><var var="I18N::translate('Family')" /></Input> 7 <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input> 8 <Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')" /></Input> 9 <Input name="photos" type="checkbox" default="1"><var var="I18N::translate('Show photos')" /></Input> 10 <Input name="blanks" type="checkbox" default="0"><var var="I18N::translate('Print basic events when blank')" /></Input> 11 <Input name="pageSize" type="select" default="A4" options="letter=>I18N::translateContext('paper size','Letter')|A3=>I18N::translateContext('paper size', 'A3')|A4=>I18N::translateContext('paper size','A4')|legal=>I18N::translateContext('paper size','Legal')"><var var="I18N::translate('Page size')" /></Input> 12 <Input name="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></Input> 13 <!-- 14 <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> 15 --> 16 <SetVar name="fonts" value="dejavusans" /> 17 18 <!-- Header --> 19 <Style name="header" font="$fonts" size="18" /> 20 <!-- Generated by style - required style name by the generator --> 21 <Style name="genby" font="$fonts" size="8" /> 22 <!-- Links to sources - required style name by the generator --> 23 <Style name="footnotenum" font="$fonts" size="6" /> 24 <!-- Source text - FootnoteTexts - required style name by the generator --> 25 <Style name="footnote" font="$fonts" size="8" /> 26 <!-- Page numbers text --> 27 <Style name="pagenum" font="$fonts" size="8" /> 28 <!-- Page Header text --> 29 <Style name="pageheader" font="$fonts" size="14"/> 30 <!-- Individual names in text boxes --> 31 <Style name="name" font="$fonts" size="10" style="b"/> 32 <!-- Standard text --> 33 <Style name="text" font="$fonts" size="9" /> 34 <!-- Facts text --> 35 <Style name="fact" font="$fonts" size="8"/> 36 <!-- Date --> 37 <Style name="date" font="$fonts" size="8"/> 38 39 <SetVar name="ignore" value="CHAN,NAME,SEX,SOUR,NOTE,OBJE,RESN,FAMC,FAMS,TITL,CHIL,HUSB,WIFE,MARR,BIRT,CHR,BAPM,DEAT,CREM,BURI,_UID,_WT_OBJE_SORT" /> 40 <!-- Setup colors --> 41 <!-- Section title background color --> 42 <SetVar name="sectionbox_bgcolor" value="#AAAAAA"/> 43 <SetVar name="malebox_bgcolor" value=""/> 44 <SetVar name="femalebox_bgcolor" value=""/> 45 <SetVar name="unknowngenderbox_bgcolor" value=""/> 46 <SetVar name="factbox_bgcolor" value=""/> 47 <SetVar name="tcolor" value=""/> 48 <!-- Use colors --> 49 <if condition="$colors==1"> 50 <!-- Section title background color --> 51 <SetVar name="sectionbox_bgcolor" value="#9CA3D4"/> 52 <!-- Male background color --> 53 <SetVar name="malebox_bgcolor" value="#D6E0EA"/> 54 <!-- Female background color --> 55 <SetVar name="femalebox_bgcolor" value="#E9DAF1"/> 56 <!-- Unknown gender --> 57 <SetVar name="unknowngenderbox_bgcolor" value="#FFFFFF"/> 58 <!-- Fact boxes --> 59 <SetVar name="factbox_bgcolor" value="#D1D9FF"/> 60 <!-- Text color - black --> 61 <SetVar name="tcolor" value="#000000"/> 62 </if> 63 64 <!-- space height --> 65 <SetVar name="sheight" value="15"/> 66 67 <!-- set the default widths --> 68 <SetVar name="width" value="0" /> 69 <SetVar name="width1" value="0" /> 70 <SetVar name="width2" value="0" /> 71 <SetVar name="dwidth" value="185" /> 72 <SetVar name="pwidth" value="436" /> 73 <!-- reset the widths if the photos are shown --> 74 <if condition="$photos==1"> 75 <SetVar name="width" value="433" /> 76 <SetVar name="width1" value="418" /> 77 <SetVar name="width2" value="233" /> 78 </if> 79 <!-- New Page for Sources controller if SOUR exist --> 80 <SetVar name="source_exist" value="0"/> 81 82 <!-- start of main report document --> 83 <Doc pageSize="$pageSize"> 84 <SetVar name="husbid" value="@HUSB" /> 85 <SetVar name="wifeid" value="@WIFE" /> 86 87 <Header> 88 <Cell align="center" newline="1" style="header"><var var="I18N::translate('Family')" /></Cell> 89 <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell> 90 </Header> 91 92 <Body> 93 <Gedcom id="$famid"> 94 <!-- Print the Family name with Level 1 sources --> 95 <TextBox newline="1"> 96 <Text style="pageheader"><var var="I18N::translate('Family')" /> <GetPersonName id=""/> </Text> 97 <if condition="$sources==1"> 98 <!-- print level 1 sources --> 99 <RepeatTag tag="SOUR"> 100 <Footnote> 101 <Gedcom id="@SOUR"> 102 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 103 «<GedcomValue tag="TITL" />» 104 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 105 </Gedcom> 106 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 107 <GedcomValue tag="SOUR:DATA:TEXT" /> 108 </Footnote> 109 <SetVar name="source_exist" value="1"/> 110 </RepeatTag> 111 <!-- print level 2 sources attached to NAME --> 112 <RepeatTag tag="NAME:SOUR"> 113 <Footnote> 114 <Gedcom id="@SOUR"> 115 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 116 «<GedcomValue tag="TITL" />» 117 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 118 </Gedcom> 119 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 120 <GedcomValue tag="SOUR:DATA:TEXT" /> 121 </Footnote> 122 <SetVar name="source_exist" value="1" /> 123 </RepeatTag> 124 </if> 125 </TextBox> 126 127 <!-- Show all family images --> 128 <if condition="$photos==1"> 129 <!-- This is an image not a text, so don't use text padding 130 Reset also the last height after all the images has been printed 131 set pagecheck to 0, the image function check is too 132 and "trick" the X-position back to the margin with a newline --> 133 <TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80"> 134 <RepeatTag tag="OBJE"> 135 <Image file="@FILE" width="80" ln="N"/> 136 </RepeatTag> 137 </TextBox> 138 </if> 139 140 <!-- Print the husband --> 141 <Gedcom id="@HUSB"> 142 <if condition="$photos==1"> 143 <HighlightedImage left="$pwidth" width="80"/> 144 </if> 145 <!-- print the name and any level 1 sources --> 146 <TextBox bgcolor="$malebox_bgcolor" border="1" width="$width" newline="1"> 147 <Text color="$tcolor" style="text"><var var="I18N::translate('Husband')" /> </Text> 148 <Text color="$tcolor" style="name"><GetPersonName id="" /> </Text> 149 <if condition="$sources==1"> 150 <!-- print level 1 sources --> 151 <RepeatTag tag="SOUR"> 152 <Footnote> 153 <Gedcom id="@SOUR"> 154 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 155 «<GedcomValue tag="TITL" />» 156 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 157 </Gedcom> 158 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 159 <GedcomValue tag="SOUR:DATA:TEXT" /> 160 </Footnote> 161 <SetVar name="source_exist" value="1"/> 162 </RepeatTag> 163 <!-- print level 2 sources attached to NAME --> 164 <RepeatTag tag="NAME:SOUR"> 165 <Footnote> 166 <Gedcom id="@SOUR"> 167 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 168 «<GedcomValue tag="TITL" />» 169 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 170 </Gedcom> 171 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 172 <GedcomValue tag="SOUR:DATA:TEXT" /> 173 </Footnote> 174 <SetVar name="source_exist" value="1" /> 175 </RepeatTag> 176 </if> 177 </TextBox> 178 179 <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''"> 180 <!-- print Birth --> 181 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 182 <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text> 183 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text> 184 <if condition="$sources==1"> 185 <RepeatTag tag="BIRT:SOUR"> 186 <Footnote> 187 <Gedcom id="@SOUR"> 188 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 189 «<GedcomValue tag="TITL" />» 190 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 191 </Gedcom> 192 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 193 <GedcomValue tag="SOUR:DATA:TEXT" /> 194 </Footnote> 195 <SetVar name="source_exist" value="1"/> 196 </RepeatTag> 197 </if> 198 </TextBox> 199 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 200 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text> 201 </TextBox> 202 </if> 203 <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''"> 204 <!-- print Christening --> 205 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 206 <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text> 207 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text> 208 <if condition="$sources==1"> 209 <RepeatTag tag="CHR:SOUR"> 210 <Footnote> 211 <Gedcom id="@SOUR"> 212 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 213 «<GedcomValue tag="TITL" />» 214 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 215 </Gedcom> 216 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 217 <GedcomValue tag="SOUR:DATA:TEXT" /> 218 </Footnote> 219 <SetVar name="source_exist" value="1"/> 220 </RepeatTag> 221 </if> 222 </TextBox> 223 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 224 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text> 225 </TextBox> 226 </if> 227 228 <!-- print all of the other facts --> 229 <Facts ignore="$ignore"> 230 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 231 <Text color="$tcolor" style="fact"><var var="@fact" /> </Text> 232 <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text> 233 <if condition="$sources==1"> 234 <RepeatTag tag="@fact:SOUR"> 235 <Footnote> 236 <Gedcom id="@SOUR"> 237 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 238 «<GedcomValue tag="TITL" />» 239 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 240 </Gedcom> 241 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 242 <GedcomValue tag="SOUR:DATA:TEXT" /> 243 </Footnote> 244 <SetVar name="source_exist" value="1"/> 245 </RepeatTag> 246 </if> 247 </TextBox> 248 <if condition="@desc!=''"> 249 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 250 <Text color="$tcolor" style="text"> 251 <if condition="@desc=='Y'"> 252 <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/> 253 </if> 254 <if condition="@desc=='N'"> 255 <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/> 256 </if> 257 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''"> 258 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/> 259 </if> 260 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''"> 261 <GedcomValue tag="@desc"/> 262 </if> 263 </Text> 264 <Gedcom id="@ASSO"> 265 <GetPersonName id=""/> 266 </Gedcom> 267 </TextBox> 268 </if> 269 <if condition="@desc==''"> 270 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 271 <Text color="$tcolor" style="text"> 272 <if condition="@PLAC!='' and @TEMP!=''"> 273 <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 274 </if> 275 <if condition="@PLAC!='' and @TEMP==''"> 276 <GedcomValue tag="@fact:PLAC" /> 277 </if> 278 <if condition="@PLAC=='' and @TEMP!=''"> 279 <GedcomValue tag="@fact:TEMP" /> 280 </if> 281 </Text> 282 </TextBox> 283 </if> 284 </Facts> 285 286 <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''"> 287 <!-- print Death --> 288 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 289 <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text> 290 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text> 291 <if condition="$sources==1"> 292 <RepeatTag tag="DEAT:SOUR"> 293 <Footnote> 294 <Gedcom id="@SOUR"> 295 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 296 «<GedcomValue tag="TITL" />» 297 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 298 </Gedcom> 299 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 300 <GedcomValue tag="SOUR:DATA:TEXT" /> 301 </Footnote> 302 <SetVar name="source_exist" value="1"/> 303 </RepeatTag> 304 </if> 305 </TextBox> 306 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 307 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text> 308 </TextBox> 309 </if> 310 <!-- indicates that a Level 1 CREM record is not present --> 311 <SetVar name="level1CREM" value="0" /> 312 <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''"> 313 <!-- print Cremation --> 314 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 315 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 316 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text> 317 <if condition="$sources==1"> 318 <RepeatTag tag="CREM:SOUR"> 319 <Footnote> 320 <Gedcom id="@SOUR"> 321 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 322 «<GedcomValue tag="TITL" />» 323 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 324 </Gedcom> 325 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 326 <GedcomValue tag="SOUR:DATA:TEXT" /> 327 </Footnote> 328 <SetVar name="source_exist" value="1"/> 329 </RepeatTag> 330 </if> 331 </TextBox> 332 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 333 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text> 334 </TextBox> 335 <!-- indicates that a Level 1 CREM record is present --> 336 <SetVar name="level1CREM" value="1" /> 337 </if> 338 <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''"> 339 <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) --> 340 <if condition="@BURI:CREM!='' and $level1CREM!=1"> 341 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 342 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 343 <Text color="$tcolor" style="text"> </Text> 344 </TextBox> 345 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 346 <Text color="$tcolor" style="text"> </Text> 347 </TextBox> 348 </if> 349 <!-- Now for the real BURI information --> 350 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 351 <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text> 352 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text> 353 <if condition="$sources==1"> 354 <RepeatTag tag="BURI:SOUR"> 355 <Footnote> 356 <Gedcom id="@SOUR"> 357 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 358 «<GedcomValue tag="TITL" />» 359 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 360 </Gedcom> 361 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 362 <GedcomValue tag="SOUR:DATA:TEXT" /> 363 </Footnote> 364 <SetVar name="source_exist" value="1"/> 365 </RepeatTag> 366 </if> 367 </TextBox> 368 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 369 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text> 370 </TextBox> 371 </if> 372 373 <Gedcom id="$famid"> 374 <if condition="$blanks==1 or @MARR:DATE!='' or @MARR:PLAC!=''"> 375 <!-- print Marriage --> 376 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 377 <Text color="$tcolor" style="fact"><var var="I18N::translate('Marriage')" /> </Text> 378 <Text color="$tcolor" style="text"><GedcomValue tag="MARR:DATE" /> </Text> 379 <if condition="$sources==1"> 380 <RepeatTag tag="MARR:SOUR"> 381 <Footnote> 382 <Gedcom id="@SOUR"> 383 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 384 «<GedcomValue tag="TITL" />» 385 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 386 </Gedcom> 387 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 388 <GedcomValue tag="SOUR:DATA:TEXT" /> 389 </Footnote> 390 <SetVar name="source_exist" value="1"/> 391 </RepeatTag> 392 </if> 393 </TextBox> 394 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 395 <Text color="$tcolor" style="text"><GedcomValue tag="MARR:PLAC" /></Text> 396 </TextBox> 397 </if> 398 399 <!-- print all of the other family facts --> 400 <Facts ignore="$ignore"> 401 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 402 <Text color="$tcolor" style="fact"><var var="@fact" /> </Text> 403 <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text> 404 <if condition="$sources==1"> 405 <RepeatTag tag="@fact:SOUR"> 406 <Footnote> 407 <Gedcom id="@SOUR"> 408 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 409 «<GedcomValue tag="TITL" />» 410 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 411 </Gedcom> 412 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 413 <GedcomValue tag="SOUR:DATA:TEXT" /> 414 </Footnote> 415 <SetVar name="source_exist" value="1"/> 416 </RepeatTag> 417 </if> 418 </TextBox> 419 <if condition="@desc!=''"> 420 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 421 <Text color="$tcolor" style="text"> 422 <if condition="@desc=='Y'"> 423 <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 424 </if> 425 <if condition="@desc=='N'"> 426 <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 427 </if> 428 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP!=''"> 429 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 430 </if> 431 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP!=''"> 432 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:TEMP" /> 433 </if> 434 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP==''"> 435 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC" /> 436 </if> 437 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP==''"> 438 <GedcomValue tag="@desc" /> 439 </if> 440 </Text> 441 <Gedcom id="@ASSO"> 442 <GetPersonName id=""/> 443 </Gedcom> 444 </TextBox> 445 </if> 446 <if condition="@desc==''"> 447 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 448 <Text color="$tcolor" style="text"> 449 <if condition="@PLAC!='' and @TEMP!=''"> 450 <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 451 </if> 452 <if condition="@PLAC!='' and @TEMP==''"> 453 <GedcomValue tag="@fact:PLAC" /> 454 </if> 455 <if condition="@PLAC=='' and @TEMP!=''"> 456 <GedcomValue tag="@fact:TEMP" /> 457 </if> 458 </Text> 459 </TextBox> 460 </if> 461 </Facts> 462 </Gedcom> 463 464 <!-- print the father and mother of the main husband --> 465 <Gedcom id="@FAMC"> 466 <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 467 <Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" /> </Text> 468 <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text> 469 <Gedcom id="@HUSB"> 470 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 471 </Gedcom> 472 </TextBox> 473 <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 474 <Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" /> </Text> 475 <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text> 476 <Gedcom id="@WIFE"> 477 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 478 </Gedcom> 479 </TextBox> 480 </Gedcom> 481 <!-- print any notes for the husband --> 482 <if condition="$notes==1"> 483 <RepeatTag tag="NOTE"> 484 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1"> 485 <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text> 486 <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text> 487 </TextBox> 488 </RepeatTag> 489 </if> 490 <TextBox height="$sheight" newline="1"/> 491 </Gedcom> 492 <!-- end of main husband --> 493 494 <!-- Print the wife --> 495 <Gedcom id="@WIFE"> 496 <if condition="$photos==1"> 497 <HighlightedImage left="$pwidth" width="80"/> 498 </if> 499 <!-- print the name and sources --> 500 <TextBox bgcolor="$femalebox_bgcolor" border="1" width="$width" newline="1"> 501 <Text color="$tcolor" style="text"><var var="I18N::translate('Wife')" /> </Text> 502 <Text color="$tcolor" style="name"><GetPersonName id="" /> </Text> 503 <if condition="$sources==1"> 504 <!-- print level 1 sources --> 505 <RepeatTag tag="SOUR"> 506 <Footnote> 507 <Gedcom id="@SOUR"> 508 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 509 «<GedcomValue tag="TITL" />» 510 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 511 </Gedcom> 512 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 513 <GedcomValue tag="SOUR:DATA:TEXT" /> 514 </Footnote> 515 <SetVar name="source_exist" value="1"/> 516 </RepeatTag> 517 <!-- print level 2 sources attached to NAME --> 518 <RepeatTag tag="NAME:SOUR"> 519 <Footnote> 520 <Gedcom id="@SOUR"> 521 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 522 «<GedcomValue tag="TITL" />» 523 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 524 </Gedcom> 525 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 526 <GedcomValue tag="SOUR:DATA:TEXT" /> 527 </Footnote> 528 <SetVar name="source_exist" value="1" /> 529 </RepeatTag> 530 </if> 531 </TextBox> 532 533 <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''"> 534 <!-- print Birth --> 535 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 536 <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text> 537 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text> 538 <if condition="$sources==1"> 539 <RepeatTag tag="BIRT:SOUR"> 540 <Footnote> 541 <Gedcom id="@SOUR"> 542 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 543 «<GedcomValue tag="TITL" />» 544 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 545 </Gedcom> 546 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 547 <GedcomValue tag="SOUR:DATA:TEXT" /> 548 </Footnote> 549 <SetVar name="source_exist" value="1"/> 550 </RepeatTag> 551 </if> 552 </TextBox> 553 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 554 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text> 555 </TextBox> 556 </if> 557 <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''"> 558 <!-- print Christening --> 559 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 560 <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text> 561 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text> 562 <if condition="$sources==1"> 563 <RepeatTag tag="CHR:SOUR"> 564 <Footnote> 565 <Gedcom id="@SOUR"> 566 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 567 «<GedcomValue tag="TITL" />» 568 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 569 </Gedcom> 570 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 571 <GedcomValue tag="SOUR:DATA:TEXT" /> 572 </Footnote> 573 <SetVar name="source_exist" value="1"/> 574 </RepeatTag> 575 </if> 576 </TextBox> 577 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 578 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text> 579 </TextBox> 580 </if> 581 582 <!-- print all of the other facts --> 583 <Facts ignore="$ignore"> 584 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 585 <Text color="$tcolor" style="fact"><var var="@fact" /> </Text> 586 <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text> 587 <if condition="$sources==1"> 588 <RepeatTag tag="@fact:SOUR"> 589 <Footnote> 590 <Gedcom id="@SOUR"> 591 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 592 «<GedcomValue tag="TITL" />» 593 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 594 </Gedcom> 595 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 596 <GedcomValue tag="SOUR:DATA:TEXT" /> 597 </Footnote> 598 <SetVar name="source_exist" value="1"/> 599 </RepeatTag> 600 </if> 601 </TextBox> 602 <if condition="@desc!=''"> 603 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 604 <Text color="$tcolor" style="text"> 605 <if condition="@desc=='Y'"> 606 <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/> 607 </if> 608 <if condition="@desc=='N'"> 609 <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/> 610 </if> 611 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''"> 612 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/> 613 </if> 614 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''"> 615 <GedcomValue tag="@desc"/> 616 </if> 617 </Text> 618 <Gedcom id="@ASSO"> 619 <GetPersonName id=""/> 620 </Gedcom> 621 </TextBox> 622 </if> 623 <if condition="@desc==''"> 624 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 625 <Text color="$tcolor" style="text"> 626 <if condition="@PLAC!='' and @TEMP!=''"> 627 <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 628 </if> 629 <if condition="@PLAC!='' and @TEMP==''"> 630 <GedcomValue tag="@fact:PLAC" /> 631 </if> 632 <if condition="@PLAC=='' and @TEMP!=''"> 633 <GedcomValue tag="@fact:TEMP" /> 634 </if> 635 </Text> 636 </TextBox> 637 </if> 638 </Facts> 639 640 <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''"> 641 <!-- print Death --> 642 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 643 <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text> 644 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text> 645 <if condition="$sources==1"> 646 <RepeatTag tag="DEAT:SOUR"> 647 <Footnote> 648 <Gedcom id="@SOUR"> 649 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 650 «<GedcomValue tag="TITL" />» 651 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 652 </Gedcom> 653 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 654 <GedcomValue tag="SOUR:DATA:TEXT" /> 655 </Footnote> 656 <SetVar name="source_exist" value="1"/> 657 </RepeatTag> 658 </if> 659 </TextBox> 660 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 661 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text> 662 </TextBox> 663 </if> 664 <!-- indicates that a Level 1 CREM record is not present --> 665 <SetVar name="level1CREM" value="0" /> 666 <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''"> 667 <!-- print Cremation --> 668 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 669 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 670 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text> 671 <if condition="$sources==1"> 672 <RepeatTag tag="CREM:SOUR"> 673 <Footnote> 674 <Gedcom id="@SOUR"> 675 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 676 «<GedcomValue tag="TITL" />» 677 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 678 </Gedcom> 679 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 680 <GedcomValue tag="SOUR:DATA:TEXT" /> 681 </Footnote> 682 <SetVar name="source_exist" value="1"/> 683 </RepeatTag> 684 </if> 685 </TextBox> 686 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 687 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text> 688 </TextBox> 689 <!-- indicates that a Level 1 CREM record is present --> 690 <SetVar name="level1CREM" value="1" /> 691 </if> 692 <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''"> 693 <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) --> 694 <if condition="@BURI:CREM!='' and $level1CREM!=1"> 695 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 696 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 697 <Text color="$tcolor" style="text"> </Text> 698 </TextBox> 699 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 700 <Text color="$tcolor" style="text"> </Text> 701 </TextBox> 702 </if> 703 <!-- Now for the real BURI information --> 704 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 705 <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text> 706 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text> 707 <if condition="$sources==1"> 708 <RepeatTag tag="BURI:SOUR"> 709 <Footnote> 710 <Gedcom id="@SOUR"> 711 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 712 «<GedcomValue tag="TITL" />» 713 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 714 </Gedcom> 715 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 716 <GedcomValue tag="SOUR:DATA:TEXT" /> 717 </Footnote> 718 <SetVar name="source_exist" value="1"/> 719 </RepeatTag> 720 </if> 721 </TextBox> 722 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 723 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text> 724 </TextBox> 725 </if> 726 727 <!-- print the wife's parents --> 728 <Gedcom id="@FAMC"> 729 <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 730 <Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" /> </Text> 731 <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text> 732 <Gedcom id="@HUSB"> 733 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 734 </Gedcom> 735 </TextBox> 736 <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 737 <Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" /> </Text> 738 <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text> 739 <Gedcom id="@WIFE"> 740 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 741 </Gedcom> 742 </TextBox> 743 </Gedcom> 744 745 <!-- print the wife's notes --> 746 <if condition="$notes==1"> 747 <RepeatTag tag="NOTE"> 748 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1"> 749 <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text> 750 <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text> 751 </TextBox> 752 </RepeatTag> 753 </if> 754 <TextBox height="$sheight" newline="1"/> 755 </Gedcom> 756 <!-- end of main wife --> 757 758 <!-- print the children box in gray or color --> 759 <TextBox border="1" width="$width" newline="1" bgcolor="$sectionbox_bgcolor"> 760 <Text color="$tcolor" style="text"> 761 <var var="I18N::translate('Children')" /> 762 </Text> 763 </TextBox> 764 765 <!-- find and print all of the children in the family --> 766 <RepeatTag tag="CHIL"> 767 <Gedcom id="@CHIL"> 768 <if condition="$photos==1"> 769 <HighlightedImage left="$pwidth" width="80"/> 770 </if> 771 <!-- Son --> 772 <if condition="@SEX=='M'"> 773 <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" newline="1" width="$width1"> 774 <Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/> </Text> 775 <Text color="$tcolor" style="name"><GetPersonName id="" /> </Text> 776 <if condition="$sources==1"> 777 <!-- print level 1 sources --> 778 <RepeatTag tag="SOUR"> 779 <Footnote> 780 <Gedcom id="@SOUR"> 781 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 782 «<GedcomValue tag="TITL" />» 783 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 784 </Gedcom> 785 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 786 <GedcomValue tag="SOUR:DATA:TEXT" /> 787 </Footnote> 788 <SetVar name="source_exist" value="1"/> 789 </RepeatTag> 790 <!-- print level 2 sources attached to NAME --> 791 <RepeatTag tag="NAME:SOUR"> 792 <Footnote> 793 <Gedcom id="@SOUR"> 794 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 795 «<GedcomValue tag="TITL" />» 796 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 797 </Gedcom> 798 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 799 <GedcomValue tag="SOUR:DATA:TEXT" /> 800 </Footnote> 801 <SetVar name="source_exist" value="1" /> 802 </RepeatTag> 803 </if> 804 </TextBox> 805 </if> 806 <!-- Daughter --> 807 <if condition="@SEX=='F'"> 808 <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" newline="1" width="$width1"> 809 <Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/> </Text> 810 <Text color="$tcolor" style="name"><GetPersonName id="" /> </Text> 811 <if condition="$sources==1"> 812 <!-- print level 1 sources --> 813 <RepeatTag tag="SOUR"> 814 <Footnote> 815 <Gedcom id="@SOUR"> 816 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 817 «<GedcomValue tag="TITL" />» 818 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 819 </Gedcom> 820 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 821 <GedcomValue tag="SOUR:DATA:TEXT" /> 822 </Footnote> 823 <SetVar name="source_exist" value="1"/> 824 </RepeatTag> 825 <!-- print level 2 sources attached to NAME --> 826 <RepeatTag tag="NAME:SOUR"> 827 <Footnote> 828 <Gedcom id="@SOUR"> 829 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 830 «<GedcomValue tag="TITL" />» 831 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 832 </Gedcom> 833 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 834 <GedcomValue tag="SOUR:DATA:TEXT" /> 835 </Footnote> 836 <SetVar name="source_exist" value="1" /> 837 </RepeatTag> 838 </if> 839 </TextBox> 840 </if> 841 <!-- Child --> 842 <if condition="@SEX=='U'"> 843 <TextBox bgcolor="$unknowngenderbox_bgcolor" border="1" left="15" newline="1" width="$width1"> 844 <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text> 845 <Text color="$tcolor" style="name"><GetPersonName id="" /> </Text> 846 <if condition="$sources==1"> 847 <!-- print level 1 sources --> 848 <RepeatTag tag="SOUR"> 849 <Footnote> 850 <Gedcom id="@SOUR"> 851 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 852 «<GedcomValue tag="TITL" />» 853 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 854 </Gedcom> 855 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 856 <GedcomValue tag="SOUR:DATA:TEXT" /> 857 </Footnote> 858 <SetVar name="source_exist" value="1"/> 859 </RepeatTag> 860 <!-- print level 2 sources attached to NAME --> 861 <RepeatTag tag="NAME:SOUR"> 862 <Footnote> 863 <Gedcom id="@SOUR"> 864 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 865 «<GedcomValue tag="TITL" />» 866 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 867 </Gedcom> 868 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 869 <GedcomValue tag="SOUR:DATA:TEXT" /> 870 </Footnote> 871 <SetVar name="source_exist" value="1" /> 872 </RepeatTag> 873 </if> 874 </TextBox> 875 </if> 876 877 <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''"> 878 <!-- print Birth --> 879 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 880 <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text> 881 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text> 882 <if condition="$sources==1"> 883 <RepeatTag tag="BIRT:SOUR"> 884 <Footnote> 885 <Gedcom id="@SOUR"> 886 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 887 «<GedcomValue tag="TITL" />» 888 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 889 </Gedcom> 890 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 891 <GedcomValue tag="SOUR:DATA:TEXT" /> 892 </Footnote> 893 <SetVar name="source_exist" value="1"/> 894 </RepeatTag> 895 </if> 896 </TextBox> 897 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 898 <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text> 899 </TextBox> 900 </if> 901 <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''"> 902 <!-- print Christening --> 903 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 904 <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text> 905 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text> 906 <if condition="$sources==1"> 907 <RepeatTag tag="CHR:SOUR"> 908 <Footnote> 909 <Gedcom id="@SOUR"> 910 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 911 «<GedcomValue tag="TITL" />» 912 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 913 </Gedcom> 914 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 915 <GedcomValue tag="SOUR:DATA:TEXT" /> 916 </Footnote> 917 <SetVar name="source_exist" value="1"/> 918 </RepeatTag> 919 </if> 920 </TextBox> 921 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 922 <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text> 923 </TextBox> 924 </if> 925 926 <!-- print all of the other facts --> 927 <Facts ignore="$ignore"> 928 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 929 <Text color="$tcolor" style="fact"><var var="@fact" /> </Text> 930 <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text> 931 <if condition="$sources==1"> 932 <RepeatTag tag="@fact:SOUR"> 933 <Footnote> 934 <Gedcom id="@SOUR"> 935 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 936 «<GedcomValue tag="TITL" />» 937 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 938 </Gedcom> 939 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 940 <GedcomValue tag="SOUR:DATA:TEXT" /> 941 </Footnote> 942 <SetVar name="source_exist" value="1"/> 943 </RepeatTag> 944 </if> 945 </TextBox> 946 <if condition="@desc!=''"> 947 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 948 <Text color="$tcolor" style="text"> 949 <if condition="@desc=='Y'"> 950 <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/> 951 </if> 952 <if condition="@desc=='N'"> 953 <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/> 954 </if> 955 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''"> 956 <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/> 957 </if> 958 <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''"> 959 <GedcomValue tag="@desc"/> 960 </if> 961 </Text> 962 <Gedcom id="@ASSO"> 963 <GetPersonName id=""/> 964 </Gedcom> 965 </TextBox> 966 </if> 967 <if condition="@desc==''"> 968 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 969 <Text color="$tcolor" style="text"> 970 <if condition="@PLAC!='' and @TEMP!=''"> 971 <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" /> 972 </if> 973 <if condition="@PLAC!='' and @TEMP==''"> 974 <GedcomValue tag="@fact:PLAC" /> 975 </if> 976 <if condition="@PLAC=='' and @TEMP!=''"> 977 <GedcomValue tag="@fact:TEMP" /> 978 </if> 979 </Text> 980 </TextBox> 981 </if> 982 </Facts> 983 984 <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''"> 985 <!-- print Death --> 986 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 987 <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text> 988 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text> 989 <if condition="$sources==1"> 990 <RepeatTag tag="DEAT:SOUR"> 991 <Footnote> 992 <Gedcom id="@SOUR"> 993 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 994 «<GedcomValue tag="TITL" />» 995 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 996 </Gedcom> 997 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 998 <GedcomValue tag="SOUR:DATA:TEXT" /> 999 </Footnote> 1000 <SetVar name="source_exist" value="1"/> 1001 </RepeatTag> 1002 </if> 1003 </TextBox> 1004 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 1005 <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text> 1006 </TextBox> 1007 </if> 1008 <!-- indicates that a Level 1 CREM record is not present --> 1009 <SetVar name="level1CREM" value="0" /> 1010 <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''"> 1011 <!-- print Cremation --> 1012 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 1013 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 1014 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text> 1015 <if condition="$sources==1"> 1016 <RepeatTag tag="CREM:SOUR"> 1017 <Footnote> 1018 <Gedcom id="@SOUR"> 1019 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1020 «<GedcomValue tag="TITL" />» 1021 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1022 </Gedcom> 1023 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1024 <GedcomValue tag="SOUR:DATA:TEXT" /> 1025 </Footnote> 1026 <SetVar name="source_exist" value="1"/> 1027 </RepeatTag> 1028 </if> 1029 </TextBox> 1030 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 1031 <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text> 1032 </TextBox> 1033 <!-- indicates that a Level 1 CREM record is present --> 1034 <SetVar name="level1CREM" value="1" /> 1035 </if> 1036 <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''"> 1037 <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) --> 1038 <if condition="@BURI:CREM!='' and $level1CREM!=1"> 1039 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 1040 <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text> 1041 <Text color="$tcolor" style="text"> </Text> 1042 </TextBox> 1043 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 1044 <Text color="$tcolor" style="text"> </Text> 1045 </TextBox> 1046 </if> 1047 <!-- Now for the real BURI information --> 1048 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth"> 1049 <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text> 1050 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text> 1051 <if condition="$sources==1"> 1052 <RepeatTag tag="BURI:SOUR"> 1053 <Footnote> 1054 <Gedcom id="@SOUR"> 1055 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1056 «<GedcomValue tag="TITL" />» 1057 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1058 </Gedcom> 1059 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1060 <GedcomValue tag="SOUR:DATA:TEXT" /> 1061 </Footnote> 1062 <SetVar name="source_exist" value="1"/> 1063 </RepeatTag> 1064 </if> 1065 </TextBox> 1066 <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1"> 1067 <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text> 1068 </TextBox> 1069 </if> 1070 1071 <!-- set the $spid variable so that we know who this person is and can print the correct spouse later --> 1072 <SetVar name="spid" value="@ID" /> 1073 <RepeatTag tag="FAMS"> 1074 <!-- get this child's family as spouse --> 1075 <Gedcom id="@FAMS"> 1076 <if condition="$spid==@HUSB"> 1077 <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 1078 <Text color="$tcolor" style="fact"><var var="I18N::translate('Wife')" /> </Text> 1079 <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text> 1080 <Gedcom id="@WIFE"> 1081 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 1082 </Gedcom> 1083 </TextBox> 1084 </if> 1085 <if condition="$spid==@WIFE"> 1086 <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1"> 1087 <Text color="$tcolor" style="fact"><var var="I18N::translate('Husband')" /> </Text> 1088 <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text> 1089 <Gedcom id="@HUSB"> 1090 <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text> 1091 </Gedcom> 1092 </TextBox> 1093 </if> 1094 </Gedcom> 1095 </RepeatTag> 1096 1097 <!-- print any notes for the child --> 1098 <if condition="$notes==1"> 1099 <RepeatTag tag="NOTE"> 1100 <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1"> 1101 <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text> 1102 <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text> 1103 </TextBox> 1104 </RepeatTag> 1105 </if> 1106 </Gedcom> 1107 <!-- end of child gedcom --> 1108 <TextBox height="$sheight" newline="1"/> 1109 </RepeatTag> 1110 <!-- end of children repeat --> 1111 </Gedcom> 1112 <!-- end of main family gedcom --> 1113 1114 <!-- if the sources were on, print the source citations as footnotes --> 1115 <if condition="$source_exist==1"> 1116 <NewPage /> 1117 <TextBox newline="1" width="$width"> 1118 <Text style="pageheader"><br /><var var="I18N::translate('Sources')" /><br /><br /></Text> 1119 <FootnoteTexts /> 1120 </TextBox> 1121 </if> 1122 </Body> 1123 <Footer> 1124 <Cell align="rightrtl" newline="1" style="date"><Now /></Cell> 1125 </Footer> 1126 </Doc> 1127</Report> 1128