Révision 30d5b9c5
Ajouté par Mathieu Schiano Di Schiabica il y a environ 8 ans
drupal7/includes/theme.inc | ||
---|---|---|
1809 | 1809 |
foreach ($links as $key => $link) { |
1810 | 1810 |
$class = array($key); |
1811 | 1811 |
|
1812 |
// Add first, last and active classes to the list of links to help out themers. |
|
1812 |
// Add first, last and active classes to the list of links to help out |
|
1813 |
// themers. |
|
1813 | 1814 |
if ($i == 1) { |
1814 | 1815 |
$class[] = 'first'; |
1815 | 1816 |
} |
... | ... | |
1827 | 1828 |
$output .= l($link['title'], $link['href'], $link); |
1828 | 1829 |
} |
1829 | 1830 |
elseif (!empty($link['title'])) { |
1830 |
// Some links are actually not links, but we wrap these in <span> for adding title and class attributes. |
|
1831 |
// Some links are actually not links, but we wrap these in <span> for |
|
1832 |
// adding title and class attributes. |
|
1831 | 1833 |
if (empty($link['html'])) { |
1832 | 1834 |
$link['title'] = check_plain($link['title']); |
1833 | 1835 |
} |
Formats disponibles : Unified diff
Update to 7.42