south_georgia_south_sandwich_islands_239_1.cif 683 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. function south_georgia_south_sandwich_islands_install() {
  3. // Make the entry in the country table.
  4. // VALUES = Country ID, Country Name, 2-digit Code, 3-digit Code, File Version
  5. db_insert('uc_countries')
  6. ->fields(array(
  7. 'country_id' => 239,
  8. 'country_name' => 'South Georgia and the South Sandwich Islands',
  9. 'country_iso_code_2' => 'GS',
  10. 'country_iso_code_3' => 'SGS',
  11. 'version' => 1,
  12. ))
  13. ->execute();
  14. // No zones
  15. // Set address format
  16. uc_set_address_format(
  17. 239,
  18. "!company\r\n".
  19. "!first_name !last_name\r\n".
  20. "!street1\r\n".
  21. "!street2\r\n".
  22. "!city !postal_code\r\n".
  23. "!country_name_if"
  24. );
  25. }