test attributes

This commit is contained in:
Nathan Coad
2018-06-26 10:10:46 +10:00
parent ee95126760
commit ce0b3792ba

View File

@@ -1611,6 +1611,7 @@ function _booking_readinggroup_email_listing($node) {
global $event;
$rows = array();
$header = array("First Name", "Last Name", "Phone Number");
$attributes = array("border-spacing" => "10px 0;");
//display study session data if enabled
if (variable_get('booking_enable_studygroups', 0) == 0) {
@@ -1651,7 +1652,7 @@ function _booking_readinggroup_email_listing($node) {
}
if(variable_get('booking_enable_html_mail', 0) == 1) {
$table = theme('table', array('header' => $header, 'rows' => $rows));
$table = theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
watchdog('booking_debug', "<pre>Reading group table\n@info</pre>", array('@info' => print_r($table, true)));
return $table;
}