function imagecrop_render_main_content in Image javascript crop 7
Render the main content block from drupal.
1 call to imagecrop_render_main_content()
- imagecrop_page in includes/
imagecrop.theme.inc - Override the page theming for the imagecrop pages.
File
- ./
imagecrop.module, line 691 - Provides a javascript toolbox through an imagecache action.
Code
function imagecrop_render_main_content($element) {
$output = '';
foreach (element_children($element) as $key) {
if ($key == 'system_main') {
return drupal_render($element[$key]);
}
else {
$output = imagecrop_render_main_content($element[$key]);
}
if (!empty($output)) {
return $output;
}
}
return $output;
}