You are here

function panels_ajax_image_button in Panels 6.2

@todo -- move this somewhere more useful. ajax.inc

3 calls to panels_ajax_image_button()
panels_common_add_item_to_form in includes/common-context.inc
Add a row to the form. Used both in the main form and by the ajax to add an item.
panels_show_pane in includes/display-edit.inc
theme_panels_edit_display_form in includes/display-edit.inc
Theme the edit display form.

File

includes/ajax.inc, line 78
Miscellaneous AJAX helper routines

Code

function panels_ajax_image_button($image, $dest, $alt, $class = '') {
  return panels_ajax_text_button(theme('image', panels_get_path("images/{$image}")), $dest, $alt, $class);
}