Lines Matching +full:style +full:. +full:local +full:. +full:ini

8  * Reads and applies the template's style.ini settings
18 /** @var array default replacements to be merged with custom style configs */
32 * StyleUtils constructor.
35 * @param bool $reinit whether static style conf should be reinitialized
49 * Load style ini contents
51 * Loads and merges style.ini files from template and config and prepares
54 * @author Andreas Gohr <andi@splitbrain.org>
55 * @author Anna Dabrowska <info@cosmocode.de>
80 $config_cascade['styleini']['local'][] = $conf['cachedir'] . '/preview.ini';
86 foreach (['default', 'local', 'protected'] as $config_group) {
96 $incbase = dirname($inifile) . '/';
103 // validate and include style files
127 * Checks if configured style files exist and, if necessary, adjusts file extensions in config
139 if (!file_exists($incbase . $file)) {
140 [$extension, $basename] = array_map('strrev', sexplode('.', strrev($file), 2, ''));
142 if (file_exists($incbase . $basename . '.' . $newExtension)) {
143 $stylesheets[$mode][$incbase . $basename . '.' . $newExtension] = $webbase;
145 msg("Stylesheet $file not found, using $basename.$newExtension instead. " .
146 "Please contact developer of \"$this->tpl\" template.", 2);
149 msg("Stylesheet $file not found, please contact the developer of \"$this->tpl\" template.", 2);
152 $stylesheets[$mode][fullpath($incbase . $file)] = $webbase;
157 * Returns the web base path for the given level/group in config cascade.
158 * Style resources are relative to the template directory for the main (default) styles
176 * @author Chris Smith <chris@jalakai.co.uk>
187 '\\1' . $location,