/[drupal]/contributions/modules/ubercart/uc_store/countries/pakistan_586_1.cif
ViewVC logotype

Diff of /contributions/modules/ubercart/uc_store/countries/pakistan_586_1.cif

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

revision 1.1 by islandusurper, Thu Nov 19 14:50:58 2009 UTC revision 1.1.2.1 by islandusurper, Thu Nov 19 14:50:58 2009 UTC
# Line 0  Line 1 
1    <?php
2    // $Id: pakistan_586_1.cif,v 1.2.2.4 2009/10/22 21:33:50 islandusurper Exp $
3    
4    function pakistan_install() {
5    
6      db_query("INSERT INTO {uc_countries} VALUES (586, 'Pakistan', 'PK', 'PAK', 1)");
7    
8      // Make the entries in the zones table.
9      db_query("INSERT INTO {uc_zones} (zone_country_id, zone_code, zone_name) VALUES "
10              ."(586, 'PB', 'Punjab'),"
11              ."(586, 'SN', 'Sindh'),"
12              ."(586, 'BL', 'Balochistan'),"
13              ."(586, 'NW', 'N.W.F.P')");
14    
15      uc_set_address_format(586,
16        "!company\r\n!first_name !last_name\r\n!street1\r\n!street2"
17       ."\r\n!city, !zone_code\r\n!country_name_if");
18    }
19    
20    function pakistan_update($version) {
21    }
22    
23    function pakistan_uninstall() {
24    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.3