Closed (fixed)
Project:
Skinr
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Oct 2010 at 23:21 UTC
Updated:
26 Nov 2010 at 20:00 UTC
Jump to comment: Most recent file
Suggest this changes to match cores node content exposed filters, sorry I can't roll a patch right now but had a crack at hacking theme_skinr_ui_filters. I'd be slightly tempted to call this a bug actually since we need to special case whereas it could just inherit cores exposed filter style from system.admin.css
Something like (although I'm pretty sure I'm missing a div in there somewhere)...
$output .= '<div class="exposed-filters clearfix">';
if (!empty($form['status']) && count(element_children($form['status']))) {
$output .= '<div class="filters form-wrapper">' . (!empty($form['current']) ? '<div class="form-item form-type-select"><em>' . t('and') . '</em> ' . t('where') . '</div>' : '');
foreach (element_children($form['status']) as $key) {
$output .= drupal_render($form['status'][$key]);
}
$output .= '</div>';
}
$output .= drupal_render($form['actions']);
$output .= '</div>';
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 957388-5-skinr-exposed-filters.patch | 6.41 KB | jacine |
| #3 | skinr-exposed-filters.patch | 6.37 KB | jacine |
Comments
Comment #1
jacineYup, on the list. Thanks for posting the issue for me :)
Comment #2
jacineGonna do this on Friday, since I worked on the patch that fixed this horrendous markup. :)
Comment #3
jacineHere's a patch.
Comment #4
sunWrong indentation.
Powered by Dreditor.
Comment #5
jacineThanks!
Fixed :D
Comment #6
sunAgain wrong indentation, but can be fixed prior to committing. ;)
Powered by Dreditor.
Comment #7
jacineCommitted! Thanks :D
http://drupal.org/cvs?commit=449932