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

Diff of /contributions/modules/flag_friend/flag_friend.module

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

revision 1.3.4.38, Tue Sep 15 17:48:44 2009 UTC revision 1.3.4.39, Wed Nov 4 17:50:09 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: flag_friend.module,v 1.3.4.37 2009/09/15 17:34:11 sirkitree Exp $  // $Id: flag_friend.module,v 1.3.4.38 2009/09/15 17:48:44 sirkitree Exp $
3    
4  /**  /**
5   * @file flag.module   * @file flag.module
# Line 338  function flag_friend_form_flag_confirm_a Line 338  function flag_friend_form_flag_confirm_a
338   */   */
339  function flag_friend_message_form($action, $flag, $content_id, $token) {  function flag_friend_message_form($action, $flag, $content_id, $token) {
340    $form['current'] = array('#type' => 'value', '#value' => func_get_args());    $form['current'] = array('#type' => 'value', '#value' => func_get_args());
341      $name = db_result(db_query("SELECT name FROM {users} WHERE uid = %d", $content_id));
342    $form['flag_friend_message'] = array(    $form['flag_friend_message'] = array(
343      '#type' => 'textarea',      '#type' => 'textarea',
344      '#title' => t('Friend message (optional)'),      '#title' => t('Send @name a message (optional)', array('@name' => $name)),
345      '#description' => t('Enter a message to send to this user.'),      '#description' => t('Enter a message to send to this user.'),
346      '#cols' => 60,      '#cols' => 60,
347      '#rows' => 5,      '#rows' => 5,

Legend:
Removed from v.1.3.4.38  
changed lines
  Added in v.1.3.4.39

  ViewVC Help
Powered by ViewVC 1.1.2