/[drupal]/contributions/modules/nodereferrer_create/add_to_referrer.php
ViewVC logotype

Diff of /contributions/modules/nodereferrer_create/add_to_referrer.php

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

revision 1.1.2.4, Mon Oct 13 11:34:19 2008 UTC revision 1.1.2.5, Mon Oct 20 12:01:39 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: add_to_referrer.php,v 1.1.2.3 2008/10/13 10:49:05 anselmheaton Exp $  // $Id: add_to_referrer.php,v 1.1.2.4 2008/10/13 11:34:19 anselmheaton Exp $
3    
4  /**  /**
5   * Implementation of hook_menu() for the add to referrer page   * Implementation of hook_menu() for the add to referrer page
# Line 48  function _nodereferrer_create_add_form($ Line 48  function _nodereferrer_create_add_form($
48      '#title' => t('Select @content_type you want to add @title to',      '#title' => t('Select @content_type you want to add @title to',
49        array('@content_type' => $type['name'], '@title' => $node->title)),        array('@content_type' => $type['name'], '@title' => $node->title)),
50      '#autocomplete_path' => 'nodereferrer_create/autocomplete/'.$referrer_type,      '#autocomplete_path' => 'nodereferrer_create/autocomplete/'.$referrer_type,
51      '#default_value' => ''      '#default_value' => '',
52        '#maxlength' => 1024, // A Drupal title is maximum 255 chars ; but the autocomplete can be the result of a view.
53    );    );
54    
55    $form['submit'] = array(    $form['submit'] = array(

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2