Lines Matching refs:css

72 $css = new csstidy();  variable
79 if(isset($_REQUEST['case_properties'])) $css->set_cfg('case_properties',$_REQUEST['case_properties'…
80 if(isset($_REQUEST['lowercase'])) $css->set_cfg('lowercase_s',true);
81 if(!isset($_REQUEST['compress_c']) && isset($_REQUEST['post'])) $css->set_cfg('compress_colors',fal…
82 if(!isset($_REQUEST['compress_fw']) && isset($_REQUEST['post'])) $css->set_cfg('compress_font-weigh…
83 if(isset($_REQUEST['merge_selectors'])) $css->set_cfg('merge_selectors', $_REQUEST['merge_selectors…
84 if(isset($_REQUEST['optimise_shorthands'])) $css->set_cfg('optimise_shorthands',$_REQUEST['optimise…
85 if(!isset($_REQUEST['rbs']) && isset($_REQUEST['post'])) $css->set_cfg('remove_bslash',false);
86 if(isset($_REQUEST['preserve_css'])) $css->set_cfg('preserve_css',true);
87 if(isset($_REQUEST['sort_sel'])) $css->set_cfg('sort_selectors',true);
88 if(isset($_REQUEST['sort_de'])) $css->set_cfg('sort_properties',true);
89 if(isset($_REQUEST['remove_last_sem'])) $css->set_cfg('remove_last_;',true);
90 if(isset($_REQUEST['discard'])) $css->set_cfg('discard_invalid_properties',true);
91 if(isset($_REQUEST['css_level'])) $css->set_cfg('css_level',$_REQUEST['css_level']);
92 if(isset($_REQUEST['timestamp'])) $css->set_cfg('timestamp',true);
100 <?php echo $lang[$l][0]; echo $css->version; ?>)
125 href="http://csstidy.sourceforge.net/">csstidy</a> <?php echo $css->version; ?>)
167 <?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 …(array('0' => $lang[$l][47], '1' => $lang[$l][48], '2' => $lang[$l][49]), $css->get_cfg('merge_sel…
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"'; ?> />
215 <?php if($css->get_cfg('case_properties') == 2) 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"'; ?> />
229 … <?php if($css->get_cfg('discard_invalid_properties')) echo 'checked="checked"'; ?> />
231 …<select name="css_level"><?php echo options(array('CSS2.1','CSS2.0','CSS1.0'),$css->get_cfg('css_l…
235 <?php if($css->get_cfg('timestamp')) echo 'checked="checked"'; ?> />
264 $css->load_template($_REQUEST['custom'],false);
269 $css->load_template('highest_compression');
273 $css->load_template('high_compression');
277 $css->load_template('low_compression');
288 $result = $css->parse_from_url($_REQUEST['url'],0);
292 $result = $css->parse($_REQUEST['css_text']);
297 $ratio = $css->print->get_ratio();
298 $diff = $css->print->get_diff();
304 if(fwrite($handle,$css->print->plain()))
314 if(count($css->log) > 0): ?>
317 foreach($css->log as $line => $array)
328 …echo '<fieldset><legend>'.$lang[$l][37].': '.$css->print->size('input').'KB, '.$lang[$l][38].':'.$
335 echo $css->print->formatted();