Home
last modified time | relevance | path

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

/plugin/freechat/phpfreechat/lib/csstidy-1.2/
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"'; ?> />
183 …'0' => $lang[$l][47], '1' => $lang[$l][48], '2' => $lang[$l][49]), $css->get_cfg('merge_selectors'…
188 …<?php echo options(array($lang[$l][54], $lang[$l][55], $lang[$l][56]), $css->get_cfg('optimise_sho…
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"'; ?> />
[all …]
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);
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 …]
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'))
/plugin/pagecss/vendor/csstidy-2.2.1/
H A Dcss_optimiser.php257 <?php if ($css->get_cfg('preserve_css')) echo 'checked="checked"'; ?> />
262 <?php if ($css->get_cfg('sort_selectors')) echo 'checked="checked"'; ?> />
267 <?php if ($css->get_cfg('sort_properties')) echo 'checked="checked"'; ?> />
273 …'0' => $lang[$l][47], '1' => $lang[$l][48], '2' => $lang[$l][49]), $css->get_cfg('merge_selectors'…
278 …<?php echo options(array($lang[$l][54], $lang[$l][55], $lang[$l][56]), $css->get_cfg('optimise_sho…
283 <?php if ($css->get_cfg('compress_colors')) echo 'checked="checked"';?> />
288 <?php if ($css->get_cfg('compress_font-weight')) echo 'checked="checked"';?> />
293 <?php if ($css->get_cfg('lowercase_s')) echo 'checked="checked"'; ?> />
299 <?php if ($css->get_cfg('case_properties') === 0) echo 'checked="checked"'; ?> />
302 <?php if ($css->get_cfg('case_properties') === 1) echo 'checked="checked"'; ?> />
[all …]
H A Dclass.csstidy_print.php186 if (!$this->parser->get_cfg('preserve_css')) {
196 if ($this->parser->get_cfg('timestamp')) {
245 if ($this->parser->get_cfg('lowercase_s'))
252 if ($this->parser->get_cfg('case_properties') === 2) {
254 } elseif ($this->parser->get_cfg('case_properties') === 1) {
262 if ($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
348 $sort_selectors = $this->parser->get_cfg('sort_selectors');
349 $sort_properties = $this->parser->get_cfg('sort_properties');
H A Dclass.csstidy.php322 public function get_cfg($setting) { function in csstidy
395 if ($this->get_cfg('preserve_css') || $do) {
464 …if ($add !== '\\' || !$this->get_cfg('remove_bslash') || strpos($this->tokens_list, $string[$i + 1…
716 … if (!$this->get_cfg('discard_invalid_properties') || $this->property_is_valid($this->property)) {
802 if ($this->get_cfg('lowercase_s')) {
827 …if ((!$this->invalid_at || $this->get_cfg('preserve_css')) && (!$this->get_cfg('discard_invalid_pr…
833 if ($this->get_cfg('discard_invalid_properties')) {
836 …$this->log('Invalid property in ' . strtoupper($this->get_cfg('css_level')) . ': ' . $this->proper…
1005 if ($this->get_cfg('merge_selectors') === 1) {
1049 if ($this->get_cfg('preserve_css') || trim($comment) == '') {
[all …]
H A Dclass.csstidy_optimise.php80 if ($this->parser->get_cfg('reverse_left_and_right') > 0) {
92 if ($this->parser->get_cfg('preserve_css')) {
96 if ((int)$this->parser->get_cfg('merge_selectors') === 2) {
104 if ($this->parser->get_cfg('discard_invalid_selectors')) {
112 if ($this->parser->get_cfg('optimise_shorthands') > 0) {
119 if ($this->parser->get_cfg('optimise_shorthands') < 2) {
125 if ($this->parser->get_cfg('optimise_shorthands') < 3) {
170 if (!$this->parser->get_cfg('optimise_shorthands') || $this->parser->get_cfg('preserve_css')) {
174 if ($this->property === 'font' && $this->parser->get_cfg('optimise_shorthands') > 1) {
178 if ($this->property === 'background' && $this->parser->get_cfg('optimise_shorthands') > 2) {
[all …]