Skip to content

Commit

Permalink
Adapt for OJS 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Apr 11, 2023
1 parent 0dde72e commit 3abff38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?php

/**
* @file plugins/themes/default/BootstrapThreeThemePlugin.inc.php
* @file plugins/themes/bootstrap3/BootstrapThreeThemePlugin.php
*
* Copyright (c) 2014-2017 Simon Fraser University Library
* Copyright (c) 2003-2017 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
* Copyright (c) 2014-2023 Simon Fraser University
* Copyright (c) 2003-2023 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class BootstrapThreeThemePlugin
* @ingroup plugins_themes_bootstrap3
*
* @brief Default theme
*/

namespace APP\plugins\themes\bootstrap3;

use APP\core\Application;
use APP\i18n\AppLocale;
use PKP\config\Config;
Expand Down Expand Up @@ -181,3 +181,7 @@ function getDescription() {
return __('plugins.themes.bootstrap3.description');
}
}

if (!PKP_STRICT_MODE) {
class_alias('\APP\plugins\themes\bootstrap3\BootstrapThreeThemePlugin', '\BootstrapThreeThemePlugin');
}
16 changes: 5 additions & 11 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
<?php

/**
* @defgroup plugins_themes_bootstrap3 Theme plugin for base Bootstrap 3 theme
*/

/**
* @file plugins/themes/default/index.php
* @file plugins/themes/bootstrap3/index.php
*
* Copyright (c) 2014-2017 Simon Fraser University Library
* Copyright (c) 2003-2017 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
* Copyright (c) 2014-2023 Simon Fraser University
* Copyright (c) 2003-2023 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @ingroup plugins_themes_default
* @brief Wrapper for default theme plugin.
*
*/

require_once('BootstrapThreeThemePlugin.inc.php');
namespace APP\plugins\themes\bootstrap3;

return new BootstrapThreeThemePlugin();

?>

0 comments on commit 3abff38

Please sign in to comment.