Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 359 → Rev 360

/trunk/includes/classes/OIDplusMenuUtils.class.php
36,7 → 36,12
foreach ($json as $x) {
if ($static_node_id == $x['id']) echo '<b>';
if (isset($x['indent'])) echo str_repeat('&nbsp', $x['indent']*5);
$cur_lang = OIDplus::getCurrentLang();
if ($cur_lang != OIDplus::DEFAULT_LANGUAGE) {
echo '<a href="?lang='.$cur_lang.'&amp;goto='.urlencode($x['id']).'">';
} else {
echo '<a href="?goto='.urlencode($x['id']).'">';
}
if (!empty($x['icon'])) echo '<img src="'.$x['icon'].'" alt=""> ';
echo htmlentities($x['text']).'</a><br>';
if ($static_node_id == $x['id']) echo '</b>';