Commit 0d25dd3b800e83de3183d9d1210cc196b6c53a8e
1 parent
a452729b
removed sms notification from preferences
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1617 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
6 deletions
presentation/lookAndFeel/knowledgeTree/preferences/editUserPrefsUI.inc
| @@ -23,16 +23,16 @@ function getUserDetailsPage($iUserID) { | @@ -23,16 +23,16 @@ function getUserDetailsPage($iUserID) { | ||
| 23 | $oUser = null; | 23 | $oUser = null; |
| 24 | 24 | ||
| 25 | $sQuery = "SELECT * FROM $default->owl_users_table WHERE id = $iUserID"; | 25 | $sQuery = "SELECT * FROM $default->owl_users_table WHERE id = $iUserID"; |
| 26 | - $aDisplayColumns = array("name","email", "mobile", "email_notification", "sms_notification"); | ||
| 27 | - $aStoreColumns = array("name","email", "mobile", "email_notification", "sms_notification") ; | ||
| 28 | - $aColumnNames = array("Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: ", "Sms Notification: "); | ||
| 29 | - $aDisplayColumnTypes = array(1,1,1,2,2); | ||
| 30 | - $aDatabaseColumnTypes = array(1,1,1,2,2); | 26 | + $aDisplayColumns = array("name","email", "mobile", "email_notification"); |
| 27 | + $aStoreColumns = array("name","email", "mobile", "email_notification") ; | ||
| 28 | + $aColumnNames = array("Name: ", "Email Address: ", "Mobile Number: ", "Email Notification: "); | ||
| 29 | + $aDisplayColumnTypes = array(1,1,1,2); | ||
| 30 | + $aDatabaseColumnTypes = array(1,1,1,2); | ||
| 31 | 31 | ||
| 32 | // get list of User properties...name...text field...is_Sys_admin and is_unit_admin..checkboxes | 32 | // get list of User properties...name...text field...is_Sys_admin and is_unit_admin..checkboxes |
| 33 | $oPattern = & new PatternEditableListFromQuery($sQuery, $default->owl_users_table, $aDisplayColumns, $aStoreColumns, $aColumnNames, $aDisplayColumnTypes, $aDatabaseColumnTypes) ; | 33 | $oPattern = & new PatternEditableListFromQuery($sQuery, $default->owl_users_table, $aDisplayColumns, $aStoreColumns, $aColumnNames, $aDisplayColumnTypes, $aDatabaseColumnTypes) ; |
| 34 | $oPattern->setUniqueName("userEdit"); | 34 | $oPattern->setUniqueName("userEdit"); |
| 35 | - $oPattern->setColumnsRequired(array(1,0,0,0,0)); | 35 | + $oPattern->setColumnsRequired(array(1,0,0,0)); |
| 36 | 36 | ||
| 37 | $sToRender .= "<table width=\"600\">\n"; | 37 | $sToRender .= "<table width=\"600\">\n"; |
| 38 | $sToRender .= renderHeading(); | 38 | $sToRender .= renderHeading(); |