@@ -98,14 +98,14 @@ discard block |
||
98 | 98 | $this->show = 'lineage'; // SURN list makes no sense here |
99 | 99 | } elseif ($this->alpha) { |
100 | 100 | $this->show_all = 'no'; |
101 | - $this->legend = Filter::escapeHtml($this->alpha) . '…'; |
|
101 | + $this->legend = Filter::escapeHtml($this->alpha).'…'; |
|
102 | 102 | $this->show = Filter::get('show', 'surn|lineage', 'surn'); |
103 | 103 | } else { |
104 | 104 | $this->show_all = 'no'; |
105 | 105 | $this->legend = '…'; |
106 | 106 | $this->show = 'none'; // Don't show lists until something is chosen |
107 | 107 | } |
108 | - $this->legend = '<span dir="auto">' . $this->legend . '</span>'; |
|
108 | + $this->legend = '<span dir="auto">'.$this->legend.'</span>'; |
|
109 | 109 | |
110 | 110 | } |
111 | 111 | |
@@ -154,8 +154,7 @@ discard block |
||
154 | 154 | $controller = new PageController(); |
155 | 155 | $controller->setPageTitle( |
156 | 156 | $this->show === 'none' ? |
157 | - I18N::translate('Patronymic Lineages') : |
|
158 | - I18N::translate('Patronymic Lineages') . ' : ' . $this->legend |
|
157 | + I18N::translate('Patronymic Lineages') : I18N::translate('Patronymic Lineages').' : '.$this->legend |
|
159 | 158 | ); |
160 | 159 | |
161 | 160 | $view_bag = new ViewBag(); |
@@ -165,15 +164,15 @@ discard block |
||
165 | 164 | $view_bag->set('surname', $this->surname); |
166 | 165 | $view_bag->set('legend', $this->legend); |
167 | 166 | $view_bag->set('show_all', $this->show_all); |
168 | - if($this->isShowingSurnames()) { |
|
167 | + if ($this->isShowingSurnames()) { |
|
169 | 168 | $view_bag->set('issurnames', true); |
170 | 169 | $view_bag->set('surnameslist', $this->getSurnamesList()); |
171 | 170 | } |
172 | - if($this->isShowingLineages()) { |
|
171 | + if ($this->isShowingLineages()) { |
|
173 | 172 | $view_bag->set('islineages', true); |
174 | 173 | $view_bag->set('lineages', $this->getLineages()); |
175 | 174 | |
176 | - if ($this->show_all==='no') { |
|
175 | + if ($this->show_all === 'no') { |
|
177 | 176 | $view_bag->set('table_title', I18N::translate('Individuals in %s lineages', $this->legend)); |
178 | 177 | } |
179 | 178 | else { |