				<li id="links"><span>{$locale->tr("my_links")|capitalize}</span>
					<ul>
					{if #mylinks# == 1 }
					{foreach from=$mylinkscategories item=linkcategory}
						<li>{$linkcategory->getName()}
							<ul>
							{foreach from=$linkcategory->getLinks() item=link}
								<li><a href="{$link->getUrl()|escape}" title="{$link->getDescription()|escape}">{$link->getName()}</a></li>
							{/foreach}
							</ul>
						</li>
					{/foreach}
					{/if}
					{if #mylinks# == 2 }
					{foreach name=links from=$mylinkscategories item=linkcategory}
						<li class="menutitle"><span onclick="SwitchMenu('{$linkcategory->getName()}')" style="cursor: pointer;">{$linkcategory->getName()}</span>
							{if $smarty.foreach.links.iteration == #mylinksshow#}
							<ul class="submenu" id="{$linkcategory->getName()}" style="display: block;">
							{else}
							<ul class="submenu" id="{$linkcategory->getName()}" style="display: none;">
							{/if}
							{foreach from=$linkcategory->getLinks() item=link}
								<li><a href="{$link->getUrl()|escape}" title="{$link->getDescription()|escape}">{$link->getName()}</a></li>
							{/foreach}
							</ul>
						</li>
					{/foreach}
					{/if}
					</ul>
				</li>
