/[drupal]/contributions/modules/addresses/addresses_cck.module
ViewVC logotype

Diff of /contributions/modules/addresses/addresses_cck.module

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

revision 1.10, Thu Jul 31 10:16:10 2008 UTC revision 1.11, Fri Aug 1 04:09:08 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: addresses_cck.module,v 1.9 2008/07/31 10:13:18 brmassa Exp $  // $Id: addresses_cck.module,v 1.10 2008/07/31 10:16:10 brmassa Exp $
3  /**  /**
4   * @author Bruno Massa   * @author Bruno Massa
5   * @file addresses_cck.module   * @file addresses_cck.module
# Line 211  function addresses_cck_widget_info() { Line 211  function addresses_cck_widget_info() {
211      ),      ),
212    );    );
213  }  }
   
 /**  
  * Show the Address using the default view.  
  * @ingroup themable  
  */  
 function theme_addresses_cck_formatter_default($element) {  
   // Include the important .inc file  
   module_load_include('inc', 'addresses');  
   
   // Print the address  
   return theme('addresses', $element['#item']);  
 }  
   
 /**  
  * Show the Address using the Single Line view.  
  * @ingroup themable  
  */  
 function theme_addresses_cck_formatter_single_line($element) {  
   // Include the important .inc file  
   module_load_include('inc', 'addresses');  
   
   // Print the address using the one-line only theme  
   return theme('addresses_singleline', $element['#item']);  
 }  

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.2