Make WordPress Core


Ignore:
Timestamp:
04/24/2004 11:25:53 PM (21 years ago)
Author:
saxmatt
Message:

Moved geo-settings into Misc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-misc.php

    r1127 r1156  
    4848  <form name="form1" method="post" action="options.php">
    4949    <input type="hidden" name="action" value="update" />
    50     <input type="hidden" name="action" value="update" />        <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk','fileupload_minlevel'" />
     50    <input type="hidden" name="action" value="update" />        <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk','fileupload_minlevel','use_geo_positions','default_geourl_lat','default_geourl_lon','use_default_geourl'" />
    5151<fieldset class="options">
    5252<legend>
     
    9494    </table>
    9595</fieldset>
     96<fieldset class="options">
     97<legend>
     98<input name="use_geo_positions" type="checkbox" id="use_geo_positions" value="1" <?php checked('1', get_settings('use_geo_positions')); ?> />
     99<label for="use_geo_positions"><?php _e('Use Geographic Tracking Features') ?></label></legend>
     100    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
     101      <tr>
     102        <th width="33%" valign="top" scope="row"><?php _e('Default latitude:') ?> </th>
     103        <td>
     104            <input name="default_geourl_lat" type="text" id="default_geourl_lat" value="<?php echo get_settings('default_geourl_lat'); ?>" size="50" />
     105            </td>
     106      </tr>
     107      <tr>
     108        <th valign="top" scope="row"><?php _e('Default longitude:') ?> </th>
     109        <td>         
     110            <input name="default_geourl_lon" type="text" id="default_geourl_lon" value="<?php echo get_settings('default_geourl_lon'); ?>" size="50" />
     111        </td>
     112      </tr>
     113      <tr>
     114        <th scope="row">  </th>
     115        <td><label>
     116            <input type="checkbox" name="use_default_geourl" value="1" <?php checked('1', get_settings('use_default_geourl')); ?> />
     117            <?php _e('Use default location values if none specified.') ?></label></td>
     118        </tr>
     119
     120    </table>
     121</fieldset>
    96122        <p>
    97123            <label>
Note: See TracChangeset for help on using the changeset viewer.