Revision 86b65fa0
Added by Andreas Kohlbecker almost 11 years ago
7.x/modules/cdm_dataportal/cdm_api/cdm_api.module | ||
---|---|---|
114 | 114 |
|
115 | 115 |
_add_js_ws_debug(); |
116 | 116 |
|
117 |
$block['subject'] = t('CDM Debug');
|
|
118 |
// cannot use theme_tabel() since table footer is not jet supported in D7
|
|
117 |
$block['subject'] = ''; // no subject, title in content for having a defined element id
|
|
118 |
// otherwise it would depend on the theme
|
|
119 | 119 |
$block['content'] = |
120 |
'<table id="cdm-ws-debug-table">' |
|
120 |
'<h4 id="cdm-ws-debug-button">' . t('CDM Debug') . '</h4>' |
|
121 |
// cannot use theme_table() since table footer is not jet supported in D7 |
|
122 |
. '<div id="cdm-ws-debug-table-container"><table id="cdm-ws-debug-table">' |
|
121 | 123 |
. $header |
122 | 124 |
. '<tbody>' . join('', $rows) . '</tbody>' |
123 | 125 |
. $footer |
124 |
. '</table>'; |
|
126 |
. '</table></div>';
|
|
125 | 127 |
|
126 | 128 |
return $block; |
127 | 129 |
} |
Also available in: Unified diff
module update and some bugfixes for #3316 (dataportal debug box as table and as block)