getUser()->checkFormRight($classType,$arg)){
$str .= "
";
$str .= " | ".$form[$arg]->renderLabel()." | ";
$str .= " ".$form[$arg]->renderError().$form[$arg];
if(isset($comments[$x]) && !empty($comments[$x])) $str .= $comments[$x++];
$str .= " | ";
$str .= "
";
}
endforeach;
return $str;
}
function getTitles($args){
$ret_arg = array();
$titles = array_keys($args);
foreach($titles as $title):
if(!empty($args[$title])) $ret_arg[] = $title;
endforeach;
return $ret_arg;
}