]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/theme.php
Merge branch 'friendica:2022.12-rc' into new_image_presentation
[friendica.git] / view / theme / quattro / theme.php
1 <?php
2 /**
3  * Name: Quattro
4  * Version: 0.6
5  * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
6  * Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
7  * Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
8  */
9
10 use Friendica\App;
11 use Friendica\DI;
12
13 /*
14  * This script can be included even when the app is in maintenance mode which requires us to avoid any config call
15  */
16
17 function quattro_init(App $a) {
18         DI::page()['htmlhead'] .= '<script src="'.DI::baseUrl().'/view/theme/quattro/tinycon.min.js"></script>';
19         DI::page()['htmlhead'] .= '<script src="'.DI::baseUrl().'/view/theme/quattro/js/quattro.js"></script>';;
20 }
21
22 /**
23  * @param int|null $uid
24  * @return null
25  * @see \Friendica\Core\Theme::getBackgroundColor()
26  * @TODO Implement this function
27  */
28 function quattro_get_background_color(int $uid = null)
29 {
30         return null;
31 }
32
33 /**
34  * @param int|null $uid
35  * @return null
36  * @see \Friendica\Core\Theme::getThemeColor()
37  * @TODO Implement this function
38  */
39 function quattro_get_theme_color(int $uid = null)
40 {
41         return null;
42 }