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

Diff of /contributions/modules/vcard/vcard.module

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

revision 1.1 by walkah, Tue Jul 18 13:04:13 2006 UTC revision 1.1.2.1 by sanduhrs, Sat Jan 26 20:49:40 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: vcard.module,v 1.1 2006/07/18 13:04:13 walkah Exp $
3    
4  function vcard_help($section) {  function vcard_help($section) {
5    switch ($section) {    switch ($section) {
# Line 153  function theme_vcard($account) { Line 153  function theme_vcard($account) {
153    if ($street || $city || $province || $postal || $country ) {    if ($street || $city || $province || $postal || $country ) {
154      $address = '<div class="adr">';      $address = '<div class="adr">';
155      $address.= ($street) ? '<div class="street-address">'.$street."</div>\n" : '';      $address.= ($street) ? '<div class="street-address">'.$street."</div>\n" : '';
156      $address.= ($city) ? '<span class="locality">'. $city ."</div>\n" : '';      $address.= ($city) ? '<span class="locality">'. $city ."</span>\n" : '';
157      $address.= ($province) ? '<span class="region">'. $province ."</span>\n" : '';      $address.= ($province) ? '<span class="region">'. $province ."</span>\n" : '';
158      $address.= ($postal) ? '<span class="postal-code">'. $postal ."</span>\n" : '';      $address.= ($postal) ? '<span class="postal-code">'. $postal ."</span>\n" : '';
159      $address.= ($country) ? '<span class="country-name">'. $country ."</span>\n" : '';      $address.= ($country) ? '<span class="country-name">'. $country ."</span>\n" : '';

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

  ViewVC Help
Powered by ViewVC 1.1.3