| 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 |
| 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', |
| 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', |
| 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', |
| 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', |
| 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', |
| 74 |
'jabber' => t('Jabber/Google Talk'), |
'jabber' => t('Jabber/Google Talk'), |
| 75 |
), |
), |
| 76 |
'token' => 'addresses_adr', |
'token' => 'addresses_adr', |
|
'weight' => -20, |
|
| 77 |
), |
), |
| 78 |
); |
); |
| 79 |
} |
} |
| 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 |
|
|
| 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 |
|
|
| 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 |
|
|
| 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 |
|
|
| 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 |
|
|
| 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 |
|
|