aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-26 19:56:25 -0700
committerfriendica <info@friendica.com>2012-04-26 19:56:25 -0700
commitdd33599a1d59445c185cbca58cd1fed9636b3cce (patch)
tree2e6da731f895e626bc4bd1fe386e6590954513b1 /view/theme
parent3c6cf1f19ce783fe1b3b735cc405bf052d25aad7 (diff)
parent6c1ab2762685e990f906f85cc04f5420baa3c488 (diff)
downloadvolse-hubzilla-dd33599a1d59445c185cbca58cd1fed9636b3cce.tar.gz
volse-hubzilla-dd33599a1d59445c185cbca58cd1fed9636b3cce.tar.bz2
volse-hubzilla-dd33599a1d59445c185cbca58cd1fed9636b3cce.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/dispy/style.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/theme/dispy/style.php b/view/theme/dispy/style.php
index c0706af63..f666e2768 100644
--- a/view/theme/dispy/style.php
+++ b/view/theme/dispy/style.php
@@ -2,15 +2,15 @@
$line_height = false;
$dispy_font_size = false;
$resolution = false;
- $color = false;
+ $colour = false;
$site_line_height = get_config("dispy","line_height");
$site_dispy_font_size = get_config("dispy", "font_size" );
- $site_color = get_config("dispy", "colour" );
+ $site_colour = get_config("dispy", "colour" );
if (local_user()) {
$line_height = get_pconfig(local_user(), "dispy","line_height");
$dispy_font_size = get_pconfig(local_user(), "dispy", "font_size");
- $color = get_pconfig(local_user(), "dispy", "colour");
+ $colour = get_pconfig(local_user(), "dispy", "colour");
}
if ($line_height === false) { $line_height = $site_line_height; }
@@ -20,7 +20,7 @@
if ($colour === false) { $colour = $site_colour; }
if ($colour === false) { $colour = "light"; }
- if($color == "light") {
+ if($colour == "light") {
if (file_exists("$THEMEPATH/light/style.css")) {
echo file_get_contents("$THEMEPATH/light/style.css");
}
@@ -134,7 +134,7 @@
}
}
- if($color == "dark") {
+ if($colour == "dark") {
if (file_exists("$THEMEPATH/dark/style.css")) {
echo file_get_contents("$THEMEPATH/dark/style.css");
}