Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 3115) sorted by relevance

12345678910>>...125

/webtrees/resources/xml/reports/
H A Dahnentafel_report.xml50 <!-- New Page for Sources controller if SOUR exist -->
61 <if condition="@SEX=='F'">
63 </if>
64 <if condition="$generation!=@generation">
65 <if condition="$empty_name=='t'" >
77 </if>
80 </if>
82 <if condition="$indiname==''">
83 <if condition="$empty_name=='f'">
86 </if>
[all …]
H A Ddescendancy_report.xml37 <!-- New Page for Sources controller if SOUR exist -->
53 <if condition="$showPerson=='T'">
54 <if condition="$generation!=@generation">
57 </if>
64 <if condition="$sources=='on'">
69 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
71 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
73 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
82 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
84 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
[all …]
H A Dmissing_facts_report.xml71 <if condition="$fbirt=='on'">
74 <if condition="@BIRT:DATE==''">
77 <if condition="$printname=='0'">
80 </if>
82 </if>
83 <if condition="@BIRT:PLAC==''">
86 <if condition="$printname=='1'">
88 </if>
89 <if condition="$printname=='0'">
92 </if>
[all …]
H A Dfamily_group_report.xml49 <if condition="$colors=='on'">
62 </if>
73 <!-- reset the widths if the photos are shown -->
74 <if condition="$photos=='on'">
78 </if>
79 <!-- New Page for Sources controller if SOUR exist -->
97 <if condition="$sources=='on'">
102 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
104 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
106 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
[all …]
H A Dindividual_ext_report.xml52 <if condition="$colors=='on'">
65 </if>
69 <!-- New Page for Sources controller if SOUR exist -->
83 <if condition="$photos=='none'">
87 </if>
89 …<if condition="$relatives=='child-family'"><SetVar name="explain" value="I18N::translate('Parents …
90 …<if condition="$relatives=='spouse-family'"><SetVar name="explain" value="I18N::translate('Spouses…
91 …<if condition="$relatives=='direct-ancestors'"><SetVar name="explain" value="I18N::translate('Dire…
92 …<if condition="$relatives=='ancestors'"><SetVar name="explain" value="I18N::translate('Direct line…
93 …<if condition="$relatives=='descendants'"><SetVar name="explain" value="I18N::translate('Descendan…
[all …]
H A Dindividual_report.xml49 <if condition="$colors=='on'">
62 </if>
66 <!-- New Page for Sources controller if SOUR exist -->
80 <if condition="$photos=='none'">
84 </if>
94 <if condition="$newpage==1">
96 </if>
103 <if condition="$sources=='on'">
108 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
110 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
[all …]
H A Dfact_sources.xml52 <if condition="$stype=='facts'">
59 <if condition="$sortby=='NAME'">
61 </if>
65 <if condition="$sortby=='BIRT:DATE'">
67 </if>
92 <if condition="@ID==$sid">
94 </if>
98 <if condition="$printfact==1">
100 <!-- Indent the fact line if more then one fact has source -->
101 <if condition="$moresource==1">
[all …]
H A Dbdm_report.xml35 <if condition="$name!=''">
37 </if>
38 <if condition="$bdmplace!=''">
40 </if>
45 <if condition="$sortby=='NAME'">
47 </if>
53 <if condition="$sortby=='BIRT:DATE'">
55 </if>
59 <if condition="$birthdate1!='' or $birthdate2!=''">
61 <if condition="$birthdate1!=''">
[all …]
H A Drelative_ext_report.xml41 …<if condition="$relatives=='child-family'"><SetVar name="explain" value="I18N::translate('Parents …
42 …<if condition="$relatives=='spouse-family'"><SetVar name="explain" value="I18N::translate('Spouses…
43 …<if condition="$relatives=='direct-ancestors'"><SetVar name="explain" value="I18N::translate('Dire…
44 …<if condition="$relatives=='ancestors'"><SetVar name="explain" value="I18N::translate('Direct line…
45 …<if condition="$relatives=='descendants'"><SetVar name="explain" value="I18N::translate('Descendan…
46 <if condition="$relatives=='all'"><SetVar name="explain" value="I18N::translate('All')"/></if>
54 <if condition="$sortby=='NAME'">
56 </if>
60 <if condition="$sortby=='BIRT:DATE'">
62 </if>
[all …]
/webtrees/app/Report/
H A DReportPdfTextBox.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
53 if ($element instanceof ReportBaseElement) {
54 if ($element instanceof ReportBaseText) {
60 if (empty($lastelement)) {
63 // Checking if the Text has the same style
70 // Check if the Footnote has been set with it’s link number
72 // Save first the last element if any
73 if (!empty($lastelement)) {
81 if (!empty($footnote_element)) {
88 if (!empty($lastelement)) {
[all …]
H A DRightToLeftSupport.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
120 if ($inputText === '') {
153 if ($endPos === false) {
159 if (strlen($element) < 7 && $temp === '<br') {
160 if ($numberState) {
162 if (self::$currentState === 'RTL') {
177 if ($endPos === false) {
182 if (strtolower($entity) === '&nbsp;') {
185 if (self::$waitingText === '') {
193 if (substr($workingText, 1, 1) === '{') {
[all …]
H A DReportParserGenerate.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
226 * @return string the subrecord that was found or an empty string "" if not found.
230 if ($gedrec === '') {
238 if ($ct === 0) {
241 if ($ct < $num) {
246 if (!$pos2) {
249 if (!$pos2) {
252 if (!$pos2) {
276 if (substr($thisSubrecord, 0, 2) !== $nlevel . ' ') {
280 if ($subrecordType === 'CONT') {
[all …]
H A DReportHtmlTextbox.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
52 if ($element instanceof ReportBaseElement) {
53 if ($element instanceof ReportBaseText) {
54 if (!empty($footnote_element)) {
61 if (empty($lastelement)) {
64 // Checking if the Text has the same style
71 // Check if the Footnote has been set with it’s link number
73 // Save first the last element if any
74 if (!empty($lastelement)) {
82 if (!empty($footnote_element)) {
[all …]
H A DReportPdfCell.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
52 if ($renderer->getCurrentStyle() !== $this->styleName) {
58 // Indicates if the cell background must be painted (1) or transparent (0)
59 if ($this->fill) {
60 if (!empty($this->bgcolor)) {
62 if (preg_match('/#?(..)(..)(..)/', $this->bgcolor, $match)) {
69 // If no color set then don't fill
76 if (preg_match('/#?(..)(..)(..)/', $this->bocolor, $match)) {
84 if (preg_match('/#?(..)(..)(..)/', $this->tcolor, $match)) {
93 // If current position (left)
[all …]
H A DReportHtmlCell.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
39 if (str_contains($this->text, '{{:ptp:}}')) {
53 if ($renderer->getCurrentStyle() !== $this->styleName) {
57 // If (Future-feature-enable/disable cell padding)
61 if ($this->left === ReportBaseElement::CURRENT_POSITION) {
67 if ($this->top === ReportBaseElement::CURRENT_POSITION) {
81 if (!empty($this->bgcolor)) {
88 if (!empty($this->border)) {
90 if ($this->border === '1') {
95 if (str_contains($this->border, 'T')) {
[all …]
H A DReportHtmlText.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
43 if ($renderer->getCurrentStyle() !== $this->styleName) {
56 // If any text at all
57 if (!empty($temptext)) {
58 // If called by an other element
59 if (!$attrib) {
66 // If text is wider then page width then wrap it
67 if ($renderer->getStringWidth($temptext) > $width) {
82 if ($renderer->countLines($temptext) !== 1) {
101 if ($ct > 0) {
[all …]
/webtrees/app/Services/
H A DRelationshipService.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
85 if ($path === []) {
105 if ($individual1 === $individual2) {
131 if (!isset($visited[$spouse->xref()])) {
135 if ($spouse === $individual2) {
144 if (!isset($visited[$child->xref()])) {
148 if ($child === $individual2) {
162 if (!isset($visited[$spouse->xref()])) {
166 if ($spouse === $individual2) {
175 if (!isset($visited[$child->xref()])) {
[all …]
/webtrees/app/
H A DIndividual.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
98if ((int) $this->tree->getPreference('SHOW_DEAD_PEOPLE') >= $access_level && $this->isDead()) {
101 if ($KEEP_ALIVE_YEARS_BIRTH !== 0) {
105if ($date->isOK() && $date->gregorianYear() + $KEEP_ALIVE_YEARS_BIRTH > date('Y')) {
112 if ($KEEP_ALIVE_YEARS_DEATH !== 0) {
116if ($date->isOK() && $date->gregorianYear() + $KEEP_ALIVE_YEARS_DEATH > date('Y')) {
122 if (!$keep_alive) {
130 if ($gedcomid !== '' && $user_path_length > 0) {
151 if ($user_individual instanceof Individual) {
152 if (!$cache) {
[all …]
H A DAuth.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
143 if (self::isManager($tree, $user)) {
147 if (self::isMember($tree, $user)) {
211 if ($module->accessLevel($tree, $interface) < self::accessLevel($tree, $user)) {
228 if ($family === null) {
232 if ($edit && $family->canEdit()) {
238 if ($family->canShow()) {
257 if ($header === null) {
261 if ($edit && $header->canEdit()) {
267 if ($header->canShow()) {
[all …]
H A DFact.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
186 if (preg_match('/^1 (' . Gedcom::REGEX_TAG . ')/', $gedcom, $match)) {
204 if (preg_match('/^1 ' . $this->tag . ' ?(.*(?:\n2 CONT ?.*)*)/', $this->gedcom, $match)) {
220 if (!preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $this->value(), $match)) {
270 if (preg_match('/\n2 ' . $tag . '\b ?(.*(?:(?:\n3 CONT ?.*)*)*)/', $this->gedcom, $match)) {
284 if (preg_match('/\n4 LATI (.+)/', $this->gedcom, $match)) {
298 if (preg_match('/\n4 LONG (.+)/', $this->gedcom, $match)) {
322 if (str_starts_with($restriction, RestrictionNotice::VALUE_CONFIDENTIAL)) {
326 if (str_starts_with($restriction, RestrictionNotice::VALUE_PRIVACY)) {
329 if (str_starts_with($restriction, RestrictionNotice::VALUE_NONE)) {
[all …]
H A DGedcomRecord.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
131 if ($x->canShowName()) {
132 if ($y->canShowName()) {
139 if ($y->canShowName()) {
249 if ($access_level === Auth::PRIV_HIDE) {
277 if ($this->isPendingDeletion()) {
281 if (Auth::isManager($this->tree)) {
296 if ($access_level === Auth::PRIV_HIDE) {
300 if (!$this->canShow($access_level)) {
329 if ($record === null || !$record->canShow($access_level)) {
[all …]
H A DRegistry.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
121 if ($factory instanceof CacheFactoryInterface) {
137 if ($factory instanceof CalendarDateFactoryInterface) {
153 if ($container instanceof ContainerInterface) {
169 if ($factory instanceof ElementFactoryInterface) {
185 if ($factory instanceof EncodingFactoryInterface) {
201 if ($factory instanceof FamilyFactoryInterface) {
217 if ($factory instanceof FilesystemFactoryInterface) {
233 if ($factory instanceof GedcomRecordFactoryInterface) {
249 if ($factory instanceof HeaderFactoryInterface) {
[all …]
/webtrees/resources/views/modules/timeline-chart/
H A Dchart.phtml54 if (element.offsetParent) {
93 if (ob === null) {
98 if (type === 0) {
104 if (oldx === 0) {
107 if (newy < topy - bheight / 2) {
110 if (newy > bottomy) {
122 if (daydiff < 0) {
129 if (dage < 0) {
132 if (dage < -30) {
135 if (mage < 0) {
[all …]
/webtrees/app/Date/
H A DAbstractCalendarDate.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
86 if (is_int($date)) {
95 if (is_array($date)) {
99 if ($this->month === 0) {
106if ($this->month === 6 && $this->calendar instanceof JewishCalendar && !$this->calendar->isLeapYea…
120 if (get_class($this) === get_class($date)) {
129 if (!$this->inValidRange()) {
138 if ($date->year === 0) {
148 if ($date->year === 0) {
151 if ($date->month === 0) {
[all …]
/webtrees/app/Module/
H A DAbstractIndividualListModule.php15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
89 if ($xref !== '') {
92 if ($individual instanceof Individual && $individual->canShow()) {
129 // What type of list to display, if any
151 if ($surname_param !== $surname) {
157 if ($show_all_firstnames === 'yes') {
161 if ($show_all === 'yes') {
166 if ($surname !== '') {
176 if ($surname !== '' && !array_key_exists($surname, $all_surns)) {
186 if ($show_all === 'yes') {
[all …]

12345678910>>...125