'checkbox', '#title' => t('Coder button'), '#default_value' => $profile['coder'], '#description' => t('Add the code viewing button to the toolbar. Note: This does not work with the Plaintext button. Choose one of them only.'), ); } function yui_editor_coder_render(&$profile) { if ($profile['coder'] == 1) { drupal_add_js(drupal_get_path('module', 'yui_editor') .'/plugins/coder.js', 'module', 'footer'); drupal_add_css(drupal_get_path('module', 'yui_editor') .'/plugins/coder.css'); } }