PluginProbe
Form data to kintone / 2.29.2
Form data to kintone v2.29.2
trunk 1.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.10.0 1.10.1 1.10.2 2.0.0 2.0.1 All 109 releases
kintone-form / kintone-form.php

kintone-form.php in Form data to kintone 2.29.2, at kintone-form.php

74 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Form data to kintone
4 * Plugin URI:
5 * Description: This plugin is an addon for "Contact Form 7".
6 * Version: 2.29.2
7 * Author: Takashi Hosoya
8 * Author URI: http://ht79.info/
9 * License: GPLv2
10 * Text Domain: kintone-form
11 * Domain Path: /languages
12 *
13 * @package kintone-form
14 */
15
16 /**
17 * Copyright (c) 2017 Takashi Hosoya ( http://ht79.info/ )
18 *
19 * This program is free software; you can redistribute it and/or modify
20 * it under the terms of the GNU General Public License, version 2 or, at
21 * your discretion, any later version, as published by the Free
22 * Software Foundation.
23 *
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
28 *
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 */
33
34 define( 'KINTONE_FORM_URL', plugins_url( '', __FILE__ ) );
35 define( 'KINTONE_FORM_PATH', __DIR__ );
36
37 $data = get_file_data(
38 __FILE__,
39 array(
40 'ver' => 'Version',
41 'langs' => 'Domain Path',
42 )
43 );
44
45 define( 'KINTONE_FORM_VERSION', $data['ver'] );
46 define( 'KINTONE_FORM_LANGS', $data['langs'] );
47 load_plugin_textdomain(
48 'kintone-form',
49 false,
50 dirname( plugin_basename( __FILE__ ) ) . KINTONE_FORM_LANGS
51 );
52
53
54 require KINTONE_FORM_PATH . '/modules/text.php';
55 require KINTONE_FORM_PATH . '/modules/number.php';
56 require KINTONE_FORM_PATH . '/modules/radio.php';
57 require KINTONE_FORM_PATH . '/modules/checkbox.php';
58 require KINTONE_FORM_PATH . '/modules/date.php';
59 require KINTONE_FORM_PATH . '/modules/datetime.php';
60 require KINTONE_FORM_PATH . '/modules/dropdown.php';
61 require KINTONE_FORM_PATH . '/modules/link.php';
62 require KINTONE_FORM_PATH . '/modules/richText.php';
63 require KINTONE_FORM_PATH . '/modules/multiLineText.php';
64 require KINTONE_FORM_PATH . '/modules/multi_select.php';
65 require KINTONE_FORM_PATH . '/modules/time.php';
66 require KINTONE_FORM_PATH . '/includes/check-acceptance.php';
67 require KINTONE_FORM_PATH . '/modules/organization.php';
68 require KINTONE_FORM_PATH . '/modules/file.php';
69
70 require_once KINTONE_FORM_PATH . '/includes/class-kintone-form.php';
71
72 $kintone_form = new Kintone_Form();
73 $kintone_form->register();
74