| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Topogeo/ojs/plugins/generic/xmlGalley/ |
Upload File : |
{**
* settingsForm.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* XML galley plugin settings
*
* $Id$
*}
{strip}
{assign var="pageTitle" value="plugins.generic.xmlGalley.displayName"}
{include file="common/header.tpl"}
{/strip}
<div id="xmlGalleySettings">
<div id="description">{translate key="plugins.generic.xmlGalley.settings.description"}</div>
<div class="separator"> </div>
<h3>{translate key="plugins.generic.xmlGalley.manager.settings"}</h3>
<form method="post" action="{plugin_url path="settings"}" enctype="multipart/form-data">
{include file="common/formErrors.tpl"}
{if $testSuccess}
<p>
<div style="font-weight: bold; color: green;"><ul><li>{translate key="plugins.generic.xmlGalley.settings.externalXSLTSuccess"}</li></ul></div>
</p>
{/if}
<table width="100%" class="data">
<tr valign="top">
<td width="100%" class="label" colspan="2"><h4 id="XSLTrenderer">{fieldLabel name="XSLTrenderer" required="true" key="plugins.generic.xmlGalley.settings.renderer"}:</h4></td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="radio" name="XSLTrenderer" id="XSLTrenderer-PHP5" value="PHP5" {if !$xsltPHP5}disabled="disabled"{/if} {if $XSLTrenderer eq "PHP5"}checked="checked" {/if}/></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.PHP5"}
{if !$xsltPHP5}<span class="formError">{translate key="plugins.generic.xmlGalley.settings.notAvailable"}</span>{/if}
</td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="radio" name="XSLTrenderer" id="XSLTrenderer-PHP4" value="PHP4" {if !$xsltPHP4}disabled="disabled"{/if} {if $XSLTrenderer eq "PHP4"}checked="checked" {/if}/></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.PHP4"}
{if !$xsltPHP4}<span class="formError">{translate key="plugins.generic.xmlGalley.settings.notAvailable"}</span>{/if}
</td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="radio" name="XSLTrenderer" id="XSLTrenderer-external" value="external" {if $XSLTrenderer eq "external"}checked="checked" {/if}/></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.externalXSLT"}</td>
</tr>
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.externalXSLTDescription"}</td>
</tr>
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value"><input type="text" name="externalXSLT" id="externalXSLT" value="{$externalXSLT|escape}" size="60" maxlength="90" class="textField" /></td>
</tr>
{if $XSLTrenderer eq "external"}
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value">
<a href="{plugin_url path="test"}">
<input type="submit" name="test" class="button defaultButton" value="{translate key="plugins.generic.xmlGalley.settings.externalXSLTTest"}"/>
</a>
</td>
</tr>
{/if}
</table>
<div class="separator"> </div>
<table width="100%" class="data">
<tr valign="top">
<td width="100%" class="label" colspan="2"><h4 id="XSLstylesheet">{fieldLabel name="XSLstylesheet" required="true" key="plugins.generic.xmlGalley.settings.stylesheet"}:</h4></td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="radio" name="XSLstylesheet" id="XSLstylesheet-NLM" value="NLM" {if $XSLstylesheet eq "NLM"}checked="checked" {/if}/></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.xslNLM"}</td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="checkbox" name="nlmPDF" id="nlmPDF" value="1"{if $nlmPDF==1} checked="checked"{/if} /></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.xslFOP"}</td>
</tr>
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.xslFOPDescription"}</td>
</tr>
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value"><input type="text" name="externalFOP" id="externalFOP" value="{$externalFOP|escape}" size="60" maxlength="90" class="textField" /></td>
</tr>
<tr valign="top">
<td width="10%" class="label" align="right"><input type="radio" name="XSLstylesheet" id="XSLstylesheet-custom" value="custom" {if $XSLstylesheet eq "custom"}checked="checked" {/if}/></td>
<td width="90%" class="value">{translate key="plugins.generic.xmlGalley.settings.customXSL"}</td>
</tr>
<tr valign="top">
<td width="10%" />
<td width="90%" class="value"><input type="file" name="customXSL" class="uploadField" /> <input type="submit" name="uploadCustomXSL" value="{translate key="common.upload"}" class="button" /></td>
</tr>
{if $customXSL}
<tr valign="top">
<td width="10%" class="label"> </td>
<td width="90%" class="value">{translate key="common.fileName"}: {$customXSL|escape} <input type="submit" name="deleteCustomXSL" value="{translate key="common.delete"}" class="button" /></td>
</tr>
{/if}
</table>
<br/>
<input type="submit" name="save" class="button defaultButton" value="{translate key="common.save"}"/> <input type="button" class="button" value="{translate key="common.cancel"}" onclick="history.go(-1)"/>
</form>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
</div>
{include file="common/footer.tpl"}