summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/exe/css.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index c1e2744eb..02425a990 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -31,7 +31,7 @@ function css_out(){
global $conf;
global $lang;
switch ($_REQUEST['s']) {
- case 'all':
+ case 'all':
case 'print':
case 'feed':
$style = $_REQUEST['s'];
@@ -147,7 +147,7 @@ function css_cacheok($cache,$files){
}
/**
- * Does placeholder replacements in the style according to
+ * Does placeholder replacements in the style according to
* the ones defined in a templates style.ini file
*
* @author Andreas Gohr <andi@splitbrain.org>
@@ -245,6 +245,7 @@ function css_loadfile($file,$location=''){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_pluginstyles($mode='screen'){
+ global $lang;
$list = array();
$plugins = plugin_list();
foreach ($plugins as $p){
@@ -258,6 +259,9 @@ function css_pluginstyles($mode='screen'){
$list[DOKU_PLUGIN."$p/style.css"] = DOKU_BASE."lib/plugins/$p/";
$list[DOKU_PLUGIN."$p/screen.css"] = DOKU_BASE."lib/plugins/$p/";
}
+ if($lang['direction'] == 'rtl'){
+ $list[DOKU_PLUGIN."$p/rtl.css"] = DOKU_BASE."lib/plugins/$p/";
+ }
}
return $list;
}