Example #1
0
 public function print_choice($i, $v)
 {
     echo X::tr(array('onclick' => 'check_this_row(this)'), X::td(X::input(array('type' => 'checkbox', 'name' => "info[{$i}][check]", 'value' => $i, 'id' => 'check-' . (int) $v['infix'], 'onclick' => 'event.stopPropagation()'))), X::td($v['desc'], X::input(array('type' => 'hidden', 'name' => "info[{$i}][url]", 'value' => $v['url'])), X::input(array('type' => 'hidden', 'name' => "info[{$i}][desc]", 'value' => $v['desc']))), X::td(X::input(array('class' => 'span1', 'type' => 'text', 'name' => "info[{$i}][infix]", 'value' => $v['infix'], 'onclick' => 'event.stopPropagation()'))));
 }