function theme_jeditable_formatter_jeditable_textarea in jEditable inline content editing 6.2
Same name and namespace in other branches
- 6 jeditable.module \theme_jeditable_formatter_jeditable_textarea()
- 7 jeditable.module \theme_jeditable_formatter_jeditable_textarea()
Theme a CCK text field as a jeditable textarea.
File
- ./
jeditable.module, line 115
Code
function theme_jeditable_formatter_jeditable_textarea($element) {
$id = $element['#node']->nid;
$field = $element['#field_name'];
return '<span id="cck-' . $id . '-' . $field . '" class="jeditable-textarea">' . $element[0]['#item']['value'] . '</span>';
}