diff --git a/modules/storm/storm.module b/modules/storm/storm.module index a7af929..1a4f100 100644 --- a/modules/storm/storm.module +++ b/modules/storm/storm.module @@ -989,6 +989,10 @@ 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) % 20) { + array_pop($link_blocks); + } */ // DIVIDE LINKS INTO TWO BLOCKS $count = ceil(count($link_blocks) / 2); $link_blocks = array_chunk($link_blocks, $count); @@ -1132,20 +1136,25 @@ function storm_storm_dashboard_links($type) { 'title' => t('Attributes'), 'icon' => 'stormattributes-item', 'path' => 'attributes', - 'params' => array(), 'access_arguments' => 'Storm: access administration pages', - 'map' => array(), 'weight' => 180, ); $links[] = array( + 'theme' => 'storm_dashboard_link', 'title' => t('Configuration'), 'icon' => 'stormconfiguration-item', 'path' => 'admin/settings/suitedesk', - 'params' => array(), 'access_arguments' => 'Storm: access administration pages', - 'map' => array(), 'weight' => 190, ); +/* $links[] = array( + 'theme' => 'storm_dashboard_link', + 'title' => t('Search in SuiteDesk'), + 'icon' => 'stormsearch-item', + 'path' => 'search', + 'access_arguments' => 'access content', + 'weight' => 200, + ); LAST ITEM TO REMOVE IF THERE IS AN ODD NUMBER OF ITEMS */ } return $links; } diff --git a/themes/zuitedesk/css/suitedesk.css b/themes/zuitedesk/css/suitedesk.css index 61464dc..ac8805a 100644 --- a/themes/zuitedesk/css/suitedesk.css +++ b/themes/zuitedesk/css/suitedesk.css @@ -472,6 +472,9 @@ dt.stormcomponent span.stormlinks-count + a > img { #stormconfiguration-item { background: transparent url(../images/storm/configuration.png) no-repeat top left; } +#stormsearch-item { + background: transparent url(../images/storm/search.png) no-repeat top left; +} /* * "SuiteDesk" list & filter. diff --git a/themes/zuitedesk/images/storm/search.png b/themes/zuitedesk/images/storm/search.png new file mode 100644 index 0000000..8a1597b Binary files /dev/null and b/themes/zuitedesk/images/storm/search.png differ diff --git a/themes/zuitedesk/zuitedesk.info b/themes/zuitedesk/zuitedesk.info index f332559..1f589fb 100644 --- a/themes/zuitedesk/zuitedesk.info +++ b/themes/zuitedesk/zuitedesk.info @@ -1,6 +1,6 @@ name = SuiteDesk Theme description = SuiteDesk Theme Zen. -version = 0.2.57 +version = 0.2.58 screenshot = screenshot.png