getId(); if (!empty($sectionId) && is_numeric($sectionId)) { $router = $request->getRouter(); import('lib.pkp.classes.linkAction.request.AjaxModal'); $this->addAction( new LinkAction( 'editSection', new AjaxModal( $router->url($request, null, null, 'editSection', null, array('sectionId' => $sectionId)), __('grid.action.edit'), 'modal_edit', true), __('grid.action.edit'), 'edit' ) ); import('lib.pkp.classes.linkAction.request.RemoteActionConfirmationModal'); $this->addAction( new LinkAction( 'deleteSection', new RemoteActionConfirmationModal( $request->getSession(), __('manager.sections.confirmDelete'), __('grid.action.delete'), $router->url($request, null, null, 'deleteSection', null, array('sectionId' => $sectionId)), 'modal_delete' ), __('grid.action.delete'), 'delete' ) ); } } } ?>