You are here

function theme_panels_imagebutton in Panels 5

Same name and namespace in other branches
  1. 5.2 panels.module \theme_panels_imagebutton()

Theme our image button.

File

./panels.module, line 154

Code

function theme_panels_imagebutton($element) {
  return '<input type="image" class="form-' . $element['#button_type'] . '" name="' . $element['#name'] . '" value="' . check_plain($element['#default_value']) . '" ' . drupal_attributes($element['#attributes']) . ' src="' . $element['#image'] . '" alt="' . $element['#title'] . '" title="' . $element['#title'] . "\" />\n";
}