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

Diff of /contributions/modules/image/image.module

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

revision 1.293, Mon Jan 19 10:43:30 2009 UTC revision 1.294, Sun Feb 1 01:35:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image.module,v 1.292 2009/01/18 05:19:10 sun Exp $  // $Id: image.module,v 1.293 2009/01/19 10:43:30 sun Exp $
3    
4  define('IMAGE_ORIGINAL', '_original');  define('IMAGE_ORIGINAL', '_original');
5  define('IMAGE_PREVIEW', 'preview');  define('IMAGE_PREVIEW', 'preview');
# Line 419  function image_validate($node) { Line 419  function image_validate($node) {
419    }    }
420  }  }
421    
 function image_submit($node) {  
   $nid = ($node->nid) ? $node->nid : 'new_node';  
   if (isset($_SESSION['image_new_files'][$nid])) {  
     $node->new_file = TRUE;  
     $node->rebuild_images = FALSE;  
     $node->images = $_SESSION['image_new_files'][$nid];  
     unset($_SESSION['image_new_files'][$nid]);  
   }  
 }  
   
422  /**  /**
423   * Implementation of hook_view   * Implementation of hook_view
424   */   */

Legend:
Removed from v.1.293  
changed lines
  Added in v.1.294

  ViewVC Help
Powered by ViewVC 1.1.2