Commit cfe36df
authored
allow customizing HestiaCP with js/php (hestiacp#2747)
* allow customizing HestiaCP with js/php
make a folder where everything that loads init.js will load additional .js/.php files, allowing people to customize their HestiaCP control panels.
I must admit, I have not studied the HestiaCP plugin system, and if it turns out that the plugin system is superior to this folder, please tell me about it :) I couldn't really find documentation on the plugin system
* code-breaking typos
* make CI run again (CI is bugging out)
* simplify code
i think the only thing htmlentities did was to encode "+" characters, which isn't required when using RAWurlencode, and im not even sure it was actually required with normal urlencode.
* DirectoryIterator isn't static-callable
ick
* make CI run again (i think it's bugging out?)1 parent 351c0cf commit cfe36df
File tree
4 files changed
+30
-1
lines changed- web
- js/custom_scripts
- templates
- includes
- pages
4 files changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
46 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
0 commit comments