first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-06-08 17:09:23 -04:00
commit df3a033196
17887 changed files with 8637778 additions and 0 deletions
@@ -0,0 +1,44 @@
{**
* templates/controllers/grid/plugins/uploadPluginForm.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 upload plugin files.
*}
<script>
$(function() {ldelim}
// Attach the upload form handler.
$('#uploadPluginForm').pkpHandler(
'$.pkp.controllers.form.FileUploadFormHandler',
{ldelim}
$uploader: $('#plupload'),
uploaderOptions: {ldelim}
uploadUrl: {url|json_encode router=\PKP\core\PKPApplication::ROUTE_COMPONENT op="uploadPluginFile" function=$function escape=false},
baseUrl: {$baseUrl|json_encode}
{rdelim}
{rdelim});
{rdelim});
</script>
<form class="pkp_form" id="uploadPluginForm" action="{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT op="saveUploadPlugin" function=$function category=$category plugin=$plugin}" method="post">
{csrf}
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="uploadPluginNotification"}
{fbvFormArea id="file"}
{if $function == 'install'}
<p>{translate key="manager.plugins.uploadDescription"}</p>
{elseif $function == 'upgrade'}
<p>{translate key="manager.plugins.upgradeDescription"}</p>
{/if}
{fbvFormSection title="manager.plugins.uploadPluginDir" required=true}
{fbvElement type="hidden" id="temporaryFileId" value=""}
{* The uploader widget *}
{include file="controllers/fileUploadContainer.tpl" id="plupload"}
{/fbvFormSection}
{/fbvFormArea}
{fbvFormButtons id="uploadPluginFormSubmit" submitText="common.save"}
</form>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>