diff --git a/presentation/lookAndFeel/knowledgeTree/preferences/editUserPrefsUI.inc b/presentation/lookAndFeel/knowledgeTree/preferences/editUserPrefsUI.inc index 528e351..e109d06 100644 --- a/presentation/lookAndFeel/knowledgeTree/preferences/editUserPrefsUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/preferences/editUserPrefsUI.inc @@ -23,16 +23,16 @@ function getUserDetailsPage($iUserID) { $oUser = null; $sQuery = "SELECT * FROM $default->owl_users_table WHERE id = $iUserID"; - $aDisplayColumns = array("name","email", "mobile", "email_notification", "sms_notification"); - $aStoreColumns = array("name","email", "mobile", "email_notification", "sms_notification") ; - $aColumnNames = array("Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: ", "Sms Notification: "); - $aDisplayColumnTypes = array(1,1,1,2,2); - $aDatabaseColumnTypes = array(1,1,1,2,2); + $aDisplayColumns = array("name","email", "mobile", "email_notification"); + $aStoreColumns = array("name","email", "mobile", "email_notification") ; + $aColumnNames = array("Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: "); + $aDisplayColumnTypes = array(1,1,1,2); + $aDatabaseColumnTypes = array(1,1,1,2); // get list of User properties...name...text field...is_Sys_admin and is_unit_admin..checkboxes $oPattern = & new PatternEditableListFromQuery($sQuery, $default->owl_users_table, $aDisplayColumns, $aStoreColumns, $aColumnNames, $aDisplayColumnTypes, $aDatabaseColumnTypes) ; $oPattern->setUniqueName("userEdit"); - $oPattern->setColumnsRequired(array(1,0,0,0,0)); + $oPattern->setColumnsRequired(array(1,0,0,0)); $sToRender .= "