Exemplo n.º 1
0
if (isset($therecord["phpbmsStatus"])) {
    $statusmessage = $therecord["phpbmsStatus"];
}
$pageTitle = "Role";
$phpbms->cssIncludes[] = "pages/roles.css";
$phpbms->jsIncludes[] = "modules/base/javascript/roles.js";
//Form Elements
//==============================================================
$theform = new phpbmsForm();
$theform->onsubmit = "return submitForm(this);";
$theinput = new inputCheckbox("inactive", $therecord["inactive"]);
$theform->addField($theinput);
$theinput = new inputField("name", $therecord["name"], NULL, true, NULL, 28, 64);
$theinput->setAttribute("class", "important");
$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