Sfoglia il codice sorgente

Missing extra_before in theme_linktree

Signed-off-by: emanuele <[email protected]>
emanuele 12 anni fa
parent
commit
f98ca22ffe
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      Themes/default/index.template.php

+ 4 - 0
Themes/default/index.template.php

@@ -435,6 +435,10 @@ function theme_linktree($force_show = false)
 			echo '
 				<span class="dividers">', $context['right_to_left'] ? ' &#9668; ' : ' &#9658; ', '</span>';
 
+		// Show something before the link?
+		if (isset($tree['extra_before']))
+			echo $tree['extra_before'];
+
 		// Show the link, including a URL if it should have one.
 		echo $settings['linktree_link'] && isset($tree['url']) ? '
 				<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';