Lines Matching full:phone
18 * This user will need to supply a phone number and their cell provider.
22 // Provide an input for the phone number.
23 $phone = $this->_settingGet("phone", '');
24 …$elements[] = form_makeTextField('smsappliance_phone', $phone, $this->getLang('phone'), '', 'block…
26 // If the phone number has not been verified, then do so here.
27 if ($phone) {
34 // Render the element to remove the phone since it exists.
45 $phone = $INPUT->str('smsappliance_phone', '');
46 //msg($phone);
47 if ($INPUT->bool('smsappliance_disable', false) || $phone === '') {
48 // Delete the phone number.
49 $this->_settingDelete("phone");
54 $oldphone = $this->_settingGet("phone", '');
74 if (preg_match('/^[0-9]{5,}$/',$phone) != false) {
75 if ($phone != $oldphone) {
76 if ($this->_settingSet("phone", $phone)== false) {
77 msg("TwoFactor: Error setting phone.", -1);
79 // Delete the verification for the phone number if it was changed.
86 if ($changed === true && $this->_settingExists("phone")) {
104 $number = $this->_settingGet("phone", null);
106 // If there is no phone number, then fail.
109 $url = str_replace('$phone', $number, $this->getConf('url'));