/[drupal]/contributions/modules/media_mover/contrib/mm_s3/mm_s3.module
ViewVC logotype

Diff of /contributions/modules/media_mover/contrib/mm_s3/mm_s3.module

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

revision 1.1.2.2.2.22, Sun Nov 1 15:38:38 2009 UTC revision 1.1.2.2.2.23, Sun Nov 1 15:44:29 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id: mm_s3.module,v 1.1.2.2.2.21 2009/10/30 15:23:00 arthuregg Exp $  // $Id: mm_s3.module,v 1.1.2.2.2.22 2009/11/01 15:38:38 arthuregg Exp $
4    
5  define('ACL_PRIVATE', 'private');  define('ACL_PRIVATE', 'private');
6  define('ACL_PUBLIC_READ', 'public-read');  define('ACL_PUBLIC_READ', 'public-read');
# Line 237  function mm_s3_config($action_id, $confi Line 237  function mm_s3_config($action_id, $confi
237      '#description' => t('Set the permissions on your uploaded files.'),      '#description' => t('Set the permissions on your uploaded files.'),
238    );    );
239    
240      $form['mm_s3']['mm_s3_drupal_file_path'] = array(
241        '#type' => 'checkbox',
242        '#title' => t('Use full Drupal filepath on S3'),
243        '#description' => t('Selecting this will store your files on S3 with the Drupal directory path as
244          part of the file name- for example <em>sites/default/files/myfile.jpg</em> This is useful if you
245          are concerned about duplicate filenames or using URL rewriting to serve files from Amazon'),
246        '#default_value' => $configuration['mm_s3_drupal_file_path'] ? $configuration['mm_s3_drupal_file_path'] : false,
247      );
248    
249    $form['mm_s3']['mm_s3_delete_source'] = array(    $form['mm_s3']['mm_s3_delete_source'] = array(
250      '#type' => 'checkbox',      '#type' => 'checkbox',
251      '#title' => t('Use full Drupal filepath on S3'),      '#title' => t('Use full Drupal filepath on S3'),

Legend:
Removed from v.1.1.2.2.2.22  
changed lines
  Added in v.1.1.2.2.2.23

  ViewVC Help
Powered by ViewVC 1.1.2