blob: 4d6c0aa7b6d4ff1466e1564f9a480f136495b98f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
<?xml version="1.0" encoding="UTF-8"?>
<PGVReport>
<!-- $Id$ -->
<PGVRTitle><PGVRvar var="i18n::translate('Changes Report')" /></PGVRTitle>
<PGVRDescription>Prints a list of individuals matching specific change criteria</PGVRDescription>
<PGVRInput name="changeRangeStart" lookup="DATE" type="text" default="NOW-30"><PGVRvar var="i18n::translate('Starting range of change dates')" /></PGVRInput>
<PGVRInput name="changeRangeEnd" lookup="DATE" type="text" default="NOW"><PGVRvar var="i18n::translate('Ending range of change dates')" /></PGVRInput>
<PGVRInput name="sortby" type="select" options="CHAN=>i18n::translate('Last Change')|NAME=>i18n::translate('Name')|BIRT:DATE=>i18n::translate('Date of birth')"><PGVRvar var="i18n::translate('Sort by')" /></PGVRInput>
<PGVRInput name="pending" type="select" options="yes=>i18n::translate('Yes')|no=>i18n::translate('No')"><PGVRvar var="i18n::translate('Show pending changes')" /></PGVRInput>
<PGVRInput name="pageSize" type="select" default="A4" options="letter=>i18n::translate_c('paper size','Letter')|A3=>i18n::translate_c('paper size', 'A3')|A4=>i18n::translate_c('paper size','A4')|legal=>i18n::translate_c('paper size','Legal')"><PGVRvar var="i18n::translate('Page size')" /></PGVRInput>
<PGVRInput name="pageorient" type="select" default="landscape" options="landscape=>i18n::translate('Landscape')|portrait=>i18n::translate('Portrait')"><PGVRvar var="i18n::translate('Orientation')" /></PGVRInput>
<PGVRInput name="fonts" type="select" default="dejavusans" options="arialunicid0=>i18n::translate_c('font name', 'Arial')|dejavusans=>i18n::translate_c('font name', 'DejaVu')|helvetica=>i18n::translate_c('font name', 'Helvetica')"><PGVRvar var="i18n::translate('Font')"/></PGVRInput>
<!-- Header -->
<PGVRStyle name="header" font="$fonts" size="16" style="b" />
<!-- Page numbers text -->
<PGVRStyle name="pagenum" font="$fonts" size="8"/>
<!-- Standard text -->
<PGVRStyle name="text" font="$fonts" size="9"/>
<!-- Column labels -->
<PGVRStyle name="label" font="$fonts" size="10" style="b"/>
<!-- Generated by style - required style name by the generator -->
<PGVRStyle name="genby" font="$fonts" size="8" />
<!-- Date text -->
<PGVRStyle name="date" font="$fonts" size="8"/>
<PGVRStyle name="header2" font="$fonts" size="12" style="b" />
<PGVRif condition="$pageorient=='landscape'">
<!-- landscape orientation -->
<PGVRSetVar name="idwidth" value="50"/>
<PGVRSetVar name="namewidth" value="220"/>
<PGVRSetVar name="datewidth" value="300"/>
</PGVRif>
<PGVRif condition="$pageorient=='portrait'">
<!-- portrait orientation -->
<PGVRSetVar name="idwidth" value="40"/>
<PGVRSetVar name="namewidth" value="170"/>
<PGVRSetVar name="datewidth" value="190"/>
</PGVRif>
<PGVRDoc pageSize="$pageSize" orientation="$pageorient" >
<PGVRHeader>
<PGVRCell align="center" height="20" newline="1" style="header"><PGVRvar var="i18n::translate('Changes Report')" /></PGVRCell>
<PGVRCell align="rightrtl" newline="1" style="pagenum"><PGVRvar var="i18n::translate('Page')" /> <PGVRPageNum /> <PGVRvar var="i18n::translate('of')" /> <PGVRTotalPages /></PGVRCell>
</PGVRHeader>
<PGVRBody>
<!-- Pending changes section Header -->
<PGVRif condition="$pending=='yes'">
<PGVRCell align="center" height="20" newline="1" style="header2"><PGVRvar var="i18n::translate('Pending Changes')" /></PGVRCell>
<PGVRTextBox border="1" height="12" width="$idwidth">
<PGVRText style="label"> </PGVRText>
</PGVRTextBox>
<PGVRSetVar name="fill" value="" />
<PGVRif condition="$sortby=='NAME'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif>
<PGVRTextBox bgcolor="$fill" border="1" height="12" width="$namewidth">
<PGVRText style="label"><PGVRvar var="i18n::translate('Name')" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox border="1" height="12" width="$datewidth">
<PGVRText style="label"><PGVRvar var="i18n::translate('Differences')" /></PGVRText>
</PGVRTextBox>
<PGVRSetVar name="fill" value="" />
<PGVRif condition="$sortby=='CHAN'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif>
<PGVRTextBox bgcolor="$fill" border="1" height="12" newline="1">
<PGVRText style="label"><PGVRvar var="i18n::translate('Last Change')" /></PGVRText>
</PGVRTextBox>
<!-- Pending Changes Section Data -->
<PGVRList list="pending" sortby="$sortby">
<PGVRTextBox height="12" width="$idwidth">
<PGVRText style="text"><PGVRGedcomValue tag="@id" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox height="12" width="$namewidth">
<PGVRText style="text"><PGVRGetPersonName id="" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox height="12" width="$datewidth">
<PGVRFacts ignore="CHAN" families="0" diff="true">
<PGVRText style="text">
<PGVRvar var="i18n::translate('@fact')" /> <PGVRGedcomValue tag="@fact:DATE" /><br />
</PGVRText>
</PGVRFacts>
</PGVRTextBox>
<PGVRTextBox height="12" newline="1">
<PGVRText style="text"><PGVRGedcomValue tag="CHAN:DATE" /> <PGVRGedcomValue tag="CHAN:DATE:TIME" /> - <PGVRGedcomValue tag="CHAN:_WT_USER" /></PGVRText>
</PGVRTextBox>
</PGVRList>
<PGVRCell align="rightrtl" height="25" newline="1" style="label">
<PGVRvar var="i18n::translate('Total pending changes: ')" /><PGVRListTotal /><br />
</PGVRCell>
</PGVRif>
<!-- Recent Changes Section Header -->
<PGVRCell align="center" height="20" newline="1" style="header2"><PGVRvar var="i18n::translate('Recent Changes')" /> <PGVRvar var="changeRangeStart" date="1" /> - <PGVRvar var="changeRangeEnd" date="1" /></PGVRCell>
<PGVRTextBox border="1" height="12" width="$idwidth">
<PGVRText style="label"> </PGVRText>
</PGVRTextBox>
<PGVRSetVar name="fill" value="" />
<PGVRif condition="$sortby=='NAME'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif>
<PGVRTextBox bgcolor="$fill" border="1" height="12" width="$namewidth">
<PGVRText style="label"><PGVRvar var="i18n::translate('Name')" /></PGVRText>
</PGVRTextBox>
<PGVRSetVar name="fill" value="" />
<PGVRif condition="$sortby=='BIRT:DATE'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif>
<PGVRTextBox bgcolor="$fill" border="1" height="12" width="$datewidth">
<PGVRText style="label"><PGVRvar var="i18n::translate('Birth')" /> - <PGVRvar var="i18n::translate('Death')" /></PGVRText>
</PGVRTextBox>
<PGVRSetVar name="fill" value="" />
<PGVRif condition="$sortby=='CHAN'"><PGVRSetVar name="fill" value="#AAAAAA" /></PGVRif>
<PGVRTextBox bgcolor="$fill" border="1" height="12" newline="1">
<PGVRText style="label"><PGVRvar var="i18n::translate('Last Change')" /></PGVRText>
</PGVRTextBox>
<!-- Recent Changes Section Data -->
<PGVRList list="individual" filter1="CHAN:DATE LTE $changeRangeEnd" filter2="CHAN:DATE GTE $changeRangeStart" sortby="$sortby">
<PGVRTextBox height="12" width="$idwidth">
<PGVRText style="text"><PGVRGedcomValue tag="@id" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox height="12" width="$namewidth">
<PGVRText style="text"><PGVRGetPersonName id="" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox height="12" width="$datewidth">
<PGVRText style="text"><PGVRvarLetter var="BIRT" />: <PGVRGedcomValue tag="BIRT:DATE" /><br /><PGVRvarLetter var="DEAT" />: <PGVRGedcomValue tag="DEAT:DATE" /></PGVRText>
</PGVRTextBox>
<PGVRTextBox height="12" newline="1">
<PGVRText style="text"><PGVRGedcomValue tag="CHAN:DATE" /> <PGVRGedcomValue tag="CHAN:DATE:TIME" /> - <PGVRGedcomValue tag="CHAN:_WT_USER" /></PGVRText>
</PGVRTextBox>
</PGVRList>
<PGVRCell align="rightrtl" height="25" newline="1" style="label">
<PGVRvar var="i18n::translate('Total accepted changes: ')" /><PGVRListTotal />
</PGVRCell>
</PGVRBody>
<PGVRFooter>
<PGVRCell align="rightrtl" newline="1" style="date"><PGVRNow /></PGVRCell>
</PGVRFooter>
</PGVRDoc>
</PGVReport>
|