getDispatcher(); import('lib.pkp.classes.linkAction.request.AjaxModal'); $actionArgs = array(); $actionArgs['submissionId'] = $submissionId; $actionArgs['stageId'] = $stageId; if ($selectedGalleyId) { $actionArgs['selectedGalleyId'] = $selectedGalleyId; } $modal = new AjaxModal( $dispatcher->url( $request, ROUTE_COMPONENT, null, 'modals.submissionMetadata.IssueEntryHandler', 'fetch', null, $actionArgs ), __('submission.issueEntry.modalTitle'), 'modal_more_info' ); // Configure the link action. $toolTip = ($image == 'completed') ? __('grid.action.galleyInIssueEntry') : null; parent::__construct('issueEntry', $modal, __('submission.issueEntry'), $image, $toolTip); } } ?>