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

Diff of /contributions/modules/comment_info/comment_info.module

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

revision 1.1.2.1.2.4, Tue Mar 20 22:07:39 2007 UTC revision 1.1.2.1.2.5, Tue Mar 20 23:33:38 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: comment_info.module,v 1.1.2.1.2.3 2007/03/12 23:35:27 mfer Exp $  // $Id: comment_info.module,v 1.1.2.1.2.4 2007/03/20 22:07:39 mfer Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 73  function comment_info_form_alter($form_i Line 73  function comment_info_form_alter($form_i
73    if (variable_get('comment_info_setting', 0) == 1 || variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) {    if (variable_get('comment_info_setting', 0) == 1 || variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) {
74      drupal_add_js(drupal_get_path('module', 'comment_info').'/comment_info.js');      drupal_add_js(drupal_get_path('module', 'comment_info').'/comment_info.js');
75      $form['comment_info']['optin'] = array(      $form['comment_info']['optin'] = array(
76        '#value' => "<span id=\"comment_info\"></span>",       '#type' => 'checkbox',
77          '#title' => t('Save my Comment Information for next time.'),
78          '#default_value' => $_SESSION['comment_info']['optin'] ,
79          '#attributes' => array('style' => 'display:none;'),
80      );      );
81    }    }
82    

Legend:
Removed from v.1.1.2.1.2.4  
changed lines
  Added in v.1.1.2.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2