Sindbad~EG File Manager

Current Path : /var/www/web3/modules/webdav/templates/
Upload File :
Current File : /var/www/web3/modules/webdav/templates/WebDavMount.tpl

{*
 * $Revision: 15763 $
 * 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 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}

{* Only show the block for albums *}
{if $isView or $item.canContainChildren}

{if $isView}
<div class="gbBlock gcBackground1">
  <h2> {g->text text="WebDAV Mount Instructions"} </h2>
</div>

<div class="gbBlock">
{/if}
  <div class="giDescription">
    <p>
    
      {capture name=mountLink}<a href="{$link.href}"{if isset($link.script)} onclick="{$link.script}"{/if} {$link.attrs}>{/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="</a>"
               arg3="<a href=\"http://codex.gallery2.org/index.php/Gallery2:Modules:webdav:user\">" arg4="</a>"}
    </p>
    <p>
      {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:"}
       <a href="{$smarty.capture.connectUrl}">{$smarty.capture.connectUrl}</a>
    </p>
  </div>
{if $isView}
</div>
{/if}
{/if}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists