Projet

Général

Profil

Révision f066bdb5

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/addressfield/addressfield.tokens.inc
49 49
  );
50 50
  $info['premise'] = array(
51 51
    'name' => t('Premise (i.e. Street address)'),
52
    'description' => t('The thoroughfare value.'),
52
    'description' => t('The premise value.'),
53
  );
54
  $info['sub_premise'] = array(
55
    'name' => t('Sub Premise (i.e. Suite, Apartment, Floor, Unknown.)'),
56
    'description' => t('The sub premise value.'),
53 57
  );
54 58
  $info['organisation'] = array(
55 59
    'name' => t('Organisation'),
......
163 167
          $replacements[$original] = $sanitize ? check_plain($address['premise']) : $address['premise'];
164 168
          break;
165 169

  
170
        case 'sub_premise':
171
          $replacements[$original] = $sanitize ? check_plain($address['sub_premise']) : $address['sub_premise'];
172
          break;
173

  
166 174
        case 'organisation':
167 175
          $replacements[$original] = $sanitize ? check_plain($address['organisation_name']) : $address['organisation_name'];
168 176
          break;

Formats disponibles : Unified diff