| Server IP : 195.134.90.114 / Your IP : 216.73.216.86 Web Server : Apache/2.4.58 System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/public_html/templates/controllers/grid/issueGalleys/form/ |
Upload File : |
{**
* templates/editor/issues/issueGalleyForm.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Form to add/edit an issue galley.
*}
<script>
$(function() {ldelim}
// Attach the form handler.
$('#issueGalleyForm').pkpHandler(
'$.pkp.controllers.form.FileUploadFormHandler',
{ldelim}
$uploader: $('#pluploadgalley'),
uploaderOptions: {ldelim}
uploadUrl: {url|json_encode op="upload" issueId=$issueId escape=false},
baseUrl: {$baseUrl|json_encode},
browse_button: 'pkpIssueGalleyUploaderButton'
{rdelim}
{rdelim}
);
{rdelim});
</script>
<form class="pkp_form" id="issueGalleyForm" method="post" action="{url op="update" issueId=$issueId issueGalleyId=$issueGalleyId}">
{csrf}
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="publicationMetadataFormFieldsNotification"}
{fbvFormArea id="file"}
{fbvFormSection title="editor.issues.galley" required="true"}
{include file="controllers/fileUploadContainer.tpl" id="pluploadgalley" browseButton="pkpIssueGalleyUploaderButton"}
<input type="hidden" name="temporaryFileId" id="temporaryFileId" value="" />
{if $issueGalley}
<a href="{url op="download" issueId=$issueId issueGalleyId=$issueGalleyId}" target="_blank">{$issueGalley->getOriginalFileName()|escape}</a>
{/if}
{/fbvFormSection}
{fbvFormSection title="submission.layout.galleyLabel" required="true"}
{fbvElement type="text" value=$label id="label" required="true"}
{/fbvFormSection}
{if $enablePublisherId}
{fbvFormSection title="submission.publisherId"}
{fbvElement type="text" value=$publicGalleyId id="publicGalleyId"}
{/fbvFormSection}
{/if}
{fbvFormSection title="common.language" required="true"}
{fbvElement type="select" id="galleyLocale" from=$supportedLocales selected=$galleyLocale|default:$formLocale translate=false required="true"}
{/fbvFormSection}
{fbvFormSection title="publication.urlPath"}
{fbvElement type="text" label="publication.urlPath.description" value=$urlPath id="urlPath" size=$fbvStyles.size.MEDIUM inline=true}
{/fbvFormSection}
{/fbvFormArea}
{fbvFormButtons submitText="common.save"}
</form>