{* * $Revision: 17261 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *} {if empty($item)} {assign var=item value=$theme.item} {/if} {* Switch between view / block layout *} {assign var=isView value=$isView|default:true} {g->callback type="webdav.LoadMountLink" itemId=$item.id} {assign var=link value=$block.webdav.LoadMountLink.link} {* Only show the block for albums *} {if $block.webdav.LoadMountLink.hasPermission and ($isView or $item.canContainChildren)} {if $isView}
{capture name=mountLink}{/capture} {g->text text="%sClick here%s to mount Gallery on your desktop with a WebDAV client. Documentation on mounting Gallery with WebDAV is in the %sGallery Codex%s." arg1=$smarty.capture.mountLink arg2="" arg3="" arg4=""}
{capture name=connectUrl}{g->url arg1="controller=webdav.WebDav" arg2="itemId=`$item.id`" forceFullUrl=true forceSessionId=false useAuthToken=false}{/capture} {g->text text="Alternatively, you can enter the following URL in your WebDAV client:"} {$smarty.capture.connectUrl}