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

Diff of /contributions/modules/simplenews/simplenews.module

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

revision 1.76.2.135, Wed Sep 2 22:24:53 2009 UTC revision 1.76.2.136, Wed Sep 9 13:32:06 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: simplenews.module,v 1.76.2.134 2009/08/30 12:50:13 sutharsan Exp $  // $Id: simplenews.module,v 1.76.2.135 2009/09/02 22:24:53 sutharsan Exp $
3    
4  /**  /**
5   * @defgroup simplenews   * @defgroup simplenews
# Line 2131  function simplenews_mail_tokens($subscri Line 2131  function simplenews_mail_tokens($subscri
2131      $vars = array();      $vars = array();
2132      $vars['!site'] = variable_get('site_name', 'Drupal');      $vars['!site'] = variable_get('site_name', 'Drupal');
2133      $vars['!mailto'] = $subscription->mail;      $vars['!mailto'] = $subscription->mail;
2134        $vars['!date'] = format_date(time(), 'medium', '', NULL, $language->language);
2135        $vars['!login_uri'] = url('user', array('absolute' => TRUE, 'language' => $language));
2136    }    }
2137    // Replace existing uri and uri_brief to cope with multilingual sites.    // Replace existing uri and uri_brief to cope with multilingual sites.
2138    $vars['!uri'] = url('', array('absolute' => TRUE, 'language' => $language));    $vars['!uri'] = url('', array('absolute' => TRUE, 'language' => $language));

Legend:
Removed from v.1.76.2.135  
changed lines
  Added in v.1.76.2.136

  ViewVC Help
Powered by ViewVC 1.1.2