Plugin Directory

Changeset 2364885


Ignore:
Timestamp:
08/19/2020 12:51:21 PM (6 years ago)
Author:
dothattask
Message:

19082020 fix activation page issue

Location:
do-that-task
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • do-that-task/tags/1.5.0/template/plugin_details.php

    r2343421 r2364885  
    105105    }
    106106}
     107
    107108//Verify Code form submit then code will execute
    108109if(( sanitize_text_field(isset( $_POST['code'] )) )){
     
    279280                                        <label for="user_email"><?php echo $aEmail['user_email'];?></label>  <span style="color: #999;font-size: 12px;"><?php echo (!empty($pluginActivation['none']) && in_array($aEmail['user_email'],$pluginActivation['none'])?'('.__('This email is registered on APP').')':'');?></span><br/><br/>
    280281                                    <?php endif;?>
    281                                     <?php if(isset($aEmail['exist_email'])):?>
     282                                    <?php if(isset($aEmail['exist_email']) && !empty($aEmail['exist_email']) && !is_array($aEmail['exist_email'])):?>
    282283                                        <input type="radio" name="user_email" id="exist_email" value="exist_email" class="mr-1 disableText"
    283284                                        <?php echo !empty($previousSelected) && $previousSelected['option']=='exist_email'?'checked="checked"':(!empty($pluginActivation) && $pluginActivation['none']!=$aEmail['exist_email'] && $aEmail['exist_email']==array_search($currentDomain,$pluginActivation['data'])?'checked="checked"':'');?>> 
  • do-that-task/trunk/template/plugin_details.php

    r2337264 r2364885  
    105105    }
    106106}
     107
    107108//Verify Code form submit then code will execute
    108109if(( sanitize_text_field(isset( $_POST['code'] )) )){
     
    279280                                        <label for="user_email"><?php echo $aEmail['user_email'];?></label>  <span style="color: #999;font-size: 12px;"><?php echo (!empty($pluginActivation['none']) && in_array($aEmail['user_email'],$pluginActivation['none'])?'('.__('This email is registered on APP').')':'');?></span><br/><br/>
    280281                                    <?php endif;?>
    281                                     <?php if(isset($aEmail['exist_email'])):?>
     282                                    <?php if(isset($aEmail['exist_email']) && !empty($aEmail['exist_email']) && !is_array($aEmail['exist_email'])):?>
    282283                                        <input type="radio" name="user_email" id="exist_email" value="exist_email" class="mr-1 disableText"
    283284                                        <?php echo !empty($previousSelected) && $previousSelected['option']=='exist_email'?'checked="checked"':(!empty($pluginActivation) && $pluginActivation['none']!=$aEmail['exist_email'] && $aEmail['exist_email']==array_search($currentDomain,$pluginActivation['data'])?'checked="checked"':'');?>> 
Note: See TracChangeset for help on using the changeset viewer.