Changeset 3326025
- Timestamp:
- 07/11/2025 02:59:01 AM (8 months ago)
- Location:
- email-otp-authenticator
- Files:
-
- 2 edited
-
tags/6.2.0/lib/emailotpauthn-class.php (modified) (1 diff)
-
trunk/lib/emailotpauthn-class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
email-otp-authenticator/tags/6.2.0/lib/emailotpauthn-class.php
r3323235 r3326025 35 35 $formnoticentxt = get_fix_option("emailotpauthn_formnoticentxt","not_initiated"); 36 36 if(strcasecmp($formnoticentxt,"not_initiated")==0){ 37 $newnoticentxt = ""; 38 for ($nodx = 0; $nodx < count($formtexts); $nodx++) { 39 if(isset($formtexts[$nodx][2]) && !empty($formtexts[$nodx][2])){ 40 if(!isset($extrnlcvrbl[$nodx]) || empty($extrnlcvrbl[$nodx])){ 41 $extrnlcvrbl[$nodx] = $formtexts[$nodx][2]; 42 $newnoticentxt .= $formtexts[$nodx][2] . "#-ntbreak-#"; 37 if(isset($formtexts) && !empty($formtexts)){ 38 $newnoticentxt = ""; 39 for ($nodx = 0; $nodx < count($formtexts); $nodx++) { 40 if(isset($formtexts[$nodx][2]) && !empty($formtexts[$nodx][2])){ 41 if(!isset($extrnlcvrbl[$nodx]) || empty($extrnlcvrbl[$nodx])){ 42 $extrnlcvrbl[$nodx] = $formtexts[$nodx][2]; 43 $newnoticentxt .= $formtexts[$nodx][2] . "#-ntbreak-#"; 44 } 43 45 } 44 46 } 47 $newnoticentxt = trim($newnoticentxt,"#-ntbreak-#"); 48 update_option("emailotpauthn_formnoticentxt", $newnoticentxt); 45 49 } 46 $newnoticentxt = trim($newnoticentxt,"#-ntbreak-#");47 update_option("emailotpauthn_formnoticentxt", $newnoticentxt);48 50 } else { 49 51 $formnoticentxt = "#-ntbreak-#" . $formnoticentxt; -
email-otp-authenticator/trunk/lib/emailotpauthn-class.php
r3323235 r3326025 35 35 $formnoticentxt = get_fix_option("emailotpauthn_formnoticentxt","not_initiated"); 36 36 if(strcasecmp($formnoticentxt,"not_initiated")==0){ 37 $newnoticentxt = ""; 38 for ($nodx = 0; $nodx < count($formtexts); $nodx++) { 39 if(isset($formtexts[$nodx][2]) && !empty($formtexts[$nodx][2])){ 40 if(!isset($extrnlcvrbl[$nodx]) || empty($extrnlcvrbl[$nodx])){ 41 $extrnlcvrbl[$nodx] = $formtexts[$nodx][2]; 42 $newnoticentxt .= $formtexts[$nodx][2] . "#-ntbreak-#"; 37 if(isset($formtexts) && !empty($formtexts)){ 38 $newnoticentxt = ""; 39 for ($nodx = 0; $nodx < count($formtexts); $nodx++) { 40 if(isset($formtexts[$nodx][2]) && !empty($formtexts[$nodx][2])){ 41 if(!isset($extrnlcvrbl[$nodx]) || empty($extrnlcvrbl[$nodx])){ 42 $extrnlcvrbl[$nodx] = $formtexts[$nodx][2]; 43 $newnoticentxt .= $formtexts[$nodx][2] . "#-ntbreak-#"; 44 } 43 45 } 44 46 } 47 $newnoticentxt = trim($newnoticentxt,"#-ntbreak-#"); 48 update_option("emailotpauthn_formnoticentxt", $newnoticentxt); 45 49 } 46 $newnoticentxt = trim($newnoticentxt,"#-ntbreak-#");47 update_option("emailotpauthn_formnoticentxt", $newnoticentxt);48 50 } else { 49 51 $formnoticentxt = "#-ntbreak-#" . $formnoticentxt;
Note: See TracChangeset
for help on using the changeset viewer.