You are here

function theme_textactions_rendertext in ImageCache Actions 6

Implementation of theme_hook() for imagecache_ui.module

File

./textrender.inc, line 85
Helper functions for imagecache_textactions

Code

function theme_textactions_rendertext($element) {
  $data = $element['#value'];
  $style_atts = imageapi_text_parse_style($data['textstyle']['style']);
  return t("<em>\"<strong>@data</strong>\"</em><br/>%style<br/>%font", array(
    '@data' => $data['text'],
    '%style' => $data['textstyle']['style'],
    '%font' => basename($data['textstyle']['fontfile']),
  ));
}