Skip to content
  1. May 22, 2011
  2. May 21, 2011
  3. May 16, 2011
  4. Apr 27, 2011
  5. Feb 25, 2011
  6. Sep 09, 2010
    • Roger Saner's avatar
      bug #906554 by burningdog: Fixed how the 'sell' checkboxes work on the node edit form, by · d6a011b9
      Roger Saner authored
      * Renaming theme_ec_file_node_form() to theme_ec_file_upload_form()
      * Making sure the function properly emulates theme_upload_form_current()
      * Fixing the logic in _ec_file_form_submit() to work in 2 separate file upload cases:
        1. When a file is uploaded before the form is submitted, by clicking the Upload button.
        2. When a file is uploaded on form submission.
      
      Brought the module into line with drupal coding standards, thanks to coder.module
      d6a011b9
    • Roger Saner's avatar
      Tightening up last commit. · 9e7aacd4
      Roger Saner authored
      9e7aacd4
    • Roger Saner's avatar
      bug #906554 by burningdog: Fixed how the 'sell' checkboxes work on the node edit form, by · b644b45b
      Roger Saner authored
      * Renaming theme_ec_file_node_form() to theme_ec_file_upload_form()
      * Making sure the function properly emulates theme_upload_form_current()
      * Fixing the logic in _ec_file_form_submit() to work in 2 separate file upload cases:
        1. When a file is uploaded before the form is submitted, by clicking the Upload button.
        2. When a file is uploaded on form submission.
      
      Brought the module into line with drupal coding standards, thanks to coder.module
      b644b45b
  7. Sep 07, 2010
  8. Sep 04, 2010
  9. Jan 29, 2010
    • Roger Saner's avatar
    • Roger Saner's avatar
    • Roger Saner's avatar
      Bug fix: the name of the theme function when it is called in · 080648f2
      Roger Saner authored
      ec_file_display_purchased_files_as_block() should be
      ec_file_myfiles_link_list and not theme_ec_file_myfiles_link_list.
      
      Some minor code formatting.
      080648f2
    • Roger Saner's avatar
      Bug fix: the name of the theme function when it is called in · 22db5a95
      Roger Saner authored
      ec_file_display_purchased_files_as_block() should be
      ec_file_myfiles_link_list and not theme_ec_file_myfiles_link_list.
      
      Some minor code formatting.
      22db5a95
    • Roger Saner's avatar
      Added a block which shows purchased files available to download. · 344400ec
      Roger Saner authored
          This has meant:
          - Renaming ec_file_my_overview() to ec_file_display_purchased_files_as_table(),
            which displays a user's purchased files as a table list.
          - Creating a similar function, ec_file_display_purchased_files_as_block(), which
            displays a user's purchased files in a block.
          - Adding ec_file_block() to provide a 'Purchased files' block
          - Added a new theme function, ec_file_myfiles_block()
          - ec_file_my_overview() is now ec_file_purchased_files(), which returns all files
            purchased by a user, as an array.
          - Moved a whole stack of code out of theme_ec_file_myfiles() into its own function:
            ec_file_format_file(), which takes a file array as an argument, and returns
            an array of the following elements:
            File title, file size, expiry date, link to download file
          - Added theme_ec_file_myfiles_link_list() which themes all purchased files as an
            html list of links, one per line.
      
          Minor code cleanup.
      344400ec
    • Roger Saner's avatar
      Added a block which shows purchased files available to download. · fba7dfb9
      Roger Saner authored
      This has meant:
      - Renaming ec_file_my_overview() to ec_file_display_purchased_files_as_table(),
        which displays a user's purchased files as a table list.
      - Creating a similar function, ec_file_display_purchased_files_as_block(), which
        displays a user's purchased files in a block.
      - Adding ec_file_block() to provide a 'Purchased files' block
      - Added a new theme function, ec_file_myfiles_block()
      - ec_file_my_overview() is now ec_file_purchased_files(), which returns all files
        purchased by a user, as an array.
      - Moved a whole stack of code out of theme_ec_file_myfiles() into its own function:
        ec_file_format_file($file), which takes a file array as an argument, and returns
        an array of the following elements:
        File title, file size, expiry date, link to download file
      - Added theme_ec_file_myfiles_link_list() which themes all purchased files as an
        html list of links, one per line.
      
      Minor code cleanup.
      fba7dfb9