summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-11-17 12:50:47 -0800
committerChristopher Smith <chris@jalakai.co.uk>2013-11-17 12:50:47 -0800
commit9464f316b5a199fe6921d52a51029d60f5e30ceb (patch)
tree44ac76b534e16cc736255ed49afe82a9cc812375 /lib/exe/css.php
parentad72cb390239ebdbb57f05f2a3c95ad52f6285cd (diff)
parent13054fbf5e7e9dd2c2544a358603cd8f195f9996 (diff)
downloadrpg-9464f316b5a199fe6921d52a51029d60f5e30ceb.tar.gz
rpg-9464f316b5a199fe6921d52a51029d60f5e30ceb.tar.bz2
Merge pull request #406 from splitbrain/remove-deprecated-stuff
Remove deprecated stuff
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 02fc6eab7..c2540cc03 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]));
}
@@ -511,11 +501,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;
}