| Versions | |
|---|---|
| 7 | theme_image_rotate_summary($variables) |
Returns HTML for a summary of an image rotate effect.
$variables An associative array containing:
drupal/
<?php
function theme_image_rotate_summary($variables) {
$data = $variables['data'];
return ($data['random']) ? t('random between -@degrees° and @degrees°', array('@degrees' => str_replace('-', '', $data['degrees']))) : t('@degrees°', array('@degrees' => $data['degrees']));
}
?>