New display options for advanced search page

This commit is contained in:
Manuel Cillero 2017-09-20 23:25:14 +02:00
parent 5e5f48a090
commit 78a3d9a6f2
6 changed files with 32 additions and 8 deletions

View file

@ -990,7 +990,7 @@ function storm_dashboard($type = 'page') {
$link_blocks = storm_dashboard_get_links(TRUE, $type);
if (!empty($link_blocks)) {
// ALWAYS DISPLAY A PAIR NUMBER OF ITEMS
if (count($link_blocks) % 2) {
if ($type == 'page' && count($link_blocks) % 2) {
$link_blocks[] = array(
'theme' => 'storm_dashboard_link',
'title' => t('Advanced search'),