Lines Matching refs:val

298    function html_option($val, $selected=false) {  argument
299 $val = trim($val);
301 return '<option value="'. $val .'">' . $val .'</option>';
303 return '<option value="' .$val . '" selected>' . $val . '</option>';
469 foreach($query as $col=>$val) {
472 $author = $this->construct_term('author',$val);
475 if($val != 'any') {
476 $branch = $this->construct_term('gitbranch',$val);
480 $term1 = $this->construct_term('msg',$val);
483 $term2 = $this->construct_term('msg',$val);
486 $date_1 = $this->get_timestamp($val);
489 $date_2 = $this->get_timestamp($val);
540 foreach ($row as $col=>$val) {
544 $msg = hsc($val);
546 $msg = preg_replace($regex,"<span class='dwc_hilite'>$1</span>",$val);
551 $date = date("D M d H:i:s Y" ,$val);
555 $commit = $this->format_commit_url($val);
557 else $commit = $val;
560 $branch = $val;
563 list($name,$email) = explode('<',$val);
611 foreach ($row as $col=>$val) {
615 $val = wordwrap($val, 80,"\n");
616 $val = hsc($val);
618 $val = preg_replace($regex,"<span class='dwc_hilite'>$1</span>",$val);
623 $val = date("D M d H:i:s Y" ,$val);
628 $result .= $this->format_commit_url($val);
643 $result .= "$val\n";
649 function format_commit_url($val) { argument
650 $url = $this->commit_url . $val;
651 return "<a href='$url' target='commitwin'>$val</a>\n";
654 function construct_term($col,$val) { argument
655 if($val) return " $col LIKE '%$val%' ";
727 list($key,$val) = each($arr);
728 return($val);
806 foreach($inf as $val=>$entry) {
809 …$output .= '&nbsp;&nbsp;&nbsp;<input type = "checkbox" value = "'. $val. '" name="prune[' .$entry.…