You are here

function smart_ip_theme in Smart IP 6

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. 7.2 smart_ip.module \smart_ip_theme()
  6. 7 smart_ip.module \smart_ip_theme()

Implements hook_theme().

File

./smart_ip.module, line 241
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(
      'variables' => array(
        'latitude' => NULL,
      ),
    ),
    'smart_ip_longitude_dms' => array(
      'variables' => array(
        'longitude' => NULL,
      ),
    ),
  );
}