/* 2006/11 by Volker Augustin, multi.art.studio Hanau */ /* Contact/Kontakt: info@tellmatic.org */ /* Homepage: www.tellmatic.org */ /* leave this header in file! */ /* diesen Header nicht loeschen! */ /* check Homepage for Updates and more Infos */ /* Besuchen Sie die Homepage fuer Updates und weitere Infos */ /********************************************************************************/ $InputName_Submit = "submit"; $InputName_Reset = "reset"; //Form $Form = new tm_SimpleForm(); $FormularName = "adm_set"; //make new Form $Form->new_Form($FormularName, $_SERVER["PHP_SELF"], "post", "_self"); $Form->set_FormType($FormularName, "multipart/form-data"); $Form->set_FormJS($FormularName, " onSubmit=\"switchSection('div_loader');\" "); //add a Description $Form->set_FormDesc($FormularName, ___("Systemeinstellungen ändern")); $Form->new_Input($FormularName, "act", "hidden", $action); $Form->new_Input($FormularName, "set", "hidden", "save"); ////////////////// //add inputfields and buttons.... ////////////////// //Style $Form->new_Input($FormularName, $InputName_Style, "select", ""); $Form->set_InputJS($FormularName, $InputName_Style, " onChange=\"flash('submit','#ff0000');\" "); $Form->set_InputDefault($FormularName, $InputName_Style, ${$InputName_Style}); $Form->set_InputStyleClass($FormularName, $InputName_Style, "mFormSelect", "mFormSelectFocus"); $Form->set_InputDesc($FormularName, $InputName_Style, ___("Layout / Style")); $Form->set_InputReadonly($FormularName, $InputName_Style, false);