/[drupal]/contributions/modules/geo/geo.module
ViewVC logotype

Diff of /contributions/modules/geo/geo.module

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

revision 1.29 by vauxia, Tue Nov 17 19:07:21 2009 UTC revision 1.30 by vauxia, Tue Nov 17 22:09:57 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: geo.module,v 1.28 2009/11/09 17:44:40 vauxia Exp $  <?php // $Id: geo.module,v 1.29 2009/11/17 19:07:21 vauxia Exp $
2    
3  /**  /**
4   * Geo: Geospatial storage and retrieval.   * Geo: Geospatial storage and retrieval.
# Line 59  function geo($op = NULL) { Line 59  function geo($op = NULL) {
59   * Implementation of hook_theme().   * Implementation of hook_theme().
60   */   */
61  function geo_theme() {  function geo_theme() {
62    $file_path = drupal_get_path('module', 'geo') .'/includes';    module_load_include('theme.inc', 'geo', 'theme/geo');
63    return array(    return geo_theme_theme();
     'geo_formatter_default' => array(  
       'arguments' => array('element' => NULL),  
       'file' => 'geo.formatters.inc',  
       'path' => $file_path,  
       'gis input' => 'wkt',  
     ),  
     'geo_formatter_lat' => array(  
       'arguments' => array('element' => NULL),  
       'file' => 'geo.formatters.inc',  
       'path' => $file_path,  
       'gis input' => 'array',  
     ),  
     'geo_formatter_lon' => array(  
       'arguments' => array('element' => NULL),  
       'file' => 'geo.formatters.inc',  
       'path' => $file_path,  
       'gis input' => 'array',  
     ),  
     'geo_formatter_georss' => array(  
       'arguments' => array('element' => NULL),  
       'file' => 'geo.formatters.inc',  
       'path' => $file_path,  
       'gis input' => 'array',  
     ),  
     'geo_formatter_svg' => array(  
       'arguments' => array('element' => NULL),  
       'file' => 'geo.formatters.inc',  
       'path' => $file_path,  
     ),  
     'geo_fields' => array(  
       'arguments' => array('element' => NULL),  
     ),  
     'geo_latlon' => array(  
       'arguments' => array('element' => NULL),  
     ),  
   );  
64  }  }
65    
66  /**  /**

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.3