Revision f545e3c5
Added by Andreas Kohlbecker almost 3 years ago
modules/cdm_dataportal/ext_links/ext_links.admin.inc | ||
---|---|---|
227 | 227 |
* The status value to set (values: 1 or 0) |
228 | 228 |
*/ |
229 | 229 |
function ext_links_admin_link_template_set_status($link_template, $status){ |
230 |
$link_template->status = $status === 1 ? 1 : 0;
|
|
230 |
$link_template->status = $status == 1 ? 1 : 0; |
|
231 | 231 |
ext_links_save($link_template); |
232 | 232 |
drupal_goto("admin/config/cdm_dataportal/ext_links"); |
233 | 233 |
} |
... | ... | |
269 | 269 |
$output = theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'link-templates-order'))); |
270 | 270 |
$output .= drupal_render_children($form); |
271 | 271 |
|
272 |
drupal_add_tabledrag('link-templates-order', 'order', 'sibling', 'text-format-order-weight'); |
|
272 |
drupal_add_tabledrag('link-templates-order', 'order', 'sibling', 'text-format-order-weight', null, null, TRUE);
|
|
273 | 273 |
|
274 | 274 |
return $output; |
275 | 275 |
} |
Also available in: Unified diff
ref #9659 ext_links enable/disable bug fix