public function absoluteContent(){ if (!$this->crossInfo[_ADMINPAGE::USERS_LIST]){ echo "No User Selected"; return; } echo "<h2>Manage User</h2>"; if (isset($this->crossInfo[RESULTS])){ echo $this->crossInfo[RESULTS]; } echo _FORM::_FormBegin('createuser', URL_PAGE_ADMIN."?".ACTION."="._ADMINPAGE::USERS_MANAGE."&".USERS_USERID."=".$this->crossInfo[_ADMINPAGE::USERS_LIST]->getUserID()); echo _FORM::Hidden(ACTION_GO, 1); echoln(" <table>"); echoln(" <tr>"); echoln(" <td>Username:</td>"); echoln(" <td>".$this->crossInfo[_ADMINPAGE::USERS_LIST]->getUsername()."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Password:</td>"); echoln(" <td>"._FORM::Text(USERS_PASSWORD, "", 40, 40)."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Email:</td>"); echoln(" <td>"._FORM::Text(USERS_EMAIL, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getEmail(), 40, 60)."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Secret Question:</td>"); echoln(" <td>"._FORM::Text(USERS_SECRETQUESTION, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getSecretQuestion(), 40, 255)."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Secret Answer:</td>"); echoln(" <td>"._FORM::Text(USERS_SECRETANSWER, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getSecretAnswer(), 40, 255)."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Download From Site:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_CANDOWNLOAD, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getCanDownload())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Upload To Site:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_CANUPLOAD, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getCanUpload())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Send Private Messages:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_CANMESSAGE, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getCanMessage())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Create Content For Self:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_CANCDSELF, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getCanCDSelf())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Create Content For Others:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_CANCDOTHER, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getCanCDOther())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Is Family:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_ISFAMILY, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getIsFamily())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Log User Activity:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_ISLOGGED, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getIsLogged())."</td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Can Create Content Without Permission:</td>"); echoln(" <td>"._FORM::CheckBox(USERS_ISPERMISSIONED, 1, $this->crossInfo[_ADMINPAGE::USERS_LIST]->getIsPermissioned())."</td>"); echoln(" </tr>"); $defaultright = $this->crossInfo[_ADMINPAGE::USERS_LIST]->getDefaultRight(); echoln(" <tr>"); echoln(" <td>Default Right:</td>"); echoln(" <td>"); echoln(" "._FORM::SelectBegin(USERS_DEFAULTRIGHT)); echoln(" "._FORM::Option("None", USERS_DEFAULTRIGHT_NONE, $defaultright==USERS_DEFAULTRIGHT_NONE)); echoln(" "._FORM::Option("Can View Everything", USERS_DEFAULTRIGHT_SEE, $defaultright==USERS_DEFAULTRIGHT_SEE)); echoln(" "._FORM::Option("Can Comment On Everything", USERS_DEFAULTRIGHT_COMMENT, $defaultright==USERS_DEFAULTRIGHT_COMMENT)); echoln(" "._FORM::Option("Can Change Any User Content", USERS_DEFAULTRIGHT_WRITE, $defaultright==USERS_DEFAULTRIGHT_WRITE)); echoln(" "._FORM::SelectEnd()); echoln(" </td>"); echoln(" </tr>"); echoln(" <tr>"); echoln(" <td>Your Notes (can only be viewed by you):</td>"); echoln(" <td>"._FORM::Text(USERS_MASTERNOTES, addslashes($this->crossInfo[_ADMINPAGE::USERS_LIST]->getMasterNotes()), 40, 255)."</td>"); echoln(" </tr>"); echoln(" </table>"); echo _FORM::Submit("Update user"); echo _FORM::_FormEnd(); }