@@ 85-91 (lines=7) @@ | ||
82 | $newsHeader = $oGlossary->insertItemsIntoContent($newsHeader); |
|
83 | ||
84 | // Add information link if existing |
|
85 | if (strlen($news['link']) > 0) { |
|
86 | $newsContent .= sprintf('</p><p>%s<a href="%s" target="%s">%s</a>', |
|
87 | $PMF_LANG['msgInfo'], |
|
88 | $news['link'], |
|
89 | $news['target'], |
|
90 | $news['linkTitle']); |
|
91 | } |
|
92 | ||
93 | // Show link to edit the news? |
|
94 | $editThisEntry = ''; |
@@ 188-195 (lines=8) @@ | ||
185 | ||
186 | $output .= sprintf('%s', $item['content']); |
|
187 | ||
188 | if (strlen($item['link']) > 1) { |
|
189 | $output .= sprintf( |
|
190 | '<br />%s <a href="%s" target="_%s">%s</a>', |
|
191 | $this->pmf_lang['msgInfo'], |
|
192 | $item['link'], |
|
193 | $item['target'], |
|
194 | $item['linkTitle']); |
|
195 | } |
|
196 | ||
197 | $output .= sprintf( |
|
198 | '<small class="text-muted">%s</small>', |