Commit 2b3455a0e8723b10a5fae017accb537fc332a287
1 parent
250d435d
KTS-709: Lose mentions of "SMS notification"
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5209 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
6 additions
and
6 deletions
plugins/ktcore/admin/userManagement.php
| ... | ... | @@ -117,7 +117,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher { |
| 117 | 117 | $add_fields[] = new KTPasswordWidget(_kt('Password'), _kt('Specify an initial password for the user.') . $passwordAddRequirement, 'password', null, $this->oPage, true, null, null, $aOptions); |
| 118 | 118 | $add_fields[] = new KTPasswordWidget(_kt('Confirm Password'), _kt('Confirm the password specified above.'), 'confirm_password', null, $this->oPage, true, null, null, $aOptions); |
| 119 | 119 | // nice, easy bits. |
| 120 | - $add_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt("The mobile phone number of the user. If the system is configured to send notifications to cellphones, then this number will be SMS'd with notifications. e.g. <strong>999 9999 999</strong>"), 'mobile_number', null, $this->oPage, false, null, null, $aOptions); | |
| 120 | + $add_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt("The mobile phone number of the user. e.g. <strong>999 9999 999</strong>"), 'mobile_number', null, $this->oPage, false, null, null, $aOptions); | |
| 121 | 121 | $add_fields[] = new KTStringWidget(_kt('Maximum Sessions'), _kt('As a safety precaution, it is useful to limit the number of times a given account can log in, before logging out. This prevents a single account being used by many different people.'), 'max_sessions', '3', $this->oPage, true, null, null, $aOptions); |
| 122 | 122 | |
| 123 | 123 | $aAuthenticationSources =& KTAuthenticationSource::getList(); |
| ... | ... | @@ -168,7 +168,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher { |
| 168 | 168 | $edit_fields[] = new KTStringWidget(_kt('Name'), _kt('The full name of the user. This is shown in reports and listings. e.g. <strong>John Smith</strong>'), 'name', $oUser->getName(), $this->oPage, true); |
| 169 | 169 | $edit_fields[] = new KTStringWidget(_kt('Email Address'), _kt('The email address of the user. Notifications and alerts are mailed to this address if <strong>email notifications</strong> is set below. e.g. <strong>jsmith@acme.com</strong>'), 'email_address', $oUser->getEmail(), $this->oPage, false); |
| 170 | 170 | $edit_fields[] = new KTCheckboxWidget(_kt('Email Notifications'), _kt('If this is specified then the user will have notifications sent to the email address entered above. If it is not set, then the user will only see notifications on the <strong>Dashboard</strong>'), 'email_notifications', $oUser->getEmailNotification(), $this->oPage, false); |
| 171 | - $edit_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt("The mobile phone number of the user. If the system is configured to send notifications to cellphones, then this number will be SMS'd with notifications. e.g. <strong>999 9999 999</strong>"), 'mobile_number', $oUser->getMobile(), $this->oPage, false); | |
| 171 | + $edit_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt("The mobile phone number of the user. e.g. <strong>999 9999 999</strong>"), 'mobile_number', $oUser->getMobile(), $this->oPage, false); | |
| 172 | 172 | $edit_fields[] = new KTStringWidget(_kt('Maximum Sessions'), _kt('As a safety precaution, it is useful to limit the number of times a given account can log in, before logging out. This prevents a single account being used by many different people.'), 'max_sessions', $oUser->getMaxSessions(), $this->oPage, true); |
| 173 | 173 | |
| 174 | 174 | $oAuthenticationSource = KTAuthenticationSource::getForUser($oUser); |
| ... | ... | @@ -386,8 +386,8 @@ class KTUserAdminDispatcher extends KTAdminDispatcher { |
| 386 | 386 | // old system used the very evil store.php. |
| 387 | 387 | // here we need to _force_ a limited update of the object, via a db statement. |
| 388 | 388 | // |
| 389 | - // $res = $oUser->update(); | |
| 390 | - $res = $oUser->doLimitedUpdate(); // ignores a fix blacklist of items. | |
| 389 | + $res = $oUser->update(); | |
| 390 | + // $res = $oUser->doLimitedUpdate(); // ignores a fix blacklist of items. | |
| 391 | 391 | |
| 392 | 392 | |
| 393 | 393 | ... | ... |
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
| ... | ... | @@ -214,7 +214,7 @@ class KTLDAPBaseAuthenticationProvider extends KTAuthenticationProvider { |
| 214 | 214 | $fields[] = new KTStringWidget(_kt('Name'), _kt('The full name of the user. This is shown in reports and listings. e.g. <strong>John Smith</strong>'), 'name', $aResults[$this->aAttributes[0]], $this->oPage, true); |
| 215 | 215 | $fields[] = new KTStringWidget(_kt('Email Address'), _kt('The email address of the user. Notifications and alerts are mailed to this address if <strong>email notifications</strong> is set below. e.g. <strong>jsmith@acme.com</strong>'), 'email_address', $aResults[$this->aAttributes[4]], $this->oPage, false); |
| 216 | 216 | $fields[] = new KTCheckboxWidget(_kt('Email Notifications'), _kt('If this is specified then the user will have notifications sent to the email address entered above. If it is not set, then the user will only see notifications on the <strong>Dashboard</strong>'), 'email_notifications', true, $this->oPage, false); |
| 217 | - $fields[] = new KTStringWidget(_kt('Mobile Number'), _kt('The mobile phone number of the user. If the system is configured to send notifications to cellphones, then this number will have an SMS delivered to it with notifications. e.g. <strong>999 9999 999</strong>'), 'mobile_number', $aResults[$this->aAttributes[5]], $this->oPage, false); | |
| 217 | + $fields[] = new KTStringWidget(_kt('Mobile Number'), _kt('The mobile phone number of the user. e.g. <strong>999 9999 999</strong>'), 'mobile_number', $aResults[$this->aAttributes[5]], $this->oPage, false); | |
| 218 | 218 | $fields[] = new KTStringWidget(_kt('Maximum Sessions'), _kt('As a safety precaution, it is useful to limit the number of times a given account can log in, before logging out. This prevents a single account being used by many different people.'), 'max_sessions', '3', $this->oPage, true); |
| 219 | 219 | |
| 220 | 220 | $aTemplateData = array( | ... | ... |
preferences.php
| ... | ... | @@ -59,7 +59,7 @@ class PreferencesDispatcher extends KTStandardDispatcher { |
| 59 | 59 | $edit_fields[] = new KTStringWidget(_kt('Name'), _kt('Your full name. This is shown in reports and listings. e.g. <strong>John Smith</strong>'), 'name', $oUser->getName(), $this->oPage, true, null, null, $aOptions); |
| 60 | 60 | $edit_fields[] = new KTStringWidget(_kt('Email Address'), _kt('Your email address. Notifications and alerts are mailed to this address if <strong>email notifications</strong> is set below. e.g. <strong>jsmith@acme.com</strong>'), 'email_address', $oUser->getEmail(), $this->oPage, false, null, null, $aOptions); |
| 61 | 61 | $edit_fields[] = new KTCheckboxWidget(_kt('Email Notifications'), _kt('If this is specified then the you will receive certain notifications. If it is not set, then you will only see notifications on the <strong>Dashboard</strong>'), 'email_notifications', $oUser->getEmailNotification(), $this->oPage, false, null, null, $aOptions); |
| 62 | - $edit_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt('Your mobile phone number. If the system is configured to send notifications to cellphones, then this number will be sent an SMS with notifications. e.g. <strong>+27 99 999 9999</strong>'), 'mobile_number', $oUser->getMobile(), $this->oPage, false, null, null, $aOptions); | |
| 62 | + $edit_fields[] = new KTStringWidget(_kt('Mobile Number'), _kt('Your mobile phone number. e.g. <strong>+27 99 999 9999</strong>'), 'mobile_number', $oUser->getMobile(), $this->oPage, false, null, null, $aOptions); | |
| 63 | 63 | |
| 64 | 64 | $oTemplating =& KTTemplating::getSingleton(); |
| 65 | 65 | $oTemplate = $oTemplating->loadTemplate("ktcore/principals/preferences"); | ... | ... |