summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNancy Wichmann2013-02-21 20:50:54 (GMT)
committer Nancy Wichmann2013-02-21 20:50:54 (GMT)
commitbd17b21d4f07ce8dfb9cda88f69f125ca2f0591f (patch)
tree2ce3cde8ff748e3eaadb305a5b80da38111b44ef
parenta13eee02c068942025b7bea16c31f97f3ba539ba (diff)
Issue #1916154 by NancyDru: Allow manage display to move field.
-rw-r--r--submitted_by.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/submitted_by.module b/submitted_by.module
index 76f39ec..eba7299 100644
--- a/submitted_by.module
+++ b/submitted_by.module
@@ -140,11 +140,11 @@ function submitted_by_field_extra_fields() {
function submitted_by_node_view($node, $view_mode, $langcode) {
$fields = field_extra_fields_get_display('node', $node->type, $view_mode);
if (isset($fields['submitted_by']['visible']) && $fields['submitted_by']['visible']) {
- $node->content['submitted'] =
+ $node->content['submitted_by'] =
array('#markup' => '<span class="submitted-by">' . submitted_by_do_replace($node, $view_mode) . '</span>');
}
else {
- $node->content['submitted'] = array(array());
+ $node->content['submitted_by'] = array(array());
}
return;