{** * plugins/importexport/duracloud/index.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * List of operations this plugin can perform *} {strip} {assign var="pageTitle" value="plugins.importexport.duracloud.displayName"} {include file="common/header.tpl"} {/strip}

{translate key="plugins.importexport.duracloud.configuration"}

{if $isConfigured}{* The plugin is configured; allow choice of space. *} {plugin_url|assign:duracloudLogoutUrl path="signOut"}

{translate key="plugins.importexport.duracloud.configuration.configured.description" url=$duracloudUrl escapedUrl=$duracloudUrl|escape username=$duracloudUsername logoutUrl=$duracloudLogoutUrl}

{fieldLabel name=duracloudSpace key="plugins.importexport.duracloud.configuration.space"}  
{if in_array($duracloudSpace, $spaces)}{* if $duracloudSpace valid *}

{translate key="manager.importExport"}

{/if}{* $duracloudSpace is valid *} {else}{* The plugin has not been configured; display the login form. *}
{include file="common/formErrors.tpl"}
{fieldLabel key="common.url" name="duracloudUrl" required=true}
{fieldLabel key="user.username" name="duracloudUsername" required=true}
{fieldLabel key="user.password" name="duracloudPassword" required=true}
{/if}{* $isConfigured *} {include file="common/footer.tpl"}