示例#1
0
      </td>
    </tr>
    <?php 
}
?>

    <tr>
      <th><?php 
printf(__('Automatic Geolocation', ud_get_wp_property()->domain), WPP_F::property_label());
?>
</th>
      <td>
        <ul>
          <li><?php 
_e('Attribute to use for physical addresses:', ud_get_wp_property('domain'));
echo WPP_F::draw_attribute_dropdown("name=wpp_settings[configuration][address_attribute]&selected={$wp_properties['configuration']['address_attribute']}");
?>
</li>
          <li><?php 
_e('Localize addresses in:', ud_get_wp_property('domain'));
?>
 <?php 
echo WPP_F::draw_localization_dropdown("name=wpp_settings[configuration][google_maps_localization]&selected={$wp_properties['configuration']['google_maps_localization']}");
?>
</li>
          <li class="google-maps-api-section" data-feature-since="2.0.3">
            <?php 
printf(__('Google Maps API (optional):', ud_get_wp_property('domain')));
?>
 <?php 
echo WPP_F::input("name=wpp_settings[configuration][google_maps_api]", ud_get_wp_property('configuration.google_maps_api'));