forked from pkp/bootstrap3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBootstrapThreeThemePlugin.inc.php
61 lines (54 loc) · 1.34 KB
/
BootstrapThreeThemePlugin.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/**
* @file plugins/themes/default/BootstrapThreeThemePlugin.inc.php
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2003-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class BootstrapThreeThemePlugin
* @ingroup plugins_themes_bootstrap3
*
* @brief Default theme
*/
import('lib.pkp.classes.plugins.ThemePlugin');
class BootstrapThreeThemePlugin extends ThemePlugin {
/**
* Get the name of the settings file to be installed on new journal
* creation.
* @return string
*/
function getContextSpecificPluginSettingsFile() {
error_log( 'hello' );
return $this->getPluginPath() . '/settings.xml';
}
/**
* Get the name of the settings file to be installed site-wide when
* OJS is installed.
* @return string
*/
function getInstallSitePluginSettingsFile() {
return $this->getPluginPath() . '/settings.xml';
}
/**
* Get the display name of this plugin
* @return string
*/
function getDisplayName() {
error_log( 'hmm' );
return __('plugins.themes.default.name');
}
/**
* Get the description of this plugin
* @return string
*/
function getDescription() {
return __('plugins.themes.default.description');
}
/**
* @see ThemePlugin::getLessStylesheet
*/
function getLessStylesheet() {
return 'styles/index.less';
}
}