Plugin Directory

Changeset 2901003


Ignore:
Timestamp:
04/19/2023 04:12:58 AM (3 years ago)
Author:
zluck
Message:

Added offer banner and minor bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multiline-files-for-contact-form-7/tags/2.5/multiline-files-upload-for-contact-form-7.php

    r2900677 r2901003  
    6262    } else {
    6363        update_option('mfcf7-zl-admin-do-not-show-rating-tip', strtotime('+5 days')); //show after 5 days
     64    }
     65    if (get_transient('mfcf7-zl-admin-do-not-show-offer-tip')) {
     66        delete_transient('mfcf7-zl-admin-do-not-show-offer-tip');
    6467    }
    6568}
     
    162165    $btntagname = $tag->name . '-' . $mfcf7_btn_tag_name;
    163166    // $html .= '<a href="javascript:void(0);" id="mfcf7_zl_add_file">'.$upload_label.'</a>';
    164     $html .= '<p><label><span class="wpcf7-form-control-wrap" data-name="' . $btntagname . '"><input type="button" name="' . $btntagname . '" class="button button-primary qbutton" href="javascript:void(0);" id="mfcf7_zl_add_file" value="' . $upload_label . '"></span></label></p>';
     167    $html .= '<p><label><span class="wpcf7-form-control-wrap" data-name="' . $btntagname . '"><input type="button" name="' . $btntagname . '" class="button button-primary qbutton" id="mfcf7_zl_add_file" value="' . $upload_label . '"></span></label></p>';
    165168    return $html;
    166169}
Note: See TracChangeset for help on using the changeset viewer.