Home
last modified time | relevance | path

Searched refs:get_cfg (Results 1 – 4 of 4) sorted by relevance

/plugin/freechat/phpfreechat/lib/csstidy-1.2/
H A Dcss_optimiser.php167 <?php if($css->get_cfg('preserve_css')) echo 'checked="checked"'; ?> />
172 <?php if($css->get_cfg('sort_selectors')) echo 'checked="checked"'; ?> />
177 <?php if($css->get_cfg('sort_properties')) echo 'checked="checked"'; ?> />
193 <?php if($css->get_cfg('compress_colors')) echo 'checked="checked"';?> />
198 <?php if($css->get_cfg('compress_font-weight')) echo 'checked="checked"';?> />
203 <?php if($css->get_cfg('lowercase_s')) echo 'checked="checked"'; ?> />
209 <?php if($css->get_cfg('case_properties') == 0) echo 'checked="checked"'; ?> />
212 <?php if($css->get_cfg('case_properties') == 1) echo 'checked="checked"'; ?> />
219 <?php if($css->get_cfg('remove_bslash')) echo 'checked="checked"'; ?> />
224 <?php if($css->get_cfg('remove_last_;')) echo 'checked="checked"'; ?> />
[all …]
H A Dclass.csstidy_print.php127 if (!$this->parser->get_cfg('preserve_css')) {
137 if ($this->parser->get_cfg('timestamp')) {
169 if($this->parser->get_cfg('lowercase_s')) $token[1] = strtolower($token[1]);
175 … if($this->parser->get_cfg('case_properties') == 2) $token[1] = strtoupper($token[1]);
176 … if($this->parser->get_cfg('case_properties') == 1) $token[1] = strtolower($token[1]);
182 … if($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
251 if ($this->parser->get_cfg('sort_selectors')) ksort($val);
258 if ($this->parser->get_cfg('sort_properties')) ksort($vali);
H A Dclass.csstidy.php283 function get_cfg($setting) function in csstidy
319 if($this->get_cfg('preserve_css') || $do) {
386 if($add != '\\' || !$this->get_cfg('remove_bslash') || strpos($tokens, $string{$i+1}) !== false) {
605 … if(csstidy::property_is_valid($this->property) || !$this->get_cfg('discard_invalid_properties')) {
700 if($this->get_cfg('lowercase_s'))
719 …if((!$this->invalid_at || $this->get_cfg('preserve_css')) && (!$this->get_cfg('discard_invalid_pro…
727 if($this->get_cfg('discard_invalid_properties'))
733 …$this->log('Invalid property in '.strtoupper($this->get_cfg('css_level')).': '.$this->property,'Wa…
828 if($this->get_cfg('merge_selectors') == 1)
879 if($this->get_cfg('preserve_css') || trim($new_val) == '') {
[all …]
H A Dclass.csstidy_optimise.php65 if ($this->parser->get_cfg('preserve_css')) {
69 if ($this->parser->get_cfg('merge_selectors') == 2)
77 if ($this->parser->get_cfg('optimise_shorthands') > 0)
85 if ($this->parser->get_cfg('optimise_shorthands') < 2) {
134 … if(!$this->parser->get_cfg('optimise_shorthands') || $this->parser->get_cfg('preserve_css')) {
138 if($this->property == 'background' && $this->parser->get_cfg('optimise_shorthands') > 1)
169 if($this->property == 'font-weight' && $this->parser->get_cfg('compress_font-weight'))
199 if($this->parser->get_cfg('compress_colors'))