diff --git a/public_html/sites/omhm.demo.savoirfairelinux.com/modules/links_block/links_block.module b/public_html/sites/omhm.demo.savoirfairelinux.com/modules/links_block/links_block.module
index d7d01e0..165357d 100644
--- a/public_html/sites/omhm.demo.savoirfairelinux.com/modules/links_block/links_block.module
+++ b/public_html/sites/omhm.demo.savoirfairelinux.com/modules/links_block/links_block.module
@@ -29,7 +29,9 @@ function links_block_block($op = 'list', $delta = 0) {
 					$block['subject'] = t('Links');
 					$outputs = array();
 
-					if ($node->links) {
+					$dataToDisplay = variable_get("link_block_show", array());
+	
+					if ($node->links && in_array ('links', $dataToDisplay)) {
 						$output = '';
 						foreach ($node->links as $key => $link) {
 							$output .= theme('links_block_item', 'link', $key, $link );
@@ -37,7 +39,7 @@ function links_block_block($op = 'list', $delta = 0) {
 						$outputs['links'] = $output;
 					}
 
-					if ($node->files) {
+					if ($node->files && in_array ('files', $dataToDisplay) ) {
 						$output = '';
 						foreach ($node->files as $file) {
 							$output .= theme( 'links_block_item', 'file', 'image-jpeg', $file );
@@ -62,10 +64,27 @@ function links_block_block($op = 'list', $delta = 0) {
 					'#description'   => t('Select to which content type the block will be displayed.')
 					);
 
+			$options = array (
+					'links' =>	t('Display the links associated to the node'),
+					'files'	=>	t('Display the files attached to the node')
+					);
+
+			$form['link_block_show'] = array(
+					'#type'				=> 'checkboxes',
+					'#title'			=> t('Display files attachments'),
+					'#options'			=> $options,
+					'#default_value'	=> variable_get('link_block_show', array()),
+					'#description'		=> t('Whether or not to display files attached to the node.')
+					);
+
 			return $form;
 		case 'save':
 			$link_block_types = array_keys($_POST['link_block_types']);
 			variable_set('link_block_types', $link_block_types);
+
+			if (isset ($_POST['link_block_show']))
+				$link_block_show = $_POST['link_block_show'];
+			variable_set('link_block_show', $link_block_show);
 			break;
 	}
 }
