<?php
/* Smarty version 4.3.1, created on 2025-07-19 15:06:58
  from 'app:controllerswizardfileUploadfileUploadWizard.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_687bb492c190f1_08212062',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'cddfe063cc213310888ff528db4468d0d22f5ed0' => 
    array (
      0 => 'app:controllerswizardfileUploadfileUploadWizard.tpl',
      1 => 1748024493,
      2 => 'app',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_687bb492c190f1_08212062 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('uploadWizardId', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'uniqid' ][ 0 ], array( "fileUploadWizard" )));
echo '<script'; ?>
 type="text/javascript">
	// Attach the JS file upload wizard handler.
	$(function() {
		$('#<?php echo $_smarty_tpl->tpl_vars['uploadWizardId']->value;?>
').pkpHandler(
			'$.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler',
			{
				csrfToken: <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['csrf'][0], array( array('type'=>'json'),$_smarty_tpl ) );?>
,
				cancelButtonText: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"common.cancel"),$_smarty_tpl ) ) ));?>
,
				continueButtonText: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"common.continue"),$_smarty_tpl ) ) ));?>
,
				finishButtonText: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"common.complete"),$_smarty_tpl ) ) ));?>
,
				deleteUrl: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('component'=>"api.file.ManageFileApiHandler",'op'=>"deleteFile",'submissionId'=>$_smarty_tpl->tpl_vars['submissionId']->value,'stageId'=>$_smarty_tpl->tpl_vars['stageId']->value,'fileStage'=>$_smarty_tpl->tpl_vars['fileStage']->value,'suppressNotification'=>true,'escape'=>false),$_smarty_tpl ) ) ));?>
,
				metadataUrl: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('op'=>"editMetadata",'submissionId'=>$_smarty_tpl->tpl_vars['submissionId']->value,'stageId'=>$_smarty_tpl->tpl_vars['stageId']->value,'reviewRoundId'=>$_smarty_tpl->tpl_vars['reviewRoundId']->value,'fileStage'=>$_smarty_tpl->tpl_vars['fileStage']->value,'assocType'=>$_smarty_tpl->tpl_vars['assocType']->value,'assocId'=>$_smarty_tpl->tpl_vars['assocId']->value,'queryId'=>$_smarty_tpl->tpl_vars['queryId']->value,'escape'=>false),$_smarty_tpl ) ) ));?>
,
				finishUrl: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('op'=>"finishFileSubmission",'submissionId'=>$_smarty_tpl->tpl_vars['submissionId']->value,'stageId'=>$_smarty_tpl->tpl_vars['stageId']->value,'reviewRoundId'=>$_smarty_tpl->tpl_vars['reviewRoundId']->value,'fileStage'=>$_smarty_tpl->tpl_vars['fileStage']->value,'assocType'=>$_smarty_tpl->tpl_vars['assocType']->value,'assocId'=>$_smarty_tpl->tpl_vars['assocId']->value,'queryId'=>$_smarty_tpl->tpl_vars['queryId']->value,'escape'=>false),$_smarty_tpl ) ) ));?>
,
				cancelUrl: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('component'=>"api.file.ManageFileApiHandler",'op'=>"cancelFileUpload",'submissionId'=>$_smarty_tpl->tpl_vars['submissionId']->value,'stageId'=>$_smarty_tpl->tpl_vars['stageId']->value,'fileStage'=>$_smarty_tpl->tpl_vars['fileStage']->value,'escape'=>false),$_smarty_tpl ) ) ));?>

			}
		);
	});
<?php echo '</script'; ?>
>

<div id="<?php echo $_smarty_tpl->tpl_vars['uploadWizardId']->value;?>
">
	<ul>
		<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('op'=>"displayFileUploadForm",'submissionId'=>$_smarty_tpl->tpl_vars['submissionId']->value,'stageId'=>$_smarty_tpl->tpl_vars['stageId']->value,'uploaderRoles'=>$_smarty_tpl->tpl_vars['uploaderRoles']->value,'fileStage'=>$_smarty_tpl->tpl_vars['fileStage']->value,'revisionOnly'=>$_smarty_tpl->tpl_vars['revisionOnly']->value,'reviewRoundId'=>$_smarty_tpl->tpl_vars['reviewRoundId']->value,'revisedFileId'=>$_smarty_tpl->tpl_vars['revisedFileId']->value,'assocType'=>$_smarty_tpl->tpl_vars['assocType']->value,'assocId'=>$_smarty_tpl->tpl_vars['assocId']->value,'dependentFilesOnly'=>$_smarty_tpl->tpl_vars['dependentFilesOnly']->value,'queryId'=>$_smarty_tpl->tpl_vars['queryId']->value),$_smarty_tpl ) );?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"submission.submit.uploadStep"),$_smarty_tpl ) );?>
</a></li>
		<li><a href="metadata"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"submission.submit.metadataStep"),$_smarty_tpl ) );?>
</a></li>
		<li><a href="finish"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"submission.submit.finishingUpStep"),$_smarty_tpl ) );?>
</a></li>
	</ul>
</div>
<?php }
}
