aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-08 22:01:57 -0700
committerfriendica <info@friendica.com>2013-07-08 22:01:57 -0700
commit6e012839c9807ce8c3c97bafdca7a36cf5fc58a9 (patch)
treeb3bbb574e058a45ed7d2658a3bc710704164d751 /view/theme/redbasic/php
parentcd40802229a39fe6eabc2dec8784a445e4cd2769 (diff)
downloadvolse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.tar.gz
volse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.tar.bz2
volse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.zip
more work on bug #59 - hope this doesn't hork everything. Also some tweaking of the theme for the new radius control, which produced some surprising results when expert mode was toggled.
Diffstat (limited to 'view/theme/redbasic/php')
-rw-r--r--view/theme/redbasic/php/style.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index ec551923a..b90bfe169 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -54,6 +54,7 @@
// Dark themes are very different - we need to do some of these from scratch, so don't bother setting vars for anything else
if ($colour_scheme === 'dark') {$colour = 'dark'; $navcolour = 'black';}
if ($colour_scheme === 'redbasic'){$navcolour = 'red';}
+ $shadows = false;
}
// This is probably the easiest place to apply global settings. Don't bother with site line height and such. Instead, check pconfig for global user settings.
@@ -133,7 +134,8 @@
if ($displaystyle === "fancy")
{if (file_exists('view/theme/' . current_theme() . '/css/fancy.css')) {
$fancy = (file_get_contents('view/theme/' . current_theme() . '/css/fancy.css'));
- echo "$fancy";}
+ echo str_replace(array('$radius'),array($radius),$fancy);
+ }
}
// Put the # here to force hex colours - if we don't, somebody is going to do something odd, using RGB and we're all going to be confused on the support forums