*** empty log message ***
This commit is contained in:
parent
4ec5610702
commit
f6f2374b23
11 changed files with 295 additions and 17 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue