diff options
author | Anika Henke <anika@selfthinker.org> | 2013-11-04 01:17:09 +0000 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-11-04 01:17:09 +0000 |
commit | 8c867678811e7f91159175c41ef4722a2fc5308c (patch) | |
tree | a762f90c472be3d73cd2047629a9b49c6e9e4d04 /lib/exe/css.php | |
parent | c8bbb09431bd7819e045a455a4ec4d85eff781b1 (diff) | |
download | rpg-8c867678811e7f91159175c41ef4722a2fc5308c.tar.gz rpg-8c867678811e7f91159175c41ef4722a2fc5308c.tar.bz2 |
removed loading of deprecated RTL styles
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r-- | lib/exe/css.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index f0bd24b43..87fb779eb 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -84,16 +84,6 @@ function css_out(){ if(isset($config_cascade['userstyle'][$mediatype])){ $files[$mediatype][$config_cascade['userstyle'][$mediatype]] = DOKU_BASE; } - // load rtl styles - // note: this adds the rtl styles only to the 'screen' media type - // @deprecated 2012-04-09: rtl will cease to be a mode of its own, - // please use "[dir=rtl]" in any css file in all, screen or print mode instead - if ($mediatype=='screen') { - if($lang['direction'] == 'rtl'){ - if (isset($styleini['stylesheets']['rtl'])) $files[$mediatype] = array_merge($files[$mediatype], $styleini['stylesheets']['rtl']); - if (isset($config_cascade['userstyle']['rtl'])) $files[$mediatype][$config_cascade['userstyle']['rtl']] = DOKU_BASE; - } - } $cache_files = array_merge($cache_files, array_keys($files[$mediatype])); } @@ -447,11 +437,6 @@ function css_pluginstyles($mediatype='screen'){ $list[DOKU_PLUGIN."$p/style.css"] = DOKU_BASE."lib/plugins/$p/"; $list[DOKU_PLUGIN."$p/style.less"] = DOKU_BASE."lib/plugins/$p/"; } - // @deprecated 2012-04-09: rtl will cease to be a mode of its own, - // please use "[dir=rtl]" in any css file in all, screen or print mode instead - if($lang['direction'] == 'rtl'){ - $list[DOKU_PLUGIN."$p/rtl.css"] = DOKU_BASE."lib/plugins/$p/"; - } } return $list; } |