Commit f2d6c25c authored by yched's avatar yched

#119103 (followup) - update theming example accordingly

parent 743ad1e7
...@@ -17,7 +17,7 @@ function phptemplate_field(&$node, &$field, &$items, $teaser, $page) { ...@@ -17,7 +17,7 @@ function phptemplate_field(&$node, &$field, &$items, $teaser, $page) {
'field_name' => $field['field_name'], 'field_name' => $field['field_name'],
'field_type_css' => strtr($field['type'], '_', '-'), 'field_type_css' => strtr($field['type'], '_', '-'),
'field_name_css' => strtr($field['field_name'], '_', '-'), 'field_name_css' => strtr($field['field_name'], '_', '-'),
'label' => $field['widget']['label'], 'label' => t($field['widget']['label']),
'label_display' => isset($field['display_settings']['label']['format']) ? $field['display_settings']['label']['format'] : 'above', 'label_display' => isset($field['display_settings']['label']['format']) ? $field['display_settings']['label']['format'] : 'above',
'field_empty' => $field_empty, 'field_empty' => $field_empty,
'items' => $items, 'items' => $items,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment