diff --git a/controllers/grid/BaseLocaleFileGridHandler.inc.php b/controllers/grid/BaseLocaleFileGridHandler.inc.php index 60c6472..1e5c73d 100644 --- a/controllers/grid/BaseLocaleFileGridHandler.inc.php +++ b/controllers/grid/BaseLocaleFileGridHandler.inc.php @@ -60,7 +60,7 @@ function authorize($request, &$args, $roleAssignments) { } /** - * @copydoc Gridhandler::initialize() + * @copydoc GridHandler::initialize() */ function initialize($request, $args = null) { parent::initialize($request, $args); diff --git a/controllers/grid/EmailGridHandler.inc.php b/controllers/grid/EmailGridHandler.inc.php index 4b7ce77..62be6c3 100644 --- a/controllers/grid/EmailGridHandler.inc.php +++ b/controllers/grid/EmailGridHandler.inc.php @@ -22,10 +22,10 @@ class EmailGridHandler extends BaseLocaleFileGridHandler { // Overridden template methods // /** - * @copydoc Gridhandler::initialize() + * @copydoc BaseLocaleFileGridHandler::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $args = null) { + parent::initialize($request, $args); // Set the grid details. $this->setTitle('plugins.generic.translator.emails'); diff --git a/controllers/grid/EmailGridRow.inc.php b/controllers/grid/EmailGridRow.inc.php index bdc15ea..89d809a 100644 --- a/controllers/grid/EmailGridRow.inc.php +++ b/controllers/grid/EmailGridRow.inc.php @@ -39,8 +39,8 @@ function __construct($tabsSelector, $locale) { /** * @copydoc GridRow::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $template = null) { + parent::initialize($request, $template); $router = $request->getRouter(); $data = $this->getData(); diff --git a/controllers/grid/LocaleFileGridHandler.inc.php b/controllers/grid/LocaleFileGridHandler.inc.php index 5639c12..f1b1629 100644 --- a/controllers/grid/LocaleFileGridHandler.inc.php +++ b/controllers/grid/LocaleFileGridHandler.inc.php @@ -24,10 +24,10 @@ class LocaleFileGridHandler extends BaseLocaleFileGridHandler { // Overridden template methods // /** - * @copydoc Gridhandler::initialize() + * @copydoc BaseLocaleFileGridHandler::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $args = null) { + parent::initialize($request, $args); // Set the grid details. $this->setTitle('plugins.generic.translator.localeFiles'); diff --git a/controllers/grid/LocaleFileGridRow.inc.php b/controllers/grid/LocaleFileGridRow.inc.php index e75d779..69e29e2 100644 --- a/controllers/grid/LocaleFileGridRow.inc.php +++ b/controllers/grid/LocaleFileGridRow.inc.php @@ -39,8 +39,8 @@ function __construct($tabsSelector, $locale) { /** * @copydoc GridRow::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $template = null) { + parent::initialize($request, $template); $router = $request->getRouter(); $data = $this->getData(); diff --git a/controllers/grid/LocaleGridHandler.inc.php b/controllers/grid/LocaleGridHandler.inc.php index 5efdde5..b3d9dac 100644 --- a/controllers/grid/LocaleGridHandler.inc.php +++ b/controllers/grid/LocaleGridHandler.inc.php @@ -57,7 +57,7 @@ function authorize($request, &$args, $roleAssignments) { } /** - * @copydoc Gridhandler::initialize() + * @copydoc GridHandler::initialize() */ function initialize($request, $args = null) { parent::initialize($request, $args); diff --git a/controllers/grid/LocaleGridRow.inc.php b/controllers/grid/LocaleGridRow.inc.php index ee50041..82524af 100644 --- a/controllers/grid/LocaleGridRow.inc.php +++ b/controllers/grid/LocaleGridRow.inc.php @@ -35,8 +35,8 @@ function __construct($tabsSelector) { /** * @copydoc GridRow::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $template = null) { + parent::initialize($request, $template); $router = $request->getRouter(); $actionArgs = array( diff --git a/controllers/grid/MiscTranslationFileGridHandler.inc.php b/controllers/grid/MiscTranslationFileGridHandler.inc.php index 5db6061..655039a 100644 --- a/controllers/grid/MiscTranslationFileGridHandler.inc.php +++ b/controllers/grid/MiscTranslationFileGridHandler.inc.php @@ -24,10 +24,10 @@ class MiscTranslationFileGridHandler extends BaseLocaleFileGridHandler { // Overridden template methods // /** - * @copydoc Gridhandler::initialize() + * @copydoc BaseLocaleFileGridHandler::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $args = null) { + parent::initialize($request, $args); // Set the grid details. $this->setTitle('plugins.generic.translator.miscFiles'); diff --git a/controllers/listbuilder/LocaleFileListbuilderHandler.inc.php b/controllers/listbuilder/LocaleFileListbuilderHandler.inc.php index 42c802d..8db18dd 100644 --- a/controllers/listbuilder/LocaleFileListbuilderHandler.inc.php +++ b/controllers/listbuilder/LocaleFileListbuilderHandler.inc.php @@ -49,10 +49,10 @@ function __construct() { // Overridden template methods // /** - * @copydoc SetupListbuilderHandler::initialize() + * @copydoc ListbuilderHandler::initialize() */ - function initialize($request) { - parent::initialize($request); + function initialize($request, $args = null) { + parent::initialize($request, $args); $context = $request->getContext(); $this->setTitle('plugins.generic.translator.localeFileContents'); @@ -93,9 +93,9 @@ function initialize($request) { } /** - * @copydoc GridHandler::loadData() + * @copydoc ListbuilderHandler::loadData() */ - function loadData($request) { + function loadData($request, $filter = null) { import('lib.pkp.classes.file.EditableLocaleFile'); $referenceLocaleContents = EditableLocaleFile::load(str_replace($this->locale, MASTER_LOCALE, $this->filename)); $localeContents = file_exists($this->filename)?EditableLocaleFile::load($this->filename):array();