Skip to content
Browse files

Adds css class to vertical tables.

  • Loading branch information...
1 parent d614f2b commit d027f5582ac4d8a573393cb8f3d30ba05da36b7c @elplatt committed Jul 3, 2011
Showing with 4 additions and 2 deletions.
  1. +1 −1 crm/include/member/data.inc.php
  2. +3 −1 crm/include/theme.inc.php
View
2 crm/include/member/data.inc.php
@@ -41,7 +41,7 @@ function member_data ($opts) {
LEFT JOIN `membership` ON (`member`.`cid`=`membership`.`cid` AND `membership`.`end` IS NULL)
LEFT JOIN `plan` ON `plan`.`pid`=`membership`.`pid`
WHERE 1
- GROUP BY `cid`";
+ GROUP BY `member`.`cid`";
if (!empty($opts['cid'])) {
$sql .= " AND `member`.`cid`=$opts[cid]";
}
View
4 crm/include/theme.inc.php
@@ -500,9 +500,11 @@ function theme_table_vertical ($table) {
if (!empty($table['id'])) {
$output .= ' id="' . $table['id'] . '"';
}
+ $class = "seltzer-table";
if (!empty($table['class'])) {
- $output .= ' class="' . $table['class'] . '"';
+ $class .= " " . $table['class'];
}
+ $output .= ' class="' . $class . '"';
$output .= '>';
// Output table body

0 comments on commit d027f55

Please sign in to comment.
Something went wrong with that request. Please try again.