/[drupal]/contributions/modules/attachment/attachment.module
ViewVC logotype

Diff of /contributions/modules/attachment/attachment.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.18, Tue Jul 17 19:50:04 2007 UTC revision 1.18.2.1, Thu Aug 2 17:03:23 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: attachment.module,v 1.15.2.2 2006/09/28 09:53:13 robertDouglass Exp $  // $Id: attachment.module,v 1.18 2007/07/17 19:50:04 cscsteve Exp $
3    
4  define(ATTACHMENT_EXTENSION_WHITELIST, variable_get('attachment_text_rename_whitelist', 'jpg jpeg gif png tiff txt html doc xls pdf ppt pps odt mp3 ogg wav wmv mpg'));  define(ATTACHMENT_EXTENSION_WHITELIST, variable_get('attachment_text_rename_whitelist', 'jpg jpeg gif png tiff txt html doc xls pdf ppt pps odt mp3 ogg wav wmv mpg'));
5    
# Line 68  function attachment_form_alter($form_id, Line 68  function attachment_form_alter($form_id,
68    
69      // node settings form      // node settings form
70      case 'node_type_form':      case 'node_type_form':
71        $form['workflow']['attachment_settings'] = array(        $form['workflow']['attachment_node'] = array(
72          '#type'=>'radios',          '#type'=>'radios',
73          '#title'=>t('Attachments'),          '#title'=>t('Attachments'),
74          '#default_value'=>variable_get('attachment_node_'. $oldtype, 0),          '#default_value'=>variable_get('attachment_node_'. $oldtype, 0),

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.18.2.1

  ViewVC Help
Powered by ViewVC 1.1.2