Commit e34bb64f80a19413894368e4138c91daf9796fd2
1 parent
b9362d38
removed unused / non-editable fields
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1505 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
4 deletions
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/editUserUI.inc
| ... | ... | @@ -47,16 +47,16 @@ function getUserDetailsPage($iUserID) { |
| 47 | 47 | //} |
| 48 | 48 | |
| 49 | 49 | $sQuery = "SELECT * FROM $default->owl_users_table WHERE id = $iUserID"; |
| 50 | - $aDisplayColumns = array( "username","name","email", "mobile", "email_notification", "sms_notification", "ldap_dn", "quota_max", "quota_current","max_sessions"); | |
| 51 | - $aStoreColumns = array( "username","name","email", "mobile", "email_notification", "sms_notification", "ldap_dn", "quota_max", "quota_current","max_sessions") ; | |
| 52 | - $aColumnNames = array("Username: ","Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: ", "Sms Notification: ", "Ldap Dn: ", "Quota Max: ", "Quota Current: ", "Max Sessions: "); | |
| 50 | + $aDisplayColumns = array( "username","name","email", "mobile", "email_notification", "sms_notification", "max_sessions"); | |
| 51 | + $aStoreColumns = array( "username","name","email", "mobile", "email_notification", "sms_notification", "max_sessions") ; | |
| 52 | + $aColumnNames = array("Username: ","Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: ", "Sms Notification: ", "Max Sessions: "); | |
| 53 | 53 | $aDisplayColumnTypes = array(1,1,1,1,2,2,1,1,1,1); |
| 54 | 54 | $aDatabaseColumnTypes = array(1,1,1,1,2,2,1,1,1,1); |
| 55 | 55 | |
| 56 | 56 | // get list of User properties...name...text field...is_Sys_admin and is_unit_admin..checkboxes |
| 57 | 57 | $oPattern = & new PatternEditableListFromQuery($sQuery, $default->owl_users_table, $aDisplayColumns, $aStoreColumns, $aColumnNames, $aDisplayColumnTypes, $aDatabaseColumnTypes) ; |
| 58 | 58 | $oPattern->setUniqueName("userEdit"); |
| 59 | - $oPattern->setColumnsRequired(array(1,1,0,0,0,0,0,0,0,0)); | |
| 59 | + $oPattern->setColumnsRequired(array(1,1,0,0,0,0,0)); | |
| 60 | 60 | |
| 61 | 61 | $sToRender .= "<br></br>\n"; |
| 62 | 62 | $sToRender .= "<b>Edit User Properties:</b>\n"; | ... | ... |