C:\xampp\htdocs\landing\wp-content\plugins\totalpoll\src\Admin\Poll\views\integration\email.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
<?php defined'ABSPATH' ) && exit(); ?><div class="totalpoll-integration-steps ">
    <div class="totalpoll-integration-steps-item">
        <div class="totalpoll-integration-steps-item-number">
            <div class="totalpoll-integration-steps-item-number-circle">1</div>
        </div>
        <div class="totalpoll-integration-steps-item-content">
            <h3 class="totalpoll-h3">
                <?php _e('Prepare email template''totalpoll'); ?>
            </h3>
            <p>
                <?php _e('Start by preparing your email template with your questions and choices.''totalpoll'); ?>
            </p>
        </div>
    </div>
    <div class="totalpoll-integration-steps-item">
        <div class="totalpoll-integration-steps-item-number">
            <div class="totalpoll-integration-steps-item-number-circle">2</div>
        </div>
        <div class="totalpoll-integration-steps-item-content">
            <h3 class="totalpoll-h3">
                <?php _e('Adjust choices links''totalpoll'); ?>
            </h3>
            <p>
                <?php _e('Copy and paste choices links from the following list:''totalpoll'); ?>
            </p>
            <p>&nbsp;</p>
            <?php
            $permalink 
esc_attr(
                
add_query_arg( [
                    
'totalpoll' => [
                        
'action'  => 'vote',
                        
'choices' => [ '%QUESTION_UID%' => [ '%CHOICE_UID%' ] ]
                    ]
                ], 
get_permalink() )
            );
            
?>
            <table class="wp-list-table widefat striped" ng-repeat="question in $root.settings.questions">
                <thead>
                <tr>
                    <th colspan="2">
                        <?php _e('Question''totalpoll'); ?>
                        #{{$index+1}}
                    </th>
                </tr>
                </thead>
                <tr ng-repeat="choice in question.choices">
                    <td valign="middle">{{choice.label || (' (Choice #' + (choiceIndex + 1) + ')')}}</td>
                    <td class="totalpoll-width-5">
                        <button type="button" class="button button-primary button-small"
                                copy-to-clipboard="{{'<?php echo $permalink?>'.replace('%QUESTION_UID%', question.uid).replace('%CHOICE_UID%', choice.uid)}}">
                            <?php _e('Copy''totalpoll'); ?>
                        </button>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="totalpoll-integration-steps-item">
        <div class="totalpoll-integration-steps-item-number">
            <div class="totalpoll-integration-steps-item-number-circle">3</div>
        </div>
        <div class="totalpoll-integration-steps-item-content">
            <h3 class="totalpoll-h3">
                <?php _e('Preview''totalpoll'); ?>
            </h3>
            <p>
                <?php _e('Send a test email to yourself and test poll functionality.''totalpoll'); ?>
            </p>
        </div>
    </div>
    
</div>
x

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