// th_th : special cases, display 2 <th>
// xxx todo : accept optional arguments as an options hash, rather than using the set_ methods which are ugly
-class PlcDetails {
+class PlekitDetails {
var $editable;
var $form;
var $height;
var $input_type;
- function PlcDetails ($editable) {
+ function PlekitDetails ($editable) {
$this->editable=$editable;
$this->form=NULL;
$this->width="";
}
// starts an inner form if the details are editable
- // accpets same args as PlcForm
+ // accpets same args as PlekitForm
function form_start ($url,$values,$method="POST") { print $this->form_start_html($url,$values,$method); return $this->form; }
function form_start_html ($url,$values,$method="POST") {
- $this->form = new PlcForm ($url,$values,$method);
+ $this->form = new PlekitForm ($url,$values,$method);
return $this->form->start_html();
}
$html .= "<input type='$input_type' name='$form_varname' id='$form_varname' value='$value'";
if ($width) $html .= " size=$width";
// handle event callbacks
- $html .= PlcForm::attributes($options);
+ $html .= PlekitForm::attributes($options);
$html .= "/>";
}
$html .= "</td></tr>";