C:\xampp\htdocs\landing\wp-content\plugins\mailchimp-for-wp\includes\forms\views\add-form.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php defined'ABSPATH' ) or exit; ?>
<div id="mc4wp-admin" class="wrap mc4wp-settings">

    <div class="row">

        <!-- Main Content -->
        <div class="main-content col col-4">

            <h1 class="page-title">
                <?php echo esc_html__'Add new form''mailchimp-for-wp' ); ?>
            </h1>

            <h2 style="display: none;"></h2><?php // fake h2 for admin notices ?>

            <div style="max-width: 480px;">

                <!-- Wrap entire page in <form> -->
                <form method="post">

                    <input type="hidden" name="_mc4wp_action" value="add_form" />
                    <?php wp_nonce_field'add_form''_mc4wp_nonce' ); ?>


                    <div class="small-margin">
                        <h3>
                            <label>
                                <?php echo esc_html__'What is the name of this form?''mailchimp-for-wp' ); ?>
                            </label>
                        </h3>
                        <input type="text" name="mc4wp_form[name]" class="widefat" value="" spellcheck="true" autocomplete="off" placeholder="<?php echo esc_attr__'Enter your form title..''mailchimp-for-wp' ); ?>">
                    </div>

                    <div class="small-margin">

                        <h3>
                            <label>
                                <?php echo esc_html__'To which Mailchimp lists should this form subscribe?''mailchimp-for-wp' ); ?>
                            </label>
                        </h3>

                        <?php
                        
if ( ! empty( $lists ) ) {
                            
?>
                        <ul id="mc4wp-lists">
                            <?php
                            
foreach ( $lists as $list ) {
                                
?>
                                <li>
                                    <label>
                                        <input type="checkbox" name="mc4wp_form[settings][lists][<?php echo esc_attr$list->id ); ?>]" value="<?php echo esc_attr$list->id ); ?><?php checked$number_of_lists); ?> >
                                        <?php echo esc_html$list->name ); ?>
                                    </label>
                                </li>
                                <?php
                            
}
                            
?>
                        </ul>
                            <?php
                        
} else {
                            
?>
                        <p class="mc4wp-notice">
                            <?php echo sprintfwp_kses__'No lists found. Did you <a href="%s">connect with Mailchimp</a>?''mailchimp-for-wp' ), array( 'a' => array( 'href' => array() ) ) ), admin_url'admin.php?page=mailchimp-for-wp' ) ); ?>
                        </p>
                            <?php
                        
}
                        
?>

                    </div>

                    <?php submit_buttonesc_html__'Add new form''mailchimp-for-wp' ) ); ?>


                </form><!-- Entire page form wrap -->

            </div>


            <?php include MC4WP_PLUGIN_DIR 'includes/views/parts/admin-footer.php'?>

        </div><!-- / Main content -->

        <!-- Sidebar -->
        <div class="sidebar col col-2">
            <?php include MC4WP_PLUGIN_DIR 'includes/views/parts/admin-sidebar.php'?>
        </div>


    </div>

</div>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586