Révision 6c9579f7
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/author_pane/modules/contact.author-pane.inc | ||
---|---|---|
16 | 16 |
} |
17 | 17 |
|
18 | 18 |
if (_contact_personal_tab_access($variables['account'])) { |
19 |
$variables['contact'] = l(t('Email'), 'user/' . $variables['account']->uid . '/contact', array('attributes' => array('class' => array('author-pane-link')))); |
|
19 |
$options = array( |
|
20 |
'attributes' => array( |
|
21 |
'class' => array('author-pane-link'), |
|
22 |
'title' => t('Send @accountname an email.', array('@accountname' => $variables['account']->name)), |
|
23 |
), |
|
24 |
'html' => TRUE, |
|
25 |
); |
|
26 |
$variables['contact'] = l('<span>' . t('Send Email') . '</span>', 'user/' . $variables['account']->uid . '/contact', $options); |
|
20 | 27 |
} |
21 | 28 |
} |
22 | 29 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules