{*
* $Revision: 1.1 $
* 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.
*}
{if $user.isRegisteredUser}
<div class="{$class}">
{capture name=detailMode}
{if ($theme.detailMode)}
<a href="{g->url arg1="controller=core.ShowItem" arg2="detailMode=0" arg3="return=1"}">Summary</a> | <span class="active"> {g->text text="detail"} </span>
{else}
<span class="active"> Summary </span> | <a href="{g->url arg1="controller=core.ShowItem" arg2="detailMode=1" arg3="return=1"}">{g->text text="detail"}</a>
{/if}
{/capture}
{g->text text="toggle mode: %s" arg1=$smarty.capture.detailMode}
</div>
{/if}