Lines Matching refs:temp

110             $temp = csstidy_optimise::shorthand($this->value); // FIXME - move
111 if($temp != $this->value)
113 …horthand notation ('.$this->property.'): Changed "'.$this->value.'" to "'.$temp.'"','Information');
115 $this->value = $temp;
189 $temp = $this->compress_numbers($this->sub_value);
190 if($temp != $this->sub_value)
192 if(strlen($temp) > strlen($this->sub_value)) {
193 …this->parser->log('Fixed invalid number: Changed "'.$this->sub_value.'" to "'.$temp.'"','Warning');
195 …$this->parser->log('Optimised number: Changed "'.$this->sub_value.'" to "'.$temp.'"','Information'…
197 $this->sub_value = $temp;
201 $temp = $this->cut_color($this->sub_value);
202 if($temp !== $this->sub_value)
205 …->parser->log('Fixed invalid color name: Changed "'.$this->sub_value.'" to "'.$temp.'"','Warning');
207 …$this->parser->log('Optimised color: Changed "'.$this->sub_value.'" to "'.$temp.'"','Information');
209 $this->sub_value = $temp;
377 $temp = explode('/',$subvalue);
381 $temp = array($subvalue);
383 for ($l = 0; $l < count($temp); $l++)
386 …if (!(strlen($temp[$l]) > 0 && ( is_numeric($temp[$l]{0}) || $temp[$l]{0} == '+' || $temp[$l]{0} =…
394 $temp[$l] = '#'.$temp[$l];
397 if (floatval($temp[$l]) == 0)
399 $temp[$l] = '0';
406 if (strpos(strtolower($temp[$l]),$units[$m]) !== FALSE)
408 $temp[$l] = floatval($temp[$l]).$units[$m];
415 $temp[$l] = floatval($temp[$l]).'px';
419 $temp[$l] = floatval($temp[$l]);
424 return ((count($temp) > 1) ? $temp[0].'/'.$temp[1] : $temp[0]);
768 $temp = csstidy_optimise::explode_ws(',',$cur_value);
770 if(isset($temp[$i]))
774 $new_bg_value .= '('.$temp[$i].') ';
778 $new_bg_value .= $temp[$i].' ';