$phpbms->cssIncludes[] = "pages/tabs.css"; //Form Elements //============================================================== $theform = new phpbmsForm(); $theinput = new inputField("name", $therecord["name"], NULL, true, NULL, 32, 64); $theinput->setAttribute("class", "important"); $theform->addField($theinput); $theinput = new inputField("displayorder", $therecord["displayorder"], "display order", true, NULL, 10, 10); $theform->addField($theinput); $theinput = new inputRolesList($db, "roleid", $therecord["roleid"], "access (role)"); $theform->addField($theinput); $theinput = new inputChoiceList($db, "tabgroup", $therecord["tabgroup"], "tabgroups", "tab group"); $theform->addField($theinput); $theinput = new inputCheckbox("enableonnew", $therecord["enableonnew"], "enable on new"); $theform->addField($theinput); $thetable->getCustomFieldInfo(); $theform->prepCustomFields($db, $thetable->customFieldsQueryResult, $therecord); $theform->jsMerge(); //============================================================== //End Form Elements include "header.php"; ?> <div class="bodyline"> <?php $theform->startForm($pageTitle); ?> <fieldset id="fsAttributes"> <legend>attributes</legend> <p> <?php