{**
 * plugins/generic/dataverse/templates/suppFileAdditionalMetadata.tpl
 *
 * Copyright (c) 2013-2019 Simon Fraser University
 * Copyright (c) 2003-2019 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Dataverse plugin: data publication options
 *
 *}
 
{url|assign:"dataverseTermsOfUseUrl" page="dataverse" op="termsOfUse"}

<div id="dataverse">
	<h3>{translate key="plugins.generic.dataverse.suppFile.title"}</h3>
	<p>{translate key="plugins.generic.dataverse.suppFile.description"}</p>

	<input type="radio" name="publishData" id="publishData-none" value="none" {if $publishData eq "none"}checked="checked" {/if}/>
	<label for="publishData-none">{translate key="plugins.generic.dataverse.suppFile.publishDataNone"}</label>
	<br />
	<input type="radio" name="publishData" id="publishData-dataverse" value="dataverse" {if $publishData eq "dataverse"}checked="checked" {/if}/>
	<label for="publishData-dataverse">{translate key="plugins.generic.dataverse.suppFile.publishDataDataverse" dataverseTermsOfUseUrl=$dataverseTermsOfUseUrl}</label>
	<br />
	{if $dataCitation}
		<p style="margin-left: 25px;">{translate key="plugins.generic.dataverse.suppFile.dataCitationDescription"}</p>
		<p style="margin-left: 25px;">{$dataCitation|strip_unsafe_html}</p>
		{if $studyLocked}
			<p style="margin-left: 25px;" class="error">{translate key="plugins.generic.dataverse.suppFile.studyLocked"}</p>
		{/if}
	{/if}
	<h4>{translate key="plugins.generic.dataverse.suppFile.studyDescription"}</h4>
	<p>{translate key="plugins.generic.dataverse.suppFile.studyDescription.description"}</p>
	<textarea cols="60" rows="5" class="textArea" id="studyDescription" name="studyDescription">{$studyDescription|escape}</textarea>
	<h4>{translate key="plugins.generic.dataverse.suppFile.externalDataCitation"}</h4>
	<p>{translate key="plugins.generic.dataverse.suppFile.externalDataCitation.description"}</p>	
	<textarea cols="60" rows="5" class="textArea" id="externalDataCitation" name="externalDataCitation">{$externalDataCitation|escape}</textarea>		 
</div>
<div class="separator"></div>
 
