Plugin Directory

Changeset 1156226


Ignore:
Timestamp:
05/08/2015 02:57:51 PM (11 years ago)
Author:
akosicb
Message:

updating all files

Location:
contact-form-advanced-database/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contact-form-advanced-database/trunk/lib/cf7_adb.class.php

    r1156213 r1156226  
    1515   
    1616    function renderGUI(){
    17         add_submenu_page( 'wpcf7','CF7 Advance DB','CF Advance DB', 'manage_options', 'cf7-adb', array($this,'renderBackend') );
     17        add_submenu_page( 'wpcf7','Contact Form Advanced Database','Contact Form Advanced Database', 'manage_options', 'cf7-adb', array($this,'renderBackend') );
    1818    }
    1919   
     
    5050            foreach($_POST['data'] as $postData){
    5151                delete_post_meta($postData['id'],$postData['key'],maybe_unserialize(base64_decode($postData['val'])));
     52               
    5253            }
    5354            echo "success";
     
    6465        add_action('load-' . $hook, function() {
    6566            $id= $_GET['id'];
    66             $filename = "cfad_" . date('Ymd') . ".xls";
     67            $filename = "contact_form_advanced_database_" . date('Ymd') . ".xls";
    6768            header("Content-Disposition: attachment; filename=\"$filename\"");
    6869            header("Content-Type: application/vnd.ms-excel");
  • contact-form-advanced-database/trunk/lib/display/cf7-db-view.php

    r1156213 r1156226  
    11<?php add_thickbox(); ?>
    22<div class="wrap">
    3     <h2>CF Advance DB
     3    <h2>Contact Form Advanced Database
    44        <select id="cf7-selector">
    55            <?php
     
    8888
    8989                        </div>
    90                         <a href="#TB_inline?width=600&height=550&inlineId=<?php echo $thDiv; ?>" title="Contact Form 7 fields and value" class="view-button thickbox">View</a></td>
     90                        <a href="#TB_inline?width=600&height=550&inlineId=<?php echo $thDiv; ?>" title="Contact Form fields and value" class="view-button thickbox">View</a></td>
    9191                        <td>
    9292                            <span class="del-button" data-id="<?php echo $cf7Selector; ?>" data-key="cf7-adb-data" data-val="<?php echo base64_encode(maybe_serialize($leadData)); ?>">Delete</span>
  • contact-form-advanced-database/trunk/lib/js/cf7-script.js

    r1156213 r1156226  
    77        //gathering data
    88        alldataArr = [];
    9         dataObj = {};
     9       
    1010        var dataDiv = [];
    1111        $('.adb-chk:checked').each(function(indx){
     12            dataObj = {};
    1213            dataObj.id  = $(this).data('id');
    1314            dataObj.key = $(this).data('key');
     
    1617            dataDiv[indx] = $(this);
    1718        });
     19       
    1820       
    1921        //ajax call
     
    2426            },
    2527            function(response){
     28
    2629                if(response=="success"){
    2730                    dataDiv.forEach(function(el){
  • contact-form-advanced-database/trunk/readme.txt

    r1156213 r1156226  
    1 === Contact Form Advance Database===
     1=== Contact Form Advanced Database===
    22Contributors: akosicb
    33Tags: contact, form, contact form database, contact form leads.
     
    1717== Installation ==
    1818
    19 1. Upload the entire `contact-form-advance-db` folder to the `/wp-content/plugins/` directory.
     191. Upload the entire `contact-form-advanced-database` folder to the `/wp-content/plugins/` directory.
    20202. Activate the plugin through the 'Plugins' menu in WordPress.
    21213. Contact Form 7 plugin is required, please install it (https://wordpress.org/plugins/contact-form-7/).
Note: See TracChangeset for help on using the changeset viewer.