Ignore:
Timestamp:
06/18/12 09:17:26 (7 years ago)
Author:
gogo
Message:

Update to latest mootools-filemanager
Rename some MootoolsFileManager? config options to be more consistent, backcompat code has been added so you can still use the old names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/MootoolsFileManager/backend.php

    r1321 r1324  
    116116      'assetBasePath' => $IMConfig['base_url'] .'/mootools-filemanager/Assets', 
    117117       
    118       'upload'        => $IMConfig['allow_images_upload'], 
    119       'destroy'       => $IMConfig['allow_images_delete'],       
    120       'create'        => $IMConfig['allow_images_create_dir'], 
    121       'move'          => $IMConfig['allow_images_move'], 
    122       'download'      => $IMConfig['allow_images_download'], 
     118      'upload'        => $IMConfig['images_allow_upload'], 
     119      'destroy'       => $IMConfig['images_allow_delete'],       
     120      'create'        => $IMConfig['images_allow_create_dir'], 
     121      'move'          => $IMConfig['images_allow_move'], 
     122      'download'      => $IMConfig['images_allow_download'], 
    123123       
    124124       
    125       'maxUploadSize' => size_to_bytes($IMConfig['max_images_upload_size']),       
    126       'suggestedMaxImageDimension' => $IMConfig['suggested_images_image_dimension'], 
     125      'maxUploadSize' => size_to_bytes($IMConfig['images_max_upload_size']),       
     126      'suggestedMaxImageDimension' => $IMConfig['images_suggested_image_dimension'], 
    127127      'thumbnailsMustGoThroughBackend' => FALSE,           
    128128      'filter'        => 'image/',           
     
    152152      'assetBasePath' => $IMConfig['base_url'] .'/mootools-filemanager/Assets', 
    153153       
    154       'upload'        => $IMConfig['allow_files_upload'], 
    155       'destroy'       => $IMConfig['allow_files_delete'], 
    156       'create'        => $IMConfig['allow_files_create_dir'], 
    157       'move'          => $IMConfig['allow_files_move'], 
    158       'download'      => $IMConfig['allow_files_download'], 
     154      'upload'        => $IMConfig['files_allow_upload'], 
     155      'destroy'       => $IMConfig['files_allow_delete'], 
     156      'create'        => $IMConfig['files_allow_create_dir'], 
     157      'move'          => $IMConfig['files_allow_move'], 
     158      'download'      => $IMConfig['files_allow_download'], 
    159159       
    160160       
    161       'maxUploadSize' => size_to_bytes($IMConfig['max_files_upload_size']),       
    162       'suggestedMaxImageDimension' => $IMConfig['suggested_files_image_dimension'], 
     161      'maxUploadSize' => size_to_bytes($IMConfig['files_max_upload_size']),       
     162      'suggestedMaxImageDimension' => $IMConfig['files_suggested_image_dimension'], 
    163163      'thumbnailsMustGoThroughBackend' => FALSE,       
    164164     // 'filter'        => $IMConfig['files_filter'], 
Note: See TracChangeset for help on using the changeset viewer.