]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/theme.php
Merge remote-tracking branch 'upstream/develop' into more-q
[friendica.git] / view / theme / quattro / theme.php
index 5647fd493a88e1cd3f20a322df9abd54bb5af8e0..3ff9302c85abe199ffb7eecc92348b9c3bce5e7d 100644 (file)
@@ -8,8 +8,31 @@
  */
 
 use Friendica\App;
+use Friendica\DI;
 
 function quattro_init(App $a) {
-       $a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/tinycon.min.js"></script>';
-       $a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/js/quattro.js"></script>';;
+       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>';;
+}
+
+/**
+ * @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;
 }