You are here

function uc_store_image_widget_thickbox in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 uc_store/uc_store.module \uc_store_image_widget_thickbox()

This function generates the Thickbox-specific HTML attributes.

1 string reference to 'uc_store_image_widget_thickbox'
uc_store_uc_image_widget in uc_store/uc_store.module
Implements hook_uc_image_widget().

File

uc_store/uc_store.module, line 2236
Contains global Ubercart functions and store administration functionality.

Code

function uc_store_image_widget_thickbox($rel_count) {
  if (!is_null($rel_count)) {
    $img_index = 'uc_image_' . $rel_count;
  }
  else {
    $img_index = 'uc_image';
  }
  return ' class="thickbox" rel="' . $img_index . '"';
}