--- forward.module.old	2006-06-18 18:03:02.000000000 +0100
+++ forward.module	2006-06-28 15:42:28.971270296 +0100
@@ -358,7 +358,7 @@
  * Generate nodeapi integration, foward signup
  */
 function forward_nodeapi(&$node, $op, $arg = 0){
-  if (variable_get('forward_form_type', 'link') == "form"){
+  if (variable_get('forward_form_type', 'link') == "form" &&  variable_get('forward_display_'. $node->type, '0') == 1){
     switch ($op) {
       case 'view':
         global $user;
@@ -598,7 +598,7 @@
  * Generate links for pages
  */
 function forward_link($type, $node=0, $main=0) {
-  if (user_access('access forward') && (variable_get('forward_form_type', 'link') == "link")){
+  if (user_access('access forward') && (variable_get('forward_form_type', 'link') == "link" && variable_get('forward_display_'. $node->type, '0'))){
     $links=array();
     if (($type == 'system')) {
     // URL, page title, func called for page content, arg, 1 = don't disp menu
@@ -779,4 +779,24 @@
     drupal_set_message(t('The installation of forward module was unsuccessful.'), 'error');
   }
 }
+
+function forward_form_alter($form_id, &$form){
+  if (isset($form['type'])) {
+    // Add the node-type settings option to activate the imagedrop palette
+    if ($form['type']['#value'] .'_node_settings' == $form_id) {
+      $form['workflow']['forward_display_'. $form['type']['#value']] = array(
+        '#type' => 'radios', '#title' => t('Imagedrop Palette'), '#default_value' => variable_get('imagedrop_'. $form['type']['#value'], FALSE),
+        '#options' => array(t('Disabled'), t('Enabled')),
+        '#description' => t('Adds a browsable list of thumbnails that can be dragged in to your WYSIWYG contents editor.'),
+      );
+      $form['workflow']['forward_display_'. $form['type']['#value']] = array(
+        '#type' => 'checkbox',
+        '#title' => t('Show forwarding link/form'),
+        '#return_value' => 1,
+        '#default_value' => variable_get('forward_display_'. $form['type']['#value'], '0'),
+        '#description' => t('Displays the form/link to allow visitors to forward the page to a friend. Further configuration is available on the %settings.', array('%settings' => l(t('settings page'), 'admin/settings/forward' ))),
+      );
+    }
+  }
+}
 ?>
\ No newline at end of file
