You are here

function smart_ip_theme in Smart IP 7

Same name and namespace in other branches
  1. 8.4 smart_ip.module \smart_ip_theme()
  2. 8.2 smart_ip.module \smart_ip_theme()
  3. 8.3 smart_ip.module \smart_ip_theme()
  4. 6.2 smart_ip.module \smart_ip_theme()
  5. 6 smart_ip.module \smart_ip_theme()
  6. 7.2 smart_ip.module \smart_ip_theme()

Implements hook_theme().

File

./smart_ip.module, line 310
Determines country, geo location (longitude/latitude), region, city and postal code of the user, based on IP address

Code

function smart_ip_theme() {
  return array(
    'smart_ip_latitude_dms' => array(
      'render element' => 'latitude',
    ),
    'smart_ip_longitude_dms' => array(
      'render element' => 'longitude',
    ),
  );
}