diff options
author | martin.tschofen <martin.tschofen@gmail.com> | 2007-02-11 03:41:10 +0100 |
---|---|---|
committer | martin.tschofen <martin.tschofen@gmail.com> | 2007-02-11 03:41:10 +0100 |
commit | 7aaa4c4643ed8f22cd32ce1018e56fc58b46ea89 (patch) | |
tree | 769394a6c5746480547151225312ee06ea24ea18 /lib/exe | |
parent | 51424dff976c39df6e9b5eb0bec638c6e0b079a0 (diff) | |
download | rpg-7aaa4c4643ed8f22cd32ce1018e56fc58b46ea89.tar.gz rpg-7aaa4c4643ed8f22cd32ce1018e56fc58b46ea89.tar.bz2 |
all style sheet addition
darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/css.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index c73093d56..c1e2744eb 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -31,6 +31,7 @@ function css_out(){ global $conf; global $lang; switch ($_REQUEST['s']) { + case 'all': case 'print': case 'feed': $style = $_REQUEST['s']; @@ -55,7 +56,7 @@ function css_out(){ // Array of needed files and their web locations, the latter ones // are needed to fix relative paths in the stylesheets $files = array(); - if (isset($tplstyles['all'])) $files = array_merge($files, $tplstyles['all']); + //if (isset($tplstyles['all'])) $files = array_merge($files, $tplstyles['all']); if(!empty($style)){ $files[DOKU_INC.'lib/styles/'.$style.'.css'] = DOKU_BASE.'lib/styles/'; // load plugin, template, user styles @@ -247,16 +248,15 @@ function css_pluginstyles($mode='screen'){ $list = array(); $plugins = plugin_list(); foreach ($plugins as $p){ - if($mode == 'print'){ - $list[DOKU_PLUGIN."$p/print.css"] = DOKU_BASE."lib/plugins/$p/"; + if($mode == 'all'){ $list[DOKU_PLUGIN."$p/all.css"] = DOKU_BASE."lib/plugins/$p/"; + }elseif($mode == 'print'){ + $list[DOKU_PLUGIN."$p/print.css"] = DOKU_BASE."lib/plugins/$p/"; }elseif($mode == 'feed'){ $list[DOKU_PLUGIN."$p/feed.css"] = DOKU_BASE."lib/plugins/$p/"; - $list[DOKU_PLUGIN."$p/all.css"] = DOKU_BASE."lib/plugins/$p/"; }else{ $list[DOKU_PLUGIN."$p/style.css"] = DOKU_BASE."lib/plugins/$p/"; $list[DOKU_PLUGIN."$p/screen.css"] = DOKU_BASE."lib/plugins/$p/"; - $list[DOKU_PLUGIN."$p/all.css"] = DOKU_BASE."lib/plugins/$p/"; } } return $list; |