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

Diff of /contributions/modules/longer_titles/longer_titles.module

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

revision 1.1, Wed Oct 17 11:43:33 2007 UTC revision 1.2, Fri Dec 14 13:49:50 2007 UTC
# Line 1  Line 1 
 <?php  
 // $Id: longer_titles.module,v 1 2007/10/12 15:45:05 yngens Exp $  
 function longer_titles_form_alter($form_id, &$form){  
 // Override the title field in all forms  
       $form['title']['#maxlength'] = 255;  
 }  
 ?>  
1    <?php
2    // $Id: longer_titles.module,v 1.1 2007/10/17 11:43:33 snegny Exp $
3    function longer_titles_form_alter($form_id, &$form){
4    // Override the title field in all forms
5      if (isset($form['title'])) {
6        $form['title']['#maxlength'] = 255;
7      }
8    }

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

  ViewVC Help
Powered by ViewVC 1.1.2