function lingotek_grid_customize in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.bulk_grid.inc \lingotek_grid_customize()
- 7.5 lingotek.bulk_grid.inc \lingotek_grid_customize()
- 7.6 lingotek.bulk_grid.inc \lingotek_grid_customize()
1 string reference to 'lingotek_grid_customize'
- lingotek_menu in ./
lingotek.module - Implements hook_menu().
File
- ./
lingotek.bulk_grid.inc, line 350 - Bulk Grid form
Code
function lingotek_grid_customize() {
ctools_include('node.pages', 'node', '');
ctools_include('modal');
ctools_include('ajax');
$form_state = array(
'ajax' => TRUE,
);
$output = ctools_modal_form_wrapper('lingotek_grid_customize_form', $form_state);
if (!empty($form_state['executed'])) {
$f = array();
form_execute_handlers('submit', $f, $form_state);
$commands = array();
$commands[] = ctools_modal_command_dismiss();
$commands[] = ctools_ajax_command_reload();
print ajax_render($commands);
exit;
}
print ajax_render($output);
}