19cad7645SGreg Roach<?xml version="1.0" encoding="UTF-8" ?> 29cad7645SGreg Roach<Report> 39cad7645SGreg Roach <Title><var var="I18N::translate('Changes')" /></Title> 49cad7645SGreg Roach <Description><var var="I18N::translate('A report of recent and pending changes.')" /></Description> 59cad7645SGreg Roach <Input name="changeRangeStart" lookup="DATE" type="text" default="NOW-30"><var var="I18N::translate('Starting range of change dates')" /></Input> 69cad7645SGreg Roach <Input name="changeRangeEnd" lookup="DATE" type="text" default="NOW"><var var="I18N::translate('Ending range of change dates')" /></Input> 79cad7645SGreg Roach <Input name="sortby" type="select" default="CHAN" options="CHAN=>I18N::translate('sort by date')|NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></Input> 89cad7645SGreg Roach <Input name="pending" type="select" options="yes=>I18N::translate('yes')|no=>I18N::translate('no')"><var var="I18N::translate('Show pending changes')" /></Input> 9*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> 109cad7645SGreg Roach <Input name="pageorient" type="select" default="landscape" options="landscape=>I18N::translate('Landscape')|portrait=>I18N::translate('Portrait')"><var var="I18N::translate('Orientation')" /></Input> 119cad7645SGreg Roach <!-- 129cad7645SGreg 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> 139cad7645SGreg Roach --> 149cad7645SGreg Roach <SetVar name="fonts" value="dejavusans" /> 159cad7645SGreg Roach 169cad7645SGreg Roach <!-- Header --> 179cad7645SGreg Roach <Style name="header" font="$fonts" size="16" style="b" /> 189cad7645SGreg Roach <!-- Page numbers text --> 199cad7645SGreg Roach <Style name="pagenum" font="$fonts" size="8"/> 209cad7645SGreg Roach <!-- Standard text --> 219cad7645SGreg Roach <Style name="text" font="$fonts" size="9"/> 229cad7645SGreg Roach <!-- Column labels --> 239cad7645SGreg Roach <Style name="label" font="$fonts" size="10" style="b"/> 249cad7645SGreg Roach <!-- Generated by style - required style name by the generator --> 259cad7645SGreg Roach <Style name="genby" font="$fonts" size="8" /> 269cad7645SGreg Roach <!-- Date text --> 279cad7645SGreg Roach <Style name="date" font="$fonts" size="8"/> 289cad7645SGreg Roach <Style name="header2" font="$fonts" size="12" style="b" /> 299cad7645SGreg Roach 309cad7645SGreg Roach <if condition="$pageorient=='landscape'"> 319cad7645SGreg Roach <!-- landscape orientation --> 329cad7645SGreg Roach <SetVar name="namewidth" value="270"/> 339cad7645SGreg Roach <SetVar name="datewidth" value="300"/> 349cad7645SGreg Roach </if> 359cad7645SGreg Roach 369cad7645SGreg Roach <if condition="$pageorient=='portrait'"> 379cad7645SGreg Roach <!-- portrait orientation --> 389cad7645SGreg Roach <SetVar name="namewidth" value="210"/> 399cad7645SGreg Roach <SetVar name="datewidth" value="190"/> 409cad7645SGreg Roach </if> 419cad7645SGreg Roach 429cad7645SGreg Roach <Doc pageSize="$pageSize" orientation="$pageorient" > 439cad7645SGreg Roach <Header> 449cad7645SGreg Roach <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Changes')" /></Cell> 459cad7645SGreg Roach <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell> 469cad7645SGreg Roach </Header> 479cad7645SGreg Roach 489cad7645SGreg Roach <Body> 499cad7645SGreg Roach 509cad7645SGreg Roach <!-- Pending changes section Header --> 519cad7645SGreg Roach <if condition="$pending=='yes'"> 529cad7645SGreg Roach <Cell align="center" height="20" newline="1" style="header2"><var var="I18N::translate('Pending changes')" /></Cell> 539cad7645SGreg Roach <SetVar name="fill" value="" /> 549cad7645SGreg Roach <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if> 559cad7645SGreg Roach <TextBox bgcolor="$fill" border="1" height="12" width="$namewidth"> 569cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Name')" /></Text> 579cad7645SGreg Roach </TextBox> 589cad7645SGreg Roach 599cad7645SGreg Roach <TextBox border="1" height="12" width="$datewidth"> 609cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Differences')" /></Text> 619cad7645SGreg Roach </TextBox> 629cad7645SGreg Roach 639cad7645SGreg Roach <SetVar name="fill" value="" /> 649cad7645SGreg Roach <if condition="$sortby=='CHAN'"><SetVar name="fill" value="#AAAAAA" /></if> 659cad7645SGreg Roach <TextBox bgcolor="$fill" border="1" height="12" newline="1"> 669cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Last change')" /></Text> 679cad7645SGreg Roach </TextBox> 689cad7645SGreg Roach 699cad7645SGreg Roach <!-- Pending Changes Section Data --> 709cad7645SGreg Roach <List list="pending" sortby="$sortby"> 719cad7645SGreg Roach <TextBox height="12" width="$namewidth"> 729cad7645SGreg Roach <Text style="text"><GetPersonName id="" /></Text> 739cad7645SGreg Roach </TextBox> 749cad7645SGreg Roach <TextBox height="12" width="$datewidth"> 759cad7645SGreg Roach <Facts ignore="CHAN" families="0" diff="true"> 769cad7645SGreg Roach <Text style="text"> 779cad7645SGreg Roach <var var="@fact" /> <GedcomValue tag="@fact:DATE" /><br /> 789cad7645SGreg Roach </Text> 799cad7645SGreg Roach </Facts> 809cad7645SGreg Roach </TextBox> 819cad7645SGreg Roach <TextBox height="12" newline="1"> 829cad7645SGreg Roach <Text style="text"><GedcomValue tag="CHAN:DATE" /> <GedcomValue tag="CHAN:DATE:TIME" /> - <GedcomValue tag="CHAN:_WT_USER" /></Text> 839cad7645SGreg Roach </TextBox> 849cad7645SGreg Roach 859cad7645SGreg Roach </List> 869cad7645SGreg Roach <Cell align="rightrtl" height="25" newline="1" style="label"> 879cad7645SGreg Roach <var var="I18N::translate('Total pending changes: ')" /><ListTotal /><br /> 889cad7645SGreg Roach </Cell> 899cad7645SGreg Roach </if> 909cad7645SGreg Roach 919cad7645SGreg Roach <!-- Recent Changes Section Header --> 929cad7645SGreg Roach <Cell align="center" height="20" newline="1" style="header2"><var var="I18N::translate('Recent changes')" /> <var var="changeRangeStart" date="1" /> - <var var="changeRangeEnd" date="1" /></Cell> 939cad7645SGreg Roach <SetVar name="fill" value="" /> 949cad7645SGreg Roach <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if> 959cad7645SGreg Roach <TextBox bgcolor="$fill" border="1" height="12" width="$namewidth"> 969cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Name')" /></Text> 979cad7645SGreg Roach </TextBox> 989cad7645SGreg Roach 999cad7645SGreg Roach <SetVar name="fill" value="" /> 1009cad7645SGreg Roach <if condition="$sortby=='BIRT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if> 1019cad7645SGreg Roach <TextBox bgcolor="$fill" border="1" height="12" width="$datewidth"> 1029cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Birth')" /> - <var var="I18N::translate('Death')" /></Text> 1039cad7645SGreg Roach </TextBox> 1049cad7645SGreg Roach 1059cad7645SGreg Roach <SetVar name="fill" value="" /> 1069cad7645SGreg Roach <if condition="$sortby=='CHAN'"><SetVar name="fill" value="#AAAAAA" /></if> 1079cad7645SGreg Roach <TextBox bgcolor="$fill" border="1" height="12" newline="1"> 1089cad7645SGreg Roach <Text style="label"><var var="I18N::translate('Last change')" /></Text> 1099cad7645SGreg Roach </TextBox> 1109cad7645SGreg Roach 1119cad7645SGreg Roach <!-- Recent Changes Section Data --> 1129cad7645SGreg Roach <List list="individual" filter1="CHAN:DATE LTE $changeRangeEnd" filter2="CHAN:DATE GTE $changeRangeStart" sortby="$sortby"> 1139cad7645SGreg Roach <TextBox height="12" width="$namewidth"> 1149cad7645SGreg Roach <Text style="text"><GetPersonName id="" /></Text> 1159cad7645SGreg Roach </TextBox> 1169cad7645SGreg Roach 1179cad7645SGreg Roach <TextBox height="12" width="$datewidth"> 1189cad7645SGreg Roach <Text style="text"><var var="I18N::translate('Birth')" />: <GedcomValue tag="BIRT:DATE" /><br /><var var="I18N::translate('Death')" />: <GedcomValue tag="DEAT:DATE" /></Text> 1199cad7645SGreg Roach </TextBox> 1209cad7645SGreg Roach 1219cad7645SGreg Roach <TextBox height="12" newline="1"> 1229cad7645SGreg Roach <Text style="text"><GedcomValue tag="CHAN:DATE" /> <GedcomValue tag="CHAN:DATE:TIME" /> - <GedcomValue tag="CHAN:_WT_USER" /></Text> 1239cad7645SGreg Roach </TextBox> 1249cad7645SGreg Roach </List> 1259cad7645SGreg Roach 1269cad7645SGreg Roach <Cell align="rightrtl" height="25" newline="1" style="label"> 1279cad7645SGreg Roach <var var="I18N::translate('Total accepted changes: ')" /><ListTotal /> 1289cad7645SGreg Roach </Cell> 1299cad7645SGreg Roach </Body> 1309cad7645SGreg Roach <Footer> 1319cad7645SGreg Roach <Cell align="rightrtl" newline="1" style="date"><Now /></Cell> 1329cad7645SGreg Roach </Footer> 1339cad7645SGreg Roach </Doc> 1349cad7645SGreg Roach</Report> 135