/[drupal]/contributions/modules/mappingkit/maplayer/maplayer.admin.inc
ViewVC logotype

Diff of /contributions/modules/mappingkit/maplayer/maplayer.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.2, Sun Jun 15 18:37:44 2008 UTC revision 1.1.2.3, Tue Jun 17 09:51:26 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: maplayer.admin.inc,v 1.1.2.1 2008/06/02 14:54:05 openwereld Exp $  // $Id: maplayer.admin.inc,v 1.1.2.2 2008/06/15 18:37:44 openwereld Exp $
3    
4  function maplayer_settings_form() {  function maplayer_settings_form() {
5    $form['maplayer'] = array(    $form['maplayer'] = array(
# Line 45  function maplayer_settings_form() { Line 45  function maplayer_settings_form() {
45      , '#default_value' => variable_get('maplayer_persistent_tree', 0)      , '#default_value' => variable_get('maplayer_persistent_tree', 0)
46      );      );
47    
48      $form['maplayer']['maplayer_default_srs'] = array('#type' => 'textfield'
49        , '#title' => t('Default SRS')
50        , '#default_value' => variable_get('maplayer_default_srs', '')
51        , '#description' => t('Default SRS for map layers. If not empty, a new map layer derived from a WMS will have its projection transformed to this SRS. Note that this does not mean that the WMS supports this SRS when serving images.')
52        , '#size' => 12
53        );
54    
55    // todo: add maximum extent/projection for the maplayer feeds    // todo: add maximum extent/projection for the maplayer feeds
56    
57    return system_settings_form($form);    return system_settings_form($form);

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2