diff options
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.admin.inc | 6 | ||||
-rw-r--r-- | modules/forum/forum.module | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc index 6bdbc494d..a16bff5ef 100644 --- a/modules/forum/forum.admin.inc +++ b/modules/forum/forum.admin.inc @@ -225,12 +225,12 @@ function forum_overview(&$form_state) { foreach (element_children($form) as $key) { if (isset($form[$key]['#term'])) { $term = $form[$key]['#term']; - $form[$key]['view']['#value'] = l($term['name'], 'forum/' . $term['tid']); + $form[$key]['view']['#markup'] = l($term['name'], 'forum/' . $term['tid']); if (in_array($form[$key]['#term']['tid'], variable_get('forum_containers', array()))) { - $form[$key]['edit']['#value'] = l(t('edit container'), 'admin/build/forum/edit/container/' . $term['tid']); + $form[$key]['edit']['#markup'] = l(t('edit container'), 'admin/build/forum/edit/container/' . $term['tid']); } else { - $form[$key]['edit']['#value'] = l(t('edit forum'), 'admin/build/forum/edit/forum/' . $term['tid']); + $form[$key]['edit']['#markup'] = l(t('edit forum'), 'admin/build/forum/edit/forum/' . $term['tid']); } } } diff --git a/modules/forum/forum.module b/modules/forum/forum.module index d7f79a84b..a4ecbeb42 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -199,7 +199,7 @@ function forum_nodeapi(&$node, $op, $teaser, $page) { if (!$teaser) { $node->content['forum_navigation'] = array( - '#value' => theme('forum_topic_navigation', $node), + '#markup' => theme('forum_topic_navigation', $node), '#weight' => 100, ); } @@ -360,7 +360,7 @@ function forum_form_alter(&$form, $form_state, $form_id) { // Hide critical options from forum vocabulary. if ($form_id == 'taxonomy_form_vocabulary') { $form['help_forum_vocab'] = array( - '#value' => t('This is the designated forum vocabulary. Some of the normal vocabulary options have been removed.'), + '#markup' => t('This is the designated forum vocabulary. Some of the normal vocabulary options have been removed.'), '#weight' => -1, ); $form['content_types']['nodes']['#required'] = TRUE; |