Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikefarrant

    (@mikefarrant)

    That works great. Thanks very much

    Thread Starter mikefarrant

    (@mikefarrant)

    I had a look at the code and found I could do it fairly simply – those more familiar with coding could probably change the variable names – I’ve not bothered – it works a treat though…

    I made the following changes in wp-google-maps-pro.php

    Change:

    <td>".__("Default 'To' address","wp-google-maps").":</td>

    To:

    <td>".__("Default 'From' address","wp-google-maps").":</td>

    Change:

    <tr class='wpgmaps_from_row'><td class='wpgmaps_from_td1'><label for=\"wpgmza_input_from_".$wpgmza_current_map_id."\">".__("From","wp-google-maps")."</label></td><td width='90%' class='wpgmaps_from_td2'><input type=\"text\" value=\"\" id=\"wpgmza_input_from_".$wpgmza_current_map_id."\" style='width:80%' /> $use_location_from</td></tr>

    To:

    <tr class='wpgmaps_from_row'><td class='wpgmaps_from_td1'><label for=\"wpgmza_input_from_".$wpgmza_current_map_id."\">".__("From","wp-google-maps")."</label></td><td width='90%' class='wpgmaps_from_td2'><input type=\"text\" value=\"$default_to\" id=\"wpgmza_input_from_".$wpgmza_current_map_id."\" style='width:80%' /> $use_location_from</td></tr>

    Change:

    <tr class='wpgmaps_to_row'><td class='wpgmaps_to_td1'><label for=\"wpgmza_input_to_".$wpgmza_current_map_id."\">".__("To","wp-google-maps")."</td><td width='90%' class='wpgmaps_to_td2'><input type=\"text\" value=\"$default_to\"id=\"wpgmza_input_to_".$wpgmza_current_map_id."\" style='width:80%' /> $use_location_to</td></tr>

    To:

    <tr class='wpgmaps_to_row'><td class='wpgmaps_to_td1'><label for=\"wpgmza_input_to_".$wpgmza_current_map_id."\">".__("To","wp-google-maps")."</td><td width='90%' class='wpgmaps_to_td2'><input type=\"text\" value=\"\" id=\"wpgmza_input_to_".$wpgmza_current_map_id."\" style='width:80%' /> $use_location_to</td></tr>

Viewing 2 replies - 1 through 2 (of 2 total)