Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AjaxLegacyPluginModal.inc.php
1 <?php
20 import('lib.pkp.classes.linkAction.request.AjaxModal');
21 
30  function AjaxLegacyPluginModal($url, $title = null, $titleIcon = null, $canClose = true) {
31  parent::AjaxModal($url, $title, $titleIcon, $canClose);
32  }
33 
34 
35  //
36  // Overridden methods from LinkActionRequest
37  //
41  function getLocalizedOptions() {
42  return array_merge(parent::getLocalizedOptions(), array(
43  'modalHandler' => '$.pkp.controllers.modal.AjaxLegacyPluginModalHandler',
44  'url' => $this->getUrl()));
45  }
46 }
47 
48 ?>
AjaxLegacyPluginModal($url, $title=null, $titleIcon=null, $canClose=true)
A modal that retrieves its content from via AJAX.
An ajax modal to be used in plugins management. This is part of a temporary solution, while we don&#39;t modernize the UI of the plugins. The functionalities implemented here are not necessary anywhere else. DON&#39;T USE this handler if you are not showing legacy plugins management content. FIXME After modernizing the UI of the plugins, remove this class.