You are here

function imagecrop_theme in Image javascript crop 7

Same name and namespace in other branches
  1. 6 imagecrop.module \imagecrop_theme()

Implements hook_theme().

2 string references to 'imagecrop_theme'
imagecrop_get_theme in ./imagecrop.module
Return the theme to use for imagecrop popups.
imagecrop_settings_form in includes/imagecrop.admin.inc
General settings form from the imagecrop module.

File

./imagecrop.module, line 37
Provides a javascript toolbox through an imagecache action.

Code

function imagecrop_theme() {
  return array(
    'page-imagecrop' => array(
      'variables' => array(),
      'file' => 'includes/imagecrop.theme.inc',
      'function' => 'imagecrop_page',
    ),
    'html-imagecrop' => array(
      'variables' => array(),
      'template' => 'html-imagecrop',
    ),
    'imagecrop_crop_ui' => array(
      'variables' => array(
        'style_selection' => array(),
        'settings_form' => array(),
        'scale_form' => array(),
        'imagecrop' => NULL,
        'rotation_form' => array(),
      ),
      'template' => 'imagecrop-crop-ui',
    ),
    'imagecrop_crop_ui_advanced' => array(
      'variables' => array(
        'style_selection' => array(),
        'settings_form' => array(),
        'scale_form' => array(),
        'imagecrop' => NULL,
        'rotation_form' => array(),
      ),
      'template' => 'imagecrop-crop-ui-advanced',
    ),
    'imagecrop_overview' => array(
      'variables' => array(
        'style_selection' => array(),
        'viewed_style' => NULL,
        'edit_url' => NULL,
      ),
      'template' => 'imagecrop-crop-overview',
    ),
    'imagecrop_effect_summary' => array(
      'variables' => array(
        'data' => NULL,
      ),
      'file' => 'includes/imagecrop.theme.inc',
    ),
    'imagecrop_reuse_effect_summary' => array(
      'variables' => array(
        'data' => NULL,
      ),
      'file' => 'includes/imagecrop.theme.inc',
    ),
  );
}