%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/themes/modern/ |
Upload File : |
<?php
/**
* @file ModernTheme.inc.php
*
* @class ModernThemePlugin
* @ingroup plugins_themes_modernThemePluginPlugin
*
* @brief "ModernTheme" theme plugin
*/
// $Id$
import('classes.plugins.ThemePlugin');
class ModernThemePlugin extends ThemePlugin {
/**
* Get the name of this plugin. The name must be unique within
* its category.
* @return String name of plugin
*/
function getName() {
return 'ModernThemePlugin';
}
function getDisplayName() {
return 'Modern Theme';
}
function getDescription() {
return 'A more modern, responsive theme for OJS';
}
function activate(&$templateMgr) {
$templateMgr->template_dir[0] = Core::getBaseDir()
. DIRECTORY_SEPARATOR
. 'plugins'
. DIRECTORY_SEPARATOR
. 'themes'
. DIRECTORY_SEPARATOR
. 'modern'
. DIRECTORY_SEPARATOR
. 'templates';
$templateMgr->compile_id = 'modernTheme';
}
}
?>