Home
last modified time | relevance | path

Searched refs:replacements (Results 1 - 7 of 7) sorted by relevance

/dokuwiki/inc/
H A DManifest.php35 $replacements = $styleIni['replacements']; variable
38 $manifest['background_color'] = $replacements['__background__'];
42 $manifest['theme_color'] = !empty($replacements['__theme_color__'])
43 ? $replacements['__theme_color__']
44 : $replacements['__background_alt__'];
H A DStyleUtils.php19 /** @var array default replacements to be merged with custom style configs */
58 * @return array with keys 'stylesheets' and 'replacements'
72 $replacements = $this->defaultReplacements; variable
85 $combined['replacements'] = [];
113 if (is_array($config['replacements'])) {
114 $replacements = array_replace( variable
115 $replacements,
116 $this->cssFixreplacementurls($config['replacements'], $webbase)
118 $combined['replacements'] = array_merge($combined['replacements'],
[all...]
H A DMailer.class.php35 protected $replacements = array('text'=> array(), 'html' => array()); variable
40 * Initializes the boundary strings, part counters and token replacements
181 * Set the text and HTML body and apply replacements
183 * This function applies a whole bunch of default replacements in addition
186 * If you pass the HTML part or HTML replacements yourself you have to make
190 * @param array $textrep replacements to apply on the text part
191 * @param array $htmlrep replacements to apply on the HTML part, null to use $textrep (urls wrapped in <a> tags)
218 // copy over all replacements missing for HTML (autolink URLs)
234 // add default token replacements
235 $trep = array_merge($this->replacements['tex
[all...]
H A Dtemplate.php252 $replacements = $styleIni['replacements']; variable
253 if (!empty($replacements['__theme_color__'])) {
254 $head['meta'][] = array('name' => 'theme-color', 'content' => $replacements['__theme_color__']);
/dokuwiki/lib/plugins/styling/
H A Dadmin.php65 $replacements = $styleini['replacements']; variable
73 if (empty($replacements)) {
81 foreach ($replacements as $key => $value) {
166 * deletes the local style.ini replacements
175 * save the local style.ini replacements
192 $ini = "[replacements]\n";
213 $old = preg_replace('/\[replacements\]\n.*?(\n\[.*]|$)/s', '\\1', $old);
/dokuwiki/lib/exe/
H A Dcss.php167 // apply style replacements
168 $css = css_applystyle($css, $styleini['replacements']);
249 * Does placeholder replacements in the style according to
258 * @param array $replacements array(placeholder => value)
261 function css_applystyle($css, $replacements) {
262 // we convert ini replacements to LESS variable names
265 foreach((array) $replacements as $key => $value) {
270 $replacements[$key] = $lkey;
273 // we now replace all old ini replacements with LESS variables
274 $css = strtr($css, $replacements);
464 public function replacements($match) { global() function
[all...]
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php3200 // BenBE: Fix to reduce the number of replacements to be done
3232 * Handles replacements of keywords to include markup and links if requested
4206 $keywords = $replacements = array();
4210 $replacements[] = $replacements[] = number_format($time = $this->get_time(), 3);
4214 $replacements[] = $replacements[] = $this->language_data['LANG_NAME'];
4218 $replacements[] = $replacements[] = GESHI_VERSION;
4232 $replacements[]
[all...]

Completed in 15 milliseconds