*** empty log message ***

This commit is contained in:
sebastian 2005-02-28 18:15:50 +00:00
parent 4ec5610702
commit f6f2374b23
11 changed files with 295 additions and 17 deletions

View file

@ -391,13 +391,10 @@ class uiBrowser extends uiBase {
$this->_parseArr2Form($form, $mask['buttons']);
$form->addElement('static', NULL, NULL, "</div id='div_$key'>");
}
## using Dynamic Smarty Renderer
$renderer =& new HTML_QuickForm_Renderer_Array(true, true);
$form->accept($renderer);
$output['pages'][] = $renderer->toArray();
#print_r($output);
return $output;
}
@ -406,18 +403,13 @@ class uiBrowser extends uiBase {
function changeStationPrefs(&$mask)
{
$form = new HTML_QuickForm('changeStationPrefs', UI_STANDARD_FORM_METHOD, UI_HANDLER);
foreach($mask as $key=>$val) {
$p = $this->gb->loadGroupPref($this->sessid, 'StationPrefs', $val['element']);
if (is_string($p)) $mask[$key]['default'] = $p;
};
$this->_parseArr2Form($form, $mask);
## using Dynamic Smarty Renderer
$renderer =& new HTML_QuickForm_Renderer_Array(true, true);
$form->accept($renderer);
return $renderer->toArray();
}
}