The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 548d64fb authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Merge branch 'release-2.3'

parents 7f509ca7 e86ff409
No related merge requests found
......@@ -79,38 +79,35 @@
?>
</td>
<? endforeach; ?>
<? if (count($item['useInstead']) > 0): ?>
<td>
<?=$this->transEsc('Use instead') ?>:
<ul>
<? foreach ($item['useInstead'] as $heading): ?>
<li><a href="<?=$this->escapeHtmlAttr($this->url('alphabrowse-home', array(), array('query' => array('from' => $heading) + $baseQuery)))?>"><?=$this->escapeHtml($heading)?></a></li>
<? endforeach; ?>
</ul>
</td>
<? endif; ?>
<? if (count($item['seeAlso']) > 0): ?>
<td>
<?=$this->transEsc('See also') ?>:
<ul>
<? foreach ($item['seeAlso'] as $heading): ?>
<li><a href="<?=$this->escapeHtmlAttr($this->url('alphabrowse-home', array(), array('query' => array('from' => $heading) + $baseQuery)))?>"><?=$this->escapeHtml($heading)?></a></li>
<? endforeach; ?>
</ul>
</td>
<?=$this->transEsc('See also') ?>:
<ul>
<? foreach ($item['seeAlso'] as $heading): ?>
<li><a href="<?=$this->escapeHtmlAttr($this->url('alphabrowse-home', array(), array('query' => array('from' => $heading) + $baseQuery)))?>"><?=$this->escapeHtml($heading)?></a></li>
<? endforeach; ?>
</ul>
<? endif; ?>
<? if ($item['note']): ?>
<td>
<?=$this->transEsc('Note') ?>:
<ul>
<li><?=$this->escapeHtml($item['note'])?></li>
</ul>
</td>
<?=$this->transEsc('Note') ?>:
<ul>
<li><?=$this->escapeHtml($item['note'])?></li>
</ul>
<? endif; ?>
</td>
<td>
<? if ($item['count'] > 0): ?>
<?=$item['count']; ?>
<? elseif (count($item['useInstead']) > 0): ?>
<?=$this->transEsc('Use instead') ?>:
<ul>
<? foreach ($item['useInstead'] as $heading): ?>
<li><a href="<?=$this->escapeHtmlAttr($this->url('alphabrowse-home', array(), array('query' => array('from' => $heading) + $baseQuery)))?>"><?=$this->escapeHtml($heading)?></a></li>
<? endforeach; ?>
</ul>
<? endif; ?>
</td>
<td><? if ($item['count'] > 0): echo $item['count']; endif; ?></td>
<? endforeach; ?>
</tbody>
</table>
......
......@@ -63,39 +63,35 @@
<? else: ?>
<span><?=$this->escapeHtml($item['heading'])?></span>
<? endif; ?>
</td>
<? foreach ($this->extras as $extraName): ?>
<td>
<?
$extraDisplayArray = array();
foreach ($item['extras'][$extraName] as $j => $e):
$extraDisplayArray = array_unique(array_merge($extraDisplayArray, $e));
endforeach;
echo empty($extraDisplayArray) ? '&nbsp;' : implode('<br />', $extraDisplayArray);
?>
</td>
<? endforeach; ?>
<? if (count($item['seeAlso']) > 0): ?>
<td>
<? if (count($item['seeAlso']) > 0): ?>
<?=$this->transEsc('See also') ?>:
<ul>
<? foreach ($item['seeAlso'] as $heading): ?>
<li><a href="<?=$this->escapeHtmlAttr($this->url('alphabrowse-home', array(), array('query' => array('from' => $heading) + $baseQuery)))?>"><?=$this->escapeHtml($heading)?></a></li>
<? endforeach; ?>
</ul>
</td>
<? endif; ?>
<? endif; ?>
<? if ($item['note']): ?>
<td>
<? if ($item['note']): ?>
<?=$this->transEsc('Note') ?>:
<ul>
<li><?=$this->escapeHtml($item['note'])?></li>
</ul>
<? endif; ?>
</td>
<? foreach ($this->extras as $extraName): ?>
<td>
<?
$extraDisplayArray = array();
foreach ($item['extras'][$extraName] as $j => $e):
$extraDisplayArray = array_unique(array_merge($extraDisplayArray, $e));
endforeach;
echo empty($extraDisplayArray) ? '&nbsp;' : implode('<br />', $extraDisplayArray);
?>
</td>
<? endif; ?>
<? endforeach; ?>
<td class="titles">
<? if ($item['count'] > 0): ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment