function smart_ip_views_bridge_form_fields_description in Smart IP 6.2
Same name and namespace in other branches
- 6 modules/smart_ip_views_bridge/smart_ip_views_bridge.module \smart_ip_views_bridge_form_fields_description()
- 7.2 modules/smart_ip_views_bridge/smart_ip_views_bridge.module \smart_ip_views_bridge_form_fields_description()
Form field description showing Smart IP tokens
3 calls to smart_ip_views_bridge_form_fields_description()
- smart_ip_views_bridge_form_alter in modules/
smart_ip_views_bridge/ smart_ip_views_bridge.module - Implements hook_form_alter().
- smart_ip_views_bridge_openlayers_proximity_handler_filter_circle::value_form in modules/
smart_ip_views_bridge/ views/ smart_ip_views_bridge_openlayers_proximity_handler_filter_circle.inc - Provide a simple textfield for equality
- smart_ip_views_bridge_openlayers_proximity_handler_filter_square::value_form in modules/
smart_ip_views_bridge/ views/ smart_ip_views_bridge_openlayers_proximity_handler_filter_square.inc - Provide a simple textfield for equality
File
- modules/
smart_ip_views_bridge/ smart_ip_views_bridge.module, line 161 - Smart IP Views Bridge exposes Smart IP visitor's location details to Views field (coordinates, country, ISO 3166 2-character country code, region, region code (FIPS), city and zip) and filter (country, ISO 3166 2-character country code,…
Code
function smart_ip_views_bridge_form_fields_description() {
return '<p><strong>' . t('Smart IP tokens:') . '</strong><br />' . 'smart_ip][location][country<br />' . 'smart_ip][location][country_code<br />' . 'smart_ip][location][region<br />' . 'smart_ip][location][region_code<br />' . 'smart_ip][location][city<br />' . 'smart_ip][location][zip</p><p>' . t('Multiple Smart IP tokens should be separated with comma then space ", ". Example:') . '<br />
smart_ip][location][country, smart_ip][location][region, smart_ip][location][city</p>';
}