{* * $Revision: 1.5 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *} {assign var="lowercase" value=$lowercase|default:false} {* if we have more than one link, use a dropdown if $useDropdown is set *} {* one link, just show it as a link *} {if (isset($links) || isset($theme.itemLinks))} {if empty($item)}{assign var="item" value=$theme.item}{/if} {if !isset($links)}{assign var="links" value=$theme.itemLinks}{/if} {if !isset($useDropdown)}{assign var="useDropdown" value=true}{/if} {if $useDropdown && count($links) > 1}