function dialog_command_display in Dialog 6
Same name and namespace in other branches
- 7 dialog.module \dialog_command_display()
Place HTML within the modal.
Parameters
$title: The title of the modal.
$html: The html to place within the modal.
6 calls to dialog_command_display()
- dialog_ajax_render in ./
dialog.module - Perform a simple modal render and immediately exit.
- dialog_comment_delete in modules/
dialog_comment/ dialog_comment.module - Menu page callback for comment/%ctools_js/delete/%
- dialog_comment_edit in modules/
dialog_comment/ dialog_comment.module - Menu page callback for comment/%ctools_js/edit/%
- dialog_comment_reply in modules/
dialog_comment/ dialog_comment.module - Menu page callback for comment/%ctools_js/reply/%node
- dialog_form_render in ./
dialog.module - Render a form into an AJAX display.
File
- ./
dialog.module, line 84
Code
function dialog_command_display($title, $html, $options = array()) {
return array(
'command' => 'dialog_display',
'title' => $title,
'output' => theme('dialog_content', $html),
'options' => $options,
);
}