function imagecrop_preprocess_page in Image javascript crop 7
Implements hook_preprocess_page(). Set the theme hook suggestion to page-imagecrop for imagecrop pages.
File
- ./
imagecrop.module, line 451 - Provides a javascript toolbox through an imagecache action.
Code
function imagecrop_preprocess_page(&$variables) {
if (arg(0) == 'imagecrop') {
$variables['theme_hook_suggestion'] = 'page-imagecrop';
include_once dirname(__FILE__) . '/includes/imagecrop.theme.inc';
}
}