| 1 |
<?php |
<?php |
| 2 |
// $Id: stormorganization.theme.inc,v 1.2.4.2 2008/07/23 19:37:49 robertogerola Exp $ |
// $Id: stormorganization.theme.inc,v 1.2.4.3 2008/07/25 08:51:21 robertogerola Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 44 |
$node->content['stormorganization']['fullname'] = array( |
$node->content['stormorganization']['fullname'] = array( |
| 45 |
'#prefix' => '<div class="fullname">', |
'#prefix' => '<div class="fullname">', |
| 46 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 47 |
'#value' => theme('storm_view_item', 'Fullname', $node->fullname), |
'#value' => theme('storm_view_item', storm_t('Fullname', 'organization'), $node->fullname), |
| 48 |
'#weight' => $w++, |
'#weight' => $w++, |
| 49 |
); |
); |
| 50 |
|
|
| 51 |
$node->content['stormorganization']['country'] = array( |
$node->content['stormorganization']['country'] = array( |
| 52 |
'#prefix' => '<div class="country">', |
'#prefix' => '<div class="country">', |
| 53 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 54 |
'#value' => theme('storm_view_item', 'Country', $node->country), |
'#value' => theme('storm_view_item', storm_t('Country', 'organization'), $node->country), |
| 55 |
'#weight' => $w++, |
'#weight' => $w++, |
| 56 |
); |
); |
| 57 |
|
|
| 58 |
$node->content['stormorganization']['provstate'] = array( |
$node->content['stormorganization']['provstate'] = array( |
| 59 |
'#prefix' => '<div class="provstate">', |
'#prefix' => '<div class="provstate">', |
| 60 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 61 |
'#value' => theme('storm_view_item', 'Province / State', $node->provstate), |
'#value' => theme('storm_view_item', storm_t('Province / State', 'organization'), $node->provstate), |
| 62 |
'#weight' => $w++, |
'#weight' => $w++, |
| 63 |
); |
); |
| 64 |
|
|
| 65 |
$node->content['stormorganization']['city'] = array( |
$node->content['stormorganization']['city'] = array( |
| 66 |
'#prefix' => '<div class="city">', |
'#prefix' => '<div class="city">', |
| 67 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 68 |
'#value' => theme('storm_view_item', 'City', $node->city), |
'#value' => theme('storm_view_item', storm_t('City', 'organization'), $node->city), |
| 69 |
'#weight' => $w++, |
'#weight' => $w++, |
| 70 |
); |
); |
| 71 |
|
|
| 72 |
$node->content['stormorganization']['zip'] = array( |
$node->content['stormorganization']['zip'] = array( |
| 73 |
'#prefix' => '<div class="zip">', |
'#prefix' => '<div class="zip">', |
| 74 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 75 |
'#value' => theme('storm_view_item', 'Zip', $node->zip), |
'#value' => theme('storm_view_item', storm_t('Zip', 'organization'), $node->zip), |
| 76 |
'#weight' => $w++, |
'#weight' => $w++, |
| 77 |
); |
); |
| 78 |
|
|
| 79 |
$node->content['stormorganization']['address'] = array( |
$node->content['stormorganization']['address'] = array( |
| 80 |
'#prefix' => '<div class="address">', |
'#prefix' => '<div class="address">', |
| 81 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 82 |
'#value' => theme('storm_view_item', 'Address', $node->address), |
'#value' => theme('storm_view_item', storm_t('Address', 'organization'), $node->address), |
| 83 |
'#weight' => $w++, |
'#weight' => $w++, |
| 84 |
); |
); |
| 85 |
|
|
| 86 |
$node->content['stormorganization']['www'] = array( |
$node->content['stormorganization']['www'] = array( |
| 87 |
'#prefix' => '<div class="www">', |
'#prefix' => '<div class="www">', |
| 88 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 89 |
'#value' => theme('storm_view_item', 'WWW', l($node->www, 'http://'. $node->www, array('absolute' => TRUE))), |
'#value' => theme('storm_view_item', storm_t('WWW', 'organization'), l($node->www, 'http://'. $node->www, array('absolute' => TRUE))), |
| 90 |
'#weight' => $w++, |
'#weight' => $w++, |
| 91 |
); |
); |
| 92 |
|
|
| 93 |
$node->content['stormorganization']['email'] = array( |
$node->content['stormorganization']['email'] = array( |
| 94 |
'#prefix' => '<div class="email">', |
'#prefix' => '<div class="email">', |
| 95 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 96 |
'#value' => theme('storm_view_item', 'Email', l($node->email, 'mailto:'. $node->email, array('absolute' => TRUE))), |
'#value' => theme('storm_view_item', storm_t('Email', 'organization'), l($node->email, 'mailto:'. $node->email, array('absolute' => TRUE))), |
| 97 |
'#weight' => $w++, |
'#weight' => $w++, |
| 98 |
); |
); |
| 99 |
|
|
| 100 |
$node->content['stormorganization']['currency'] = array( |
$node->content['stormorganization']['currency'] = array( |
| 101 |
'#prefix' => '<div class="currency">', |
'#prefix' => '<div class="currency">', |
| 102 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 103 |
'#value' => theme('storm_view_item', 'Currency', $node->currency), |
'#value' => theme('storm_view_item', storm_t('Currency', 'organization'), $node->currency), |
| 104 |
'#weight' => $w++, |
'#weight' => $w++, |
| 105 |
); |
); |
| 106 |
|
|
| 113 |
$node->content['stormorganization']['language'] = array( |
$node->content['stormorganization']['language'] = array( |
| 114 |
'#prefix' => '<div class="language">', |
'#prefix' => '<div class="language">', |
| 115 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 116 |
'#value' => theme('storm_view_item', 'Language', $languages_options[$node->orglanguage]), |
'#value' => theme('storm_view_item', storm_t('Language', 'organization'), $languages_options[$node->orglanguage]), |
| 117 |
'#weight' => $w++, |
'#weight' => $w++, |
| 118 |
); |
); |
| 119 |
|
|
| 120 |
$node->content['stormorganization']['vatid'] = array( |
$node->content['stormorganization']['taxid'] = array( |
| 121 |
'#prefix' => '<div class="vatid">', |
'#prefix' => '<div class="taxid">', |
| 122 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 123 |
'#value' => theme('storm_view_item', 'VAT id', $node->vatid), |
'#value' => theme('storm_view_item', storm_t('Tax id', 'organization'), $node->taxid), |
| 124 |
'#weight' => $w++, |
'#weight' => $w++, |
| 125 |
); |
); |
| 126 |
|
|
| 127 |
$node->content['stormorganization']['note'] = array( |
$node->content['stormorganization']['note'] = array( |
| 128 |
'#prefix' => '<div class="note">', |
'#prefix' => '<div class="note">', |
| 129 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 130 |
'#value' => theme('storm_view_item', 'Note', $node->body), |
'#value' => theme('storm_view_item', storm_t('Note', 'organization'), $node->body), |
| 131 |
'#weight' => $w++, |
'#weight' => $w++, |
| 132 |
); |
); |
| 133 |
|
|
| 142 |
$node->content['stormorganization']['links']['people'] = array( |
$node->content['stormorganization']['links']['people'] = array( |
| 143 |
'#prefix' => '<div class="people">', |
'#prefix' => '<div class="people">', |
| 144 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 145 |
'#value' => l(t('People'), 'storm/people/', array('query' => array('organization_nid' => $node->nid))), |
'#value' => l(storm_t('People', 'organization'), 'storm/people/', array('query' => array('organization_nid' => $node->nid))), |
| 146 |
'#weight' => $w++, |
'#weight' => $w++, |
| 147 |
); |
); |
| 148 |
} |
} |
| 151 |
$node->content['stormorganization']['links']['projects'] = array( |
$node->content['stormorganization']['links']['projects'] = array( |
| 152 |
'#prefix' => '<div class="projects">', |
'#prefix' => '<div class="projects">', |
| 153 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 154 |
'#value' => l(t('Projects'), 'storm/projects/', array('query' => array('organization_nid' => $node->nid))), |
'#value' => l(storm_t('Projects', 'organization'), 'storm/projects/', array('query' => array('organization_nid' => $node->nid))), |
| 155 |
'#weight' => $w++, |
'#weight' => $w++, |
| 156 |
); |
); |
| 157 |
} |
} |
| 160 |
$node->content['stormorganization']['links']['notes'] = array( |
$node->content['stormorganization']['links']['notes'] = array( |
| 161 |
'#prefix' => '<div class="notes">', |
'#prefix' => '<div class="notes">', |
| 162 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 163 |
'#value' => l(t('Notes'), 'storm/notes/', array('query' => array('organization_nid' => $node->nid))), |
'#value' => l(storm_t('Notes', 'organization'), 'storm/notes/', array('query' => array('organization_nid' => $node->nid))), |
| 164 |
'#weight' => $w++, |
'#weight' => $w++, |
| 165 |
); |
); |
| 166 |
} |
} |
| 169 |
$node->content['stormorganization']['links']['tickets'] = array( |
$node->content['stormorganization']['links']['tickets'] = array( |
| 170 |
'#prefix' => '<div class="tickets">', |
'#prefix' => '<div class="tickets">', |
| 171 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 172 |
'#value' => l(t('Tickets'), 'storm/tickets/', array('query' => array('organization_nid' => $node->nid))), |
'#value' => l(storm_t('Tickets', 'organization'), 'storm/tickets/', array('query' => array('organization_nid' => $node->nid))), |
| 173 |
'#weight' => $w++, |
'#weight' => $w++, |
| 174 |
); |
); |
| 175 |
} |
} |
| 178 |
$node->content['stormorganization']['links']['timetrackings'] = array( |
$node->content['stormorganization']['links']['timetrackings'] = array( |
| 179 |
'#prefix' => '<div class="timetrackings">', |
'#prefix' => '<div class="timetrackings">', |
| 180 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 181 |
'#value' => l(t('Timetrackings'), 'storm/timetrackings/', array('query' => array('organization_nid' => $node->nid))), |
'#value' => l(storm_t('Timetrackings', 'organization'), 'storm/timetrackings/', array('query' => array('organization_nid' => $node->nid))), |
| 182 |
'#weight' => $w++, |
'#weight' => $w++, |
| 183 |
); |
); |
| 184 |
} |
} |