-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.php
102 lines (83 loc) · 1.81 KB
/
Config.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
/**
* @package Theme Customs
* @author Diego Andrés <[email protected]>
* @copyright Copyright (c) 2023, SMF Tricks
* @license MIT
*/
namespace ThemeCustoms;
use ThemeCustoms\Theme\Init;
class Config extends Init
{
/**
* @var string Theme Name
*/
protected string $name = 'Reseller';
/**
* @var string Theme Version
*/
protected string $version = '2.0.10';
/**
* @var string Theme Author
*/
protected string $author = 'Diego Andrés';
/**
* @var int Theme Author SMF ID
*/
protected int $authorId = 254071;
/**
* @var string Theme Default Color
*/
protected string $color = '#3498DB';
/**
* @var string GitHub URL
*/
protected string $github = 'https://github.com/SMFTricks/Reseller';
/**
* @var int SMF Customization Site ID
*/
protected int $customizationId = 2806;
/**
* @var string Theme Support Topic ID
*/
protected int $customizationSupport = 525855;
/**
* @var string Custom Support URL
*/
protected string $supportURL = 'https://smftricks.com/index.php?topic=559.0';
/**
* @var bool Add the quick new topic button
*/
public bool $quickNewTopic = true;
/**
* @var bool Wheter to include bootstrap
*/
public bool $bootstrap = true;
/**
* @var bool Enable Compat with SMF 3.0 styles
*/
public bool $stylesCompat = true;
/**
* @var bool Using custom for the theme
*/
public bool $customFonts = false;
/**
* Init::loadHooks()
*/
public function loadHooks() : void
{
// // Load Custom JS
// add_integration_function('integrate_pre_javascript_output', __CLASS__ . '::js', false, '$themedir/themecustoms/Init.php');
}
/**
* Load custom javascript
*/
public static function js() : void
{
// Custom js
loadJavascriptFile('custom.js', [
'force_current' => true,
'defer' => true,
], 'themecustom_js');
}
}