aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-02 19:54:59 +0000
committerMario <mario@mariovavti.com>2023-06-02 19:54:59 +0000
commitaa2cec103b97e964f0a0c57ef7f6271fb1c4518e (patch)
tree9a4db08e09c30f81dd1c451a58e07ccafc2893fb /view
parent3fb22d27abc6e44eb88a99f8deab971f0ab4b154 (diff)
parenta532a70ac02e3967d87587c210370494c9b32b26 (diff)
downloadvolse-hubzilla-aa2cec103b97e964f0a0c57ef7f6271fb1c4518e.tar.gz
volse-hubzilla-aa2cec103b97e964f0a0c57ef7f6271fb1c4518e.tar.bz2
volse-hubzilla-aa2cec103b97e964f0a0c57ef7f6271fb1c4518e.zip
Merge branch 'dev' into 'dev'
Update 'full' and 'minimal' layouts to use color_mode functionality See merge request hubzilla/core!2039
Diffstat (limited to 'view')
-rw-r--r--view/php/full.php2
-rw-r--r--view/php/minimal.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/php/full.php b/view/php/full.php
index d855fb650..cb554724a 100644
--- a/view/php/full.php
+++ b/view/php/full.php
@@ -9,7 +9,7 @@
*/
?>
<!DOCTYPE html >
-<html prefix="og: http://ogp.me/ns#">
+<html prefix="og: http://ogp.me/ns#" <?php if(x($page,'color_mode')) echo $page['color_mode'] ?>>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo z_root() ?>";</script>
diff --git a/view/php/minimal.php b/view/php/minimal.php
index 3fab0c5f9..b21cefc5e 100644
--- a/view/php/minimal.php
+++ b/view/php/minimal.php
@@ -9,7 +9,7 @@
*/
?>
<!DOCTYPE html >
-<html prefix="og: http://ogp.me/ns#">
+<html prefix="og: http://ogp.me/ns#" <?php if(x($page,'color_mode')) echo $page['color_mode'] ?>>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo z_root() ?>";</script>