summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-07-30 12:07:15 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-07-30 12:07:15 +0200
commitc51b334ee77310dc0055311092f224be0342cd65 (patch)
tree82921254780fa3d4825e65bd413576b0b8614329 /lib/exe/css.php
parent559615acce5ffe51bd54e87dc1ab02dd5769b0ff (diff)
downloadrpg-c51b334ee77310dc0055311092f224be0342cd65.tar.gz
rpg-c51b334ee77310dc0055311092f224be0342cd65.tar.bz2
fixed ini replacement to less variables stuff
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 4a9c825c1..04516e8ba 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -191,11 +191,13 @@ function css_applystyle($css,$tplinc){
$css = strtr($css,$styleini['replacements']);
$less = '';
- foreach($styleini as $key => $value){
+ foreach($styleini['replacements'] as $key => $value){
$key = trim($key, '_');
$key = '@ini_'.$key;
- $less .= "$key: $value\n";
+ $less .= "$key: $value;\n";
}
+
+ $css = $less.$css;
}
return $css;
}