From bd695fec8833b2eef584cb576ab3f3881975f547 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <eric@unl.edu> Date: Mon, 4 Oct 2010 21:41:07 +0000 Subject: [PATCH] Change the type of unl_blocks (Related Links, Contact, etc) to text_format so the editor is WYSIWYG git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@223 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/unl/unl_blocks.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/all/modules/unl/unl_blocks.module b/sites/all/modules/unl/unl_blocks.module index edd2a672..8e075ab1 100644 --- a/sites/all/modules/unl/unl_blocks.module +++ b/sites/all/modules/unl/unl_blocks.module @@ -72,7 +72,7 @@ function unl_blocks_block_configure($delta = '') { // block. Drupal will take care of the standard block configuration options // (block title, page visibility, etc.) and the save button. $form['unl_blocks_leftcollinks'] = array( - '#type' => 'textarea', + '#type' => 'text_format', '#title' => t('Block contents'), '#size' => 60, '#description' => t('For more info see http://www1.unl.edu/wdn/wiki/Related_Links'), @@ -81,7 +81,7 @@ function unl_blocks_block_configure($delta = '') { } if ($delta == 'contactinfo') { $form['unl_blocks_contactinfo'] = array( - '#type' => 'textarea', + '#type' => 'text_format', '#title' => t('Block contents'), '#size' => 60, '#description' => t('For more info see http://www1.unl.edu/wdn/wiki/Contact_Info'), @@ -90,7 +90,7 @@ function unl_blocks_block_configure($delta = '') { } if ($delta == 'optionalfooter') { $form['unl_blocks_optionalfooter'] = array( - '#type' => 'textarea', + '#type' => 'text_format', '#title' => t('Block contents'), '#size' => 60, '#description' => t('Not currently used'), @@ -99,7 +99,7 @@ function unl_blocks_block_configure($delta = '') { } if ($delta == 'footercontent') { $form['unl_blocks_footercontent'] = array( - '#type' => 'textarea', + '#type' => 'text_format', '#title' => t('Block contents'), '#size' => 60, '#description' => t('Leave this blank to get the standard/default UNL copyright line. For more info see http://www1.unl.edu/wdn/wiki/Base_Footer'), -- GitLab