/[drupal]/contributions/modules/media_mover/media_mover_ftp/media_mover_ftp.module
ViewVC logotype

Diff of /contributions/modules/media_mover/media_mover_ftp/media_mover_ftp.module

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

revision 1.1.2.7.2.12, Wed Apr 1 01:39:37 2009 UTC revision 1.1.2.7.2.13, Wed Apr 1 02:05:48 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id: media_mover_ftp.module,v 1.1.2.7.2.11 2009/03/24 21:21:51 arthuregg Exp $;  // $Id: media_mover_ftp.module,v 1.1.2.7.2.12 2009/04/01 01:39:37 arthuregg Exp $;
4    
5  /**  /**
6   * @FILE This module allows for harvesting from FTP servers with media mover   * @FILE This module allows for harvesting from FTP servers with media mover
# Line 37  function media_mover_ftp_menu() { Line 37  function media_mover_ftp_menu() {
37    $items['ftp_token'] = array(    $items['ftp_token'] = array(
38      'title' => 'Get an FTP token',      'title' => 'Get an FTP token',
39      'page callback' => 'drupal_get_form',      'page callback' => 'drupal_get_form',
40      'callback arguments' => array('media_mover_ftp_token_ftp_form'),      'page arguments' => array('media_mover_ftp_token_ftp_form'),
41      'access arguments' => array('upload files to ftp'),      'access arguments' => array('upload files to ftp'),
42      'type' => MENU_NORMAL_ITEM,      'type' => MENU_NORMAL_ITEM,
43    );    );
# Line 390  function media_mover_ftp_token_ftp_form( Line 390  function media_mover_ftp_token_ftp_form(
390   * @param string $form_id is the form id   * @param string $form_id is the form id
391   * @param array $form_values is a form array   * @param array $form_values is a form array
392   */   */
393  function media_mover_ftp_token_form_submit($form, &$form_state) {  function media_mover_ftp_token_ftp_form_submit($form, &$form_state) {
394    global $user;    global $user;
395    
396    // create a token    // create a token

Legend:
Removed from v.1.1.2.7.2.12  
changed lines
  Added in v.1.1.2.7.2.13

  ViewVC Help
Powered by ViewVC 1.1.2