/[drupal]/contributions/modules/geo/theme/geo.theme.inc
ViewVC logotype

Diff of /contributions/modules/geo/theme/geo.theme.inc

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

revision 1.1 by vauxia, Tue Nov 17 22:09:57 2009 UTC revision 1.2 by vauxia, Mon Nov 23 23:23:31 2009 UTC
# Line 1  Line 1 
1  <?php // $Id$  <?php // $Id: geo.theme.inc,v 1.1 2009/11/17 22:09:57 vauxia Exp $
2    
3  function geo_theme_theme() {  function geo_theme_theme() {
4    $path = drupal_get_path('module', 'geo') .'/theme';    $path = drupal_get_path('module', 'geo') .'/theme';
# Line 35  function geo_theme_theme() { Line 35  function geo_theme_theme() {
35      ),      ),
36      'geo_fields' => array(      'geo_fields' => array(
37        'arguments' => array('element' => NULL),        'arguments' => array('element' => NULL),
38          'file' => 'geo.theme.inc',
39          'path' => $path,
40      ),      ),
41      'geo_latlon' => array(      'geo_latlon' => array(
42        'arguments' => array('element' => NULL),        'arguments' => array('element' => NULL),
43          'file' => 'geo.theme.inc',
44          'path' => $path,
45      ),      ),
46    );    );
47  }  }
# Line 72  function theme_geo_formatter_georss($ele Line 76  function theme_geo_formatter_georss($ele
76      return '<'. $tag .'>' . $value .'</'. $tag .'>';      return '<'. $tag .'>' . $value .'</'. $tag .'>';
77    }    }
78  }  }
79    
80    function theme_geo_fields($element) {
81      return isset($element['#children']) ? $element['#children'] : '';
82    }
83    
84    function theme_geo_latlon($element) {
85      $output = '<div class="container-inline">'. $element['#children'] .'</div>';
86      return theme('form_element', $element, $output);
87    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.3