function theme_jeditable_formatter_jeditable_textarea in jEditable inline content editing 6
Same name and namespace in other branches
- 6.2 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 142 - jeditable.module
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>';
}