function location_geocode_au_yahoo_settings in Location 7.3
Same name and namespace in other branches
- 5.3 supported/location.au.inc \location_geocode_au_yahoo_settings()
- 6.3 supported/location.au.inc \location_geocode_au_yahoo_settings()
- 7.5 supported/location.au.inc \location_geocode_au_yahoo_settings()
- 7.4 supported/location.au.inc \location_geocode_au_yahoo_settings()
Yahoo settings.
File
- supported/
location.au.inc, line 279 - Australia.
Code
function location_geocode_au_yahoo_settings() {
$form = array();
$form['location_geocode_au_yahoo_appid'] = array(
'#type' => 'textfield',
'#title' => t('Yahoo! Web Services Application ID'),
'#size' => 64,
'#maxlength' => 128,
'#default_value' => variable_get('location_geocode_au_yahoo_appid', 'YahooDemo'),
'#description' => t('Unless you are using this site to test and develop, you will need to obtain a Yahoo! Web Services Application ID from the %network_link. If you are using for development and testing purposes, you can use \'YahooDemo\' as your AppID. When getting an Application ID from Yahoo!, be sure to review the %usage_policy.', array(
'%network_link' => '<a href="http://api.search.yahoo.com/webservices/register_application">Yahoo! Developer Network</a>',
'%usage_policy' => '<a href="http://developer.yahoo.com/usagePolicy/index.html">usage policy</a>',
)),
);
return $form;
}