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

Diff of /contributions/modules/image_attach_default/image_attach_default.module

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

revision 1.1, Thu Oct 30 07:18:29 2008 UTC revision 1.1.4.1, Fri Nov 7 19:36:31 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: image_attach_default.module,v 1.1 2008/10/30 07:18:29 cgardner Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 10  Line 10 
10   */   */
11    
12  /**  /**
13   * Implementation of hook_form_alter()   * Implementation of hook_form_alter().
14   *   *
15   * @param string ID of the form being altered   * @param string ID of the form being altered
16   * @param array Actual Form being altered   * @param array Actual Form being altered
17   * @return void   * @return void
18   * @author Craig Gardner   * @author Craig Gardner
19   **/   **/
20  function image_attach_default_form_alter($form_id, &$form) {  function image_attach_default_form_alter(&$form, $form_state, $form_id) {
21    if ($form_id == 'image_attach_admin_settings') {    if ($form_id == 'image_attach_admin_settings') {
22    
23      $content_types = node_get_types();      $content_types = node_get_types();
24    
25      $form['image_attach_existing']['#weight'] = -1;      $form['image_attach_existing']['#weight'] = -1;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.4.1

  ViewVC Help
Powered by ViewVC 1.1.2