/[drupal]/contributions/modules/addresses_extras/addresses_internet/addresses_internet.module
ViewVC logotype

Diff of /contributions/modules/addresses_extras/addresses_internet/addresses_internet.module

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

revision 1.3, Fri Dec 5 02:26:17 2008 UTC revision 1.4, Thu Jan 1 06:20:53 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: addresses_internet.module,v 1.2 2008/11/20 06:54:45 alexiswilke Exp $  // $Id: addresses_internet.module,v 1.3 2008/12/05 02:26:17 alexiswilke Exp $
3  /**  /**
4   * @author Alexis Wilke   * @author Alexis Wilke
5   * @file addresses_internet.module   * @file addresses_internet.module
# Line 24  function addresses_internet_addressesfie Line 24  function addresses_internet_addressesfie
24            'website'   => t('Website.'),            'website'   => t('Website.'),
25          ),          ),
26          'token'       => 'addresses_general',          'token'       => 'addresses_general',
         'weight'      => -19,  
27        ),        ),
28        'contact_email' => array(        'contact_email' => array(
29          'type'        => 'text',          'type'        => 'text',
# Line 35  function addresses_internet_addressesfie Line 34  function addresses_internet_addressesfie
34            'contact_email'    => t('Contact Email.'),            'contact_email'    => t('Contact Email.'),
35          ),          ),
36          'token'       => 'addresses_general',          'token'       => 'addresses_general',
         'weight'      => -18,  
37        ),        ),
38        'aim' => array(        'aim' => array(
39          'type'        => 'text',          'type'        => 'text',
# Line 46  function addresses_internet_addressesfie Line 44  function addresses_internet_addressesfie
44            'aim'          => t('AIM.'),            'aim'          => t('AIM.'),
45          ),          ),
46          'token'       => 'addresses_general',          'token'       => 'addresses_general',
         'weight'      => -17,  
47        ),        ),
48        'yahoo_im' => array(        'yahoo_im' => array(
49          'type'        => 'text',          'type'        => 'text',
# Line 57  function addresses_internet_addressesfie Line 54  function addresses_internet_addressesfie
54            'yahoo_im'     => t('Yahoo! IM'),            'yahoo_im'     => t('Yahoo! IM'),
55          ),          ),
56          'token'       => 'addresses_adr',          'token'       => 'addresses_adr',
         'weight'      => -20,  
57        ),        ),
58        'icq_uin' => array(        'icq_uin' => array(
59          'type'        => 'text',          'type'        => 'text',
# Line 68  function addresses_internet_addressesfie Line 64  function addresses_internet_addressesfie
64            'icq_uin'     => t('ICQ UIN'),            'icq_uin'     => t('ICQ UIN'),
65          ),          ),
66          'token'       => 'addresses_adr',          'token'       => 'addresses_adr',
         'weight'      => -20,  
67        ),        ),
68        'jabber' => array(        'jabber' => array(
69          'type'        => 'text',          'type'        => 'text',
# Line 79  function addresses_internet_addressesfie Line 74  function addresses_internet_addressesfie
74            'jabber'     => t('Jabber/Google Talk'),            'jabber'     => t('Jabber/Google Talk'),
75          ),          ),
76          'token'       => 'addresses_adr',          'token'       => 'addresses_adr',
         'weight'      => -20,  
77        ),        ),
78      );      );
79    }    }
# Line 101  function addresses_internet_addressesfie Line 95  function addresses_internet_addressesfie
95          '#maxlength'      => 255,          '#maxlength'      => 255,
96          '#attributes'     => NULL,          '#attributes'     => NULL,
97          '#required'       => ($fields['website'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['website'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -19  
98        );        );
99      }      }
100    
# Line 122  function addresses_internet_addressesfie Line 115  function addresses_internet_addressesfie
115          '#maxlength'      => 255,          '#maxlength'      => 255,
116          '#attributes'     => NULL,          '#attributes'     => NULL,
117          '#required'       => ($fields['contact_email'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['contact_email'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -18  
118        );        );
119      }      }
120    
# Line 142  function addresses_internet_addressesfie Line 134  function addresses_internet_addressesfie
134          '#maxlength'      => 255,          '#maxlength'      => 255,
135          '#attributes'     => NULL,          '#attributes'     => NULL,
136          '#required'       => ($fields['aim'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['aim'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -17  
137        );        );
138      }      }
139    
# Line 161  function addresses_internet_addressesfie Line 152  function addresses_internet_addressesfie
152          '#size'           => 50,          '#size'           => 50,
153          '#attributes'     => NULL,          '#attributes'     => NULL,
154          '#required'       => ($fields['yahoo_im'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['yahoo_im'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -20  
155        );        );
156      }      }
157    
# Line 180  function addresses_internet_addressesfie Line 170  function addresses_internet_addressesfie
170          '#size'           => 50,          '#size'           => 50,
171          '#attributes'     => NULL,          '#attributes'     => NULL,
172          '#required'       => ($fields['icq_uin'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['icq_uin'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -20  
173        );        );
174      }      }
175    
# Line 199  function addresses_internet_addressesfie Line 188  function addresses_internet_addressesfie
188          '#size'           => 50,          '#size'           => 50,
189          '#attributes'     => NULL,          '#attributes'     => NULL,
190          '#required'       => ($fields['jabber'] == ADDRESSES_FIELD_REQUIRED),          '#required'       => ($fields['jabber'] == ADDRESSES_FIELD_REQUIRED),
         '#weight'         => -20  
191        );        );
192      }      }
193    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2