2012-04-13 09:21:15 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Name: Quattro
|
2013-10-22 17:55:36 +00:00
|
|
|
* Version: 0.6
|
2012-04-13 09:21:15 +00:00
|
|
|
* Author: Fabio <http://kirgroup.com/profile/fabrixxm>
|
|
|
|
* Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
|
2012-10-19 04:51:45 +00:00
|
|
|
* Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
|
2012-04-13 09:21:15 +00:00
|
|
|
*/
|
2012-06-04 09:49:16 +00:00
|
|
|
|
2017-04-30 04:07:00 +00:00
|
|
|
use Friendica\App;
|
2019-12-30 19:02:09 +00:00
|
|
|
use Friendica\DI;
|
2017-04-30 04:07:00 +00:00
|
|
|
|
2022-07-12 23:48:36 +00:00
|
|
|
/*
|
|
|
|
* This script can be included even when the app is in maintenance mode which requires us to avoid any config call
|
|
|
|
*/
|
|
|
|
|
2017-01-09 12:06:08 +00:00
|
|
|
function quattro_init(App $a) {
|
2019-12-30 22:00:08 +00:00
|
|
|
DI::page()['htmlhead'] .= '<script src="'.DI::baseUrl().'/view/theme/quattro/tinycon.min.js"></script>';
|
|
|
|
DI::page()['htmlhead'] .= '<script src="'.DI::baseUrl().'/view/theme/quattro/js/quattro.js"></script>';;
|
2012-06-04 09:49:16 +00:00
|
|
|
}
|
2020-02-19 15:28:57 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int|null $uid
|
|
|
|
* @return null
|
|
|
|
* @see \Friendica\Core\Theme::getBackgroundColor()
|
|
|
|
* @TODO Implement this function
|
|
|
|
*/
|
|
|
|
function quattro_get_background_color(int $uid = null)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int|null $uid
|
|
|
|
* @return null
|
|
|
|
* @see \Friendica\Core\Theme::getThemeColor()
|
|
|
|
* @TODO Implement this function
|
|
|
|
*/
|
|
|
|
function quattro_get_theme_color(int $uid = null)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|