" style='width:140px;' /></td></tr> <tr><td><label for='privilegeID'><b>Privilege</b></label</td> <td> <fieldset id="fieldsetPrivilege"> <a title = "Add/Edit users can add, edit, or remove licenses and associated fields<br /><br />Admin users have access to the Admin page and the SFX tab.<br /><br />Restricted users do not have the ability to view documents<br /><br />View only users can view all license information, including the license pdf" href=""><img src='images/help.gif'></a> </fieldset> <div id="footnote_priv" style='display:none;'>Add/Edit users can add, edit, or remove licenses and associated fields<br /><br />Admin users have access to the Admin page and the SFX tab.<br /><br />Restricted users do not have the ability to view documents<br /><br />View only users can view all license information, including the license pdf</div> </td> <td> <select name='privilegeID' id='privilegeID' style='width:145px'> <?php $display = array(); $privilege = new Privilege(); foreach ($privilege->allAsArray() as $display) { if ($updateUser->privilegeID == $display['privilegeID']) { echo "<option value='" . $display['privilegeID'] . "' selected>" . $display['shortName'] . "</option>"; } else { echo "<option value='" . $display['privilegeID'] . "'>" . $display['shortName'] . "</option>"; } } ?> </select> </td> </tr> <?php //if not configured to use SFX, hide the Terms Tool Report if ($util->useTermsTool()) { ?>
<?php if (isset($_GET['loginID'])) { $loginID = $_GET['loginID']; } else { $loginID = ''; } $user = new User(new NamedArguments(array('primaryKey' => $loginID))); //get all roles for output in drop down $privilegeArray = array(); $privilegeObj = new Privilege(); $privilegeArray = $privilegeObj->allAsArray(); if ($user->accountTabIndicator == '1') { $accountTab = 'checked'; } else { $accountTab = ''; } ?> <div id='div_updateForm'> <input type='hidden' id='editLoginID' value='<?php echo $loginID; ?> '> <div class='formTitle' style='width:295px;'><span class='headerText' style='margin-left:7px;'><?php if ($loginID) { echo _("Edit User"); } else { echo _("Add New User"); }