Plugin Directory

Changeset 3333079


Ignore:
Timestamp:
07/23/2025 04:55:27 PM (7 months ago)
Author:
fulesh.shete
Message:

tagging version 1.0.4

Location:
simple-redirect-contact-form-7
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simple-redirect-contact-form-7/tags/1.0.4/readme.txt

    r2917584 r3333079  
    44Tags: mulika, contact form 7 redirect, contact form 7, cf7, redirect settings
    55Requires at least: 4.7
    6 Tested up to: 6.2.2
    7 Requires PHP: 7.0
    8 Stable tag: 1.0.3
     6Tested up to: 6.8
     7Requires PHP: 7.4
     8Stable tag: 1.0.4
     9Requires Plugins: contact-form-7
    910License: GPLv2 or later
    1011License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3435== Changelog ==
    3536
    36 = 1.0.0 =
    37 * Added redirect settings.
     37= 1.0.4 =
     38* Updated for version compatibility.
     39
     40
     41= 1.0.3 =
     42* Small fixes,
     43
     44
     45= 1.0.2 =
     46* Updated for version compatibility.
     47
    3848
    3949= 1.0.1 =
    4050* Added new redirect settings for on form submit.
    4151
    42 = 1.0.2 =
    43 * Updated for version compatibility.
     52
     53= 1.0.0 =
     54* Added redirect settings.
  • simple-redirect-contact-form-7/tags/1.0.4/simple-redirect-contact-form-7.php

    r2917584 r3333079  
    22/**
    33 * Plugin Name:       Simple Redirect - Contact Form 7
    4  * Plugin URI:       
     4 * Plugin URI:        https://wordpress.org/plugins/simple-redirect-contact-form-7/
    55 * Description:       Redirect settings for Contact Form 7, Redirect after mail sent or form submit, Add settings line in form "Additional Settings" tab, <strong>on_mailsent_redirect_to: REDIRECT_URL</strong>, <strong>on_submit_redirect_to: REDIRECT_URL</strong>
    6  * Version:           1.0.3
     6 * Version:           1.0.4
    77 * Requires at least: 4.7
    88 * Requires PHP:      7.0
     
    7979<!-- Simple Redirect - Contact Form 7 -->
    8080<script>
     81<?php
     82foreach($micf7_settings as $form_id => $form_settings){
     83    foreach($form_settings as $setting_key=>$redirect_url){
     84        if( empty($redirect_url) ){ continue; }
     85        $form_event = '';
     86        if( $setting_key == 'on_mailsent_redirect_url' || $setting_key == 'on_mailsent_redirect_to' ){
     87            $form_event = 'wpcf7mailsent';
     88        }
     89        if( $setting_key == 'on_submit_redirect_to' ){
     90            $form_event = 'wpcf7submit';
     91        }
     92        if( $form_event == '' ){ continue; }
     93        ?>
     94document.addEventListener( '<?php echo $form_event;?>', function( event ) {
     95if('<?php echo $form_id;?>' == event.detail.contactFormId){
     96window.location = '<?php echo $redirect_url;?>';
     97}
     98}, false);
    8199        <?php
    82         foreach($micf7_settings as $form_id => $form_settings){
    83             foreach($form_settings as $setting_key=>$redirect_url){
    84                 if( empty($redirect_url) ){ continue; }
    85                 $form_event = '';
    86                 if( $setting_key == 'on_mailsent_redirect_url' || $setting_key == 'on_mailsent_redirect_to' ){
    87                     $form_event = 'wpcf7mailsent';
    88                 }
    89                 if( $setting_key == 'on_submit_redirect_to' ){
    90                     $form_event = 'wpcf7submit';
    91                 }
    92                 if( $form_event == '' ){ continue; }
    93                 ?>
    94 document.addEventListener( '<?php echo $form_event;?>', function( event ) {
    95     if('<?php echo $form_id;?>' == event.detail.contactFormId){
    96         window.location = '<?php echo $redirect_url;?>';
    97100    }
    98 }, false);
    99                 <?php
    100             }
    101         }
    102         ?>
     101}
     102?>
    103103</script>
    104104        <?php
  • simple-redirect-contact-form-7/trunk/readme.txt

    r2917584 r3333079  
    44Tags: mulika, contact form 7 redirect, contact form 7, cf7, redirect settings
    55Requires at least: 4.7
    6 Tested up to: 6.2.2
    7 Requires PHP: 7.0
    8 Stable tag: 1.0.3
     6Tested up to: 6.8
     7Requires PHP: 7.4
     8Stable tag: 1.0.4
     9Requires Plugins: contact-form-7
    910License: GPLv2 or later
    1011License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3435== Changelog ==
    3536
    36 = 1.0.0 =
    37 * Added redirect settings.
     37= 1.0.4 =
     38* Updated for version compatibility.
     39
     40
     41= 1.0.3 =
     42* Small fixes,
     43
     44
     45= 1.0.2 =
     46* Updated for version compatibility.
     47
    3848
    3949= 1.0.1 =
    4050* Added new redirect settings for on form submit.
    4151
    42 = 1.0.2 =
    43 * Updated for version compatibility.
     52
     53= 1.0.0 =
     54* Added redirect settings.
  • simple-redirect-contact-form-7/trunk/simple-redirect-contact-form-7.php

    r2917584 r3333079  
    22/**
    33 * Plugin Name:       Simple Redirect - Contact Form 7
    4  * Plugin URI:       
     4 * Plugin URI:        https://wordpress.org/plugins/simple-redirect-contact-form-7/
    55 * Description:       Redirect settings for Contact Form 7, Redirect after mail sent or form submit, Add settings line in form "Additional Settings" tab, <strong>on_mailsent_redirect_to: REDIRECT_URL</strong>, <strong>on_submit_redirect_to: REDIRECT_URL</strong>
    6  * Version:           1.0.3
     6 * Version:           1.0.4
    77 * Requires at least: 4.7
    88 * Requires PHP:      7.0
     
    7979<!-- Simple Redirect - Contact Form 7 -->
    8080<script>
     81<?php
     82foreach($micf7_settings as $form_id => $form_settings){
     83    foreach($form_settings as $setting_key=>$redirect_url){
     84        if( empty($redirect_url) ){ continue; }
     85        $form_event = '';
     86        if( $setting_key == 'on_mailsent_redirect_url' || $setting_key == 'on_mailsent_redirect_to' ){
     87            $form_event = 'wpcf7mailsent';
     88        }
     89        if( $setting_key == 'on_submit_redirect_to' ){
     90            $form_event = 'wpcf7submit';
     91        }
     92        if( $form_event == '' ){ continue; }
     93        ?>
     94document.addEventListener( '<?php echo $form_event;?>', function( event ) {
     95if('<?php echo $form_id;?>' == event.detail.contactFormId){
     96window.location = '<?php echo $redirect_url;?>';
     97}
     98}, false);
    8199        <?php
    82         foreach($micf7_settings as $form_id => $form_settings){
    83             foreach($form_settings as $setting_key=>$redirect_url){
    84                 if( empty($redirect_url) ){ continue; }
    85                 $form_event = '';
    86                 if( $setting_key == 'on_mailsent_redirect_url' || $setting_key == 'on_mailsent_redirect_to' ){
    87                     $form_event = 'wpcf7mailsent';
    88                 }
    89                 if( $setting_key == 'on_submit_redirect_to' ){
    90                     $form_event = 'wpcf7submit';
    91                 }
    92                 if( $form_event == '' ){ continue; }
    93                 ?>
    94 document.addEventListener( '<?php echo $form_event;?>', function( event ) {
    95     if('<?php echo $form_id;?>' == event.detail.contactFormId){
    96         window.location = '<?php echo $redirect_url;?>';
    97100    }
    98 }, false);
    99                 <?php
    100             }
    101         }
    102         ?>
     101}
     102?>
    103103</script>
    104104        <?php
Note: See TracChangeset for help on using the changeset viewer.