Plugin Directory

Changeset 3450244


Ignore:
Timestamp:
01/30/2026 08:55:50 AM (3 weeks ago)
Author:
glenwpcoder
Message:
  • Hot Fixed (Misspelled variable)
Location:
drag-and-drop-multiple-file-upload-contact-form-7
Files:
33 added
4 edited

Legend:

Unmodified
Added
Removed
  • drag-and-drop-multiple-file-upload-contact-form-7/trunk/admin/form-generator-v2.php

    r3450209 r3450244  
     1<?php
     2    add_action('admin_footer', function(){
     3        if ( isset( $_GET['page'] ) && $_GET['page'] == 'wpcf7' ) {
     4            echo '<style type="text/css">
     5                .control-box.dnd-file-upload legend { float: left; width: 160px; }
     6                .control-box.dnd-file-upload fieldset { margin-block: 4px!important; }
     7            </style>';
     8        }
     9    });
     10?>
     11
    112<header class="description-box">
    213    <h3>
     
    1728</header>
    1829
    19 <style>
    20     .control-box.dnd-file-upload legend { float: left; width: 160px; }
    21     .control-box.dnd-file-upload fieldset { margin-block: 4px!important; }
    22 </style>
    23 
    2430<div class="control-box dnd-file-upload">
    2531
     
    3945    ?>
    4046
    41     <fieldset>
    42         <legend id="<?php echo esc_attr( $tgg->ref( 'limit-option-legend' ) ); ?>">
     47    <fieldset style="margin-block: 4px!important;">
     48        <legend id="<?php echo esc_attr( $tgg->ref( 'limit-option-legend' ) ); ?>" style="float: left; width: 160px;">
    4349            <?php
    4450                esc_html_e( 'File size limit (bytes)', 'drag-and-drop-multiple-file-upload-contact-form-7' );
     
    6773    </fieldset>
    6874
    69     <fieldset>
    70         <legend id="<?php echo esc_attr( $tgg->ref( 'filetypes-option-legend' ) ); ?>">
     75    <fieldset style="margin-block: 4px!important;">
     76        <legend id="<?php echo esc_attr( $tgg->ref( 'filetypes-option-legend' ) ); ?>" style="float: left; width: 160px;">
    7177            <?php
    7278                esc_html_e( 'Acceptable file types', 'drag-and-drop-multiple-file-upload-contact-form-7' );
     
    8894    </fieldset>
    8995
    90     <fieldset>
    91         <legend id="<?php echo esc_attr( $tgg->ref( 'blacklist-types-option-legend' ) ); ?>">
     96    <fieldset style="margin-block: 4px!important;">
     97        <legend id="<?php echo esc_attr( $tgg->ref( 'blacklist-types-option-legend' ) ); ?>" style="float: left; width: 160px;">
    9298            <?php
    9399                esc_html_e( 'Blacklist file types', 'drag-and-drop-multiple-file-upload-contact-form-7' );
     
    109115    </fieldset>
    110116
    111     <fieldset>
    112         <legend id="<?php echo esc_attr( $tgg->ref( 'min-file-option-legend' ) ); ?>">
     117    <fieldset style="margin-block: 4px!important;">
     118        <legend id="<?php echo esc_attr( $tgg->ref( 'min-file-option-legend' ) ); ?>" style="float: left; width: 160px;">
    113119            <?php
    114120                esc_html_e( 'Minimum File Upload', 'drag-and-drop-multiple-file-upload-contact-form-7' );
     
    130136    </fieldset>
    131137
    132     <fieldset>
    133         <legend id="<?php echo esc_attr( $tgg->ref( 'max-file-option-legend' ) ); ?>">
     138    <fieldset style="margin-block: 4px!important;">
     139        <legend id="<?php echo esc_attr( $tgg->ref( 'max-file-option-legend' ) ); ?>" style="float: left; width: 160px;">
    134140            <?php
    135141                esc_html_e( 'Maximum File Upload', 'drag-and-drop-multiple-file-upload-contact-form-7' );
  • drag-and-drop-multiple-file-upload-contact-form-7/trunk/drag-n-drop-upload-cf7.php

    r3450209 r3450244  
    77    * Text Domain: drag-and-drop-multiple-file-upload-contact-form-7
    88    * Domain Path: /languages
    9     * Version: 1.3.9.4
     9    * Version: 1.3.9.5
    1010    * Author: Glen Don L. Mongaya
    1111    * Author URI: http://codedropz.com
     
    2222
    2323    /**  Define plugin Version */
    24     define( 'dnd_upload_cf7_version', '1.3.9.4' );
     24    define( 'dnd_upload_cf7_version', '1.3.9.5' );
    2525
    2626    /**  Define constant Plugin Directories  */
  • drag-and-drop-multiple-file-upload-contact-form-7/trunk/inc/dnd-upload-cf7.php

    r3450209 r3450244  
    480480                                    // Check if submitted and file exists then file is ready.
    481481                                    if ( $submission && file_exists( $new_file_name )  ) {
    482                                         $f['attachments'][] = $new_file_name;
     482                                        $components['attachments'][] = $new_file_name;
    483483                                    }
    484484                                }
  • drag-and-drop-multiple-file-upload-contact-form-7/trunk/readme.txt

    r3450209 r3450244  
    55Requires at least: 3.0.1
    66Tested up to: 6.9
    7 Stable tag: 1.3.9.4
     7Stable tag: 1.3.9.5
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    182182
    183183== Changelog ==
     184= 1.3.9.5 =
     185- Hot Fix: Minor spelling mistakes.
    184186
    185187= 1.3.9.4 =
Note: See TracChangeset for help on using the changeset viewer.