diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-12 23:57:56 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-12 23:57:56 +0200 |
commit | 06d44687beec194325255f360a657040b3e834d4 (patch) | |
tree | a6c4f30f84f664f2add2db69db1156f660e5f548 | |
parent | 9ae2873ab191b1a79c14dab0785e1a9c1ff00b57 (diff) | |
download | apk_browser-stable.tar.bz2 apk_browser-stable.tar.xz |
remove dub functionstable
-rw-r--r-- | apk_browser.module | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/apk_browser.module b/apk_browser.module index 9cb1011..c704f7f 100644 --- a/apk_browser.module +++ b/apk_browser.module @@ -752,27 +752,3 @@ function apk_browser_assign_maintainer() { variable_set('apk_browser_assign_maintainer', time()); watchdog('apk', 'Updated @qty package maintainers', array('@qty' => count(array_filter($updated))), WATCHDOG_INFO, NULL); } - -//wrap the package browser filters inside a collapsed fieldset -function apk_browser_preprocess_views_view(&$vars) { - if ($vars['exposed']) { - $options['element'] = array( - '#title' => t('Filter packages'), - '#value' => $vars['exposed'], - '#children' => FALSE, - '#attached' => array( - 'js' => array( - 'misc/form.js', - 'misc/collapse.js', - ), - ), - '#attributes' => array( - 'class' => array( - 'collapsible', - 'collapsed' - ), - ), - ); - $vars['exposed'] = theme('fieldset', $options); - } -}
\ No newline at end of file |