You are here

function itweak_upload_theme in iTweak Upload 7.3

Same name and namespace in other branches
  1. 6.2 itweak_upload.module \itweak_upload_theme()

Implements hook_theme().

File

./itweak_upload.module, line 99
iTweakUpload - Tweak attachments display and file upload forms.

Code

function itweak_upload_theme() {
  return array(
    'file_link_itu' => array(
      'variables' => array(
        'file' => NULL,
        'icon_directory' => NULL,
        'show_icon' => NULL,
        'options' => NULL,
      ),
    ),
    'file_icon_itu' => array(
      'variables' => array(
        'file' => NULL,
        'icon_directory' => NULL,
      ),
    ),
    'file_formatter_table_itu' => array(
      'variables' => array(
        'items' => NULL,
        'icon_directory' => NULL,
      ),
    ),
    // 'itweak_upload_images_body' in D6
    'itweak_upload_image_gallery_body' => array(
      'variables' => array(
        'items' => NULL,
        'limit' => NULL,
        'options' => NULL,
      ),
    ),
    // 'itweak_upload_images' in D6
    'itweak_upload_image_gallery' => array(
      'variables' => array(
        'items' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_thumbnail' => array(
      'variables' => array(
        'thumbnail' => NULL,
        'url' => NULL,
        'title_text' => NULL,
        'caption_text' => NULL,
        'options' => NULL,
      ),
    ),
  );
}