Lines Matching +full:format +(+path:plugin +path:odt) -(+path:plugin +path:odt +path:lang)
32 …'desc' => 'Loads standard DokuWiki, plugin specific and format specific CSS files and templates.…
34 '$format' => 'string',
44 * @param $format
48 public function load($plugin_name, $format, $template) { argument
55 // Always only use small letters in format
56 $format = strtolower ($format);
87 $this->css_pluginFormatStyles($format),
111 } else if (strpos ($file, $format.'.css') !== false ||
112 strpos ($file, $format.'.less') !== false) {
160 * Returns a list of possible Plugin Styles for format $format
162 * Checks for a $format.'.css', falls back to print.css
166 * @param string $format
169 protected function css_pluginFormatStyles($format) { argument
181 // Do $format.css (e.g. odt.css) or print.css exists?
182 $format_css = file_exists(DOKU_PLUGIN . $p ."/". $format .".css");
183 $format_less = file_exists(DOKU_PLUGIN . $p ."/". $format .".less");
187 $list[DOKU_PLUGIN . $p ."/". $format .".css"] = DOKU_INC . "lib/plugins/". $p ."/";
188 $list[DOKU_PLUGIN . $p ."/". $format .".less"] = DOKU_INC . "lib/plugins/". $p ."/";