function spartan_preprocess_views_view_unformatted in OpenPublic 7
Implements hook_preprocess_views_view_unformatted().
Add the 'clearfix' class to all unformatted views rows.
File
- themes/
spartan/ template.php, line 101 - Code for the spartan theme.
Code
function spartan_preprocess_views_view_unformatted(&$vars) {
foreach ($vars['classes'] as &$rowclasses) {
$rowclasses[] = 'clearfix';
}
}