summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebflo2013-07-29 04:11:25 (GMT)
committer Alex Weber2013-07-29 04:11:25 (GMT)
commit62d151578ae50a88da834a77962bec11c6d4ca56 (patch)
treed5930c8bc69d06b25f280c36e683a9df836eb0f4
parent11dcd731d8c2dbe391e60c796fe034b4eadbb08c (diff)
Issue #2051413 by webflo, serglo: Fixed Support localized options in _zurb_foundation_render_link().
-rw-r--r--template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/template.php b/template.php
index d089295..9f74008 100644
--- a/template.php
+++ b/template.php
@@ -205,11 +205,11 @@ function _zurb_foundation_render_link($link) {
// Render top level and make sure we have an actual link.
if (!empty($link['#href'])) {
- $output .= '<li' . drupal_attributes($link['#attributes']) . '>' . l($link['#title'], $link['#href']);
+ $output .= '<li' . drupal_attributes($link['#attributes']) . '>' . l($link['#title'], $link['#href'], $link['#localized_options']);
// Add repeated link under the dropdown for small-screen.
$small_link['#attributes']['class'][] = 'show-for-small';
- $sub_menu = '<li' . drupal_attributes($small_link['#attributes']) . '>' . l($link['#title'], $link['#href']);
+ $sub_menu = '<li' . drupal_attributes($small_link['#attributes']) . '>' . l($link['#title'], $link['#href'], $link['#localized_options']);
// Build sub nav recursively.
foreach ($link['#below'] as $sub_link) {