| @@ -190,9 +190,9 @@ | ||
| 190 | 190 | 'min' => 0, |
| 191 | 191 | 'max' => 20, |
| 192 | 192 | 'step' => 1, |
| 193 | 193 | 'helptext' => sprintf( |
| 194 | - '%1$s %2$s <br /> <code>%3$s</code>', | |
| 194 | + '%1$s %2%s <br /> <code>%3$s</code>', | |
| 195 | 195 | __('Restrict the viewer from zooming out past the maximum zoom. Can set per map in shortcode or adjust for all maps here', 'leaflet-map'), |
| 196 | 196 | $foreachmap, |
| 197 | 197 | '[leaflet-map max_zoom="10"]' |
| 198 | 198 | ) |
| @@ -208,10 +208,9 @@ | ||
| 208 | 208 | 'helptext' => __('Choose a tiling service or provide your own.', 'leaflet-map') |
| 209 | 209 | ), |
| 210 | 210 | 'mapquest_appkey' => array( |
| 211 | 211 | 'display_name'=>__('MapQuest API Key (optional)', 'leaflet-map'), |
| 212 | - 'default' => '', | |
| 213 | - 'placeholder' => __('Supply an API key if you choose MapQuest', 'leaflet-map'), | |
| 212 | + 'default' => __('Supply an API key if you choose MapQuest', 'leaflet-map'), | |
| 214 | 213 | 'type' => 'text', |
| 215 | 214 | 'noreset' => true, |
| 216 | 215 | 'helptext' => sprintf( |
| 217 | 216 | '%1$s <a href="https://developer.mapquest.com/plan_purchase/steps/business_edition/business_edition_free/register" target="_blank"> %2$s </a>, %3$s <a href="https://developer.mapquest.com/user/me/apps" target="_blank"> %4$s </a> %5$s', |
| @@ -236,10 +235,9 @@ | ||
| 236 | 235 | ) |
| 237 | 236 | ), |
| 238 | 237 | 'map_tile_url_subdomains' => array( |
| 239 | 238 | 'display_name'=>__('Map Tile URL Subdomains', 'leaflet-map'), |
| 240 | - 'default'=>'', | |
| 241 | - 'placeholder'=>'abc', | |
| 239 | + 'default'=>'abc', | |
| 242 | 240 | 'type' => 'text', |
| 243 | 241 | 'helptext' => sprintf( |
| 244 | 242 | '%1$s %2$s <br/> <code>[leaflet-map subdomains="1234"]</code>', |
| 245 | 243 | __('Some maps get tiles from multiple servers with subdomains such as a,b,c or 1,2,3 or cache1,cache2; pass a string where each char is its own subdomain, or pass comma-separated string', 'leaflet-map'), |
| @@ -350,9 +348,9 @@ | ||
| 350 | 348 | ), |
| 351 | 349 | 'nominatim_contact_email' => array( |
| 352 | 350 | 'display_name'=>__('Nominatim Contact Email (optional)', 'leaflet-map'), |
| 353 | 351 | 'default' => '', |
| 354 | - 'type' => 'email', | |
| 352 | + 'type' => 'text', | |
| 355 | 353 | 'placeholder' => sprintf( |
| 356 | 354 | __('defaults to admin email (%s)', 'leaflet-map'), |
| 357 | 355 | get_bloginfo('admin_email') |
| 358 | 356 | ), |
| @@ -362,10 +360,9 @@ | ||
| 362 | 360 | ), |
| 363 | 361 | ), |
| 364 | 362 | 'google_appkey' => array( |
| 365 | 363 | 'display_name'=>__('Google API Key (optional)', 'leaflet-map'), |
| 366 | - 'default' => '', | |
| 367 | - 'placeholder' => __('Supply a Google API Key', 'leaflet-map'), | |
| 364 | + 'default' => __('Supply a Google API Key', 'leaflet-map'), | |
| 368 | 365 | 'type' => 'text', |
| 369 | 366 | 'noreset' => true, |
| 370 | 367 | 'helptext' => sprintf( |
| 371 | 368 | '%1$s: <a href="https://cloud.google.com/maps-platform/?apis=places" target="_blank">%2$s</a>. %3$s %4$s', |