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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
<?php ! defined( 'ABSPATH' ) && exit(); $minimal = apply_filters( 'totalpoll/filters/admin/dashboard/minimal', false ); ?> <div id="totalpoll-dashboard" class="wrap totalpoll-page" ng-app="dashboard"> <h1 class="totalpoll-page-title"><?php _e( 'Dashboard', 'totalpoll' ); ?></h1>
<div class="totalpoll-page-tabs"> <div class="totalpoll-page-tabs-item active" tab-switch="dashboard>overview"> <?php _e( 'Overview', 'totalpoll' ); ?> </div> <?php if ( ! $minimal ): ?> <div class="totalpoll-page-tabs-item" tab-switch="dashboard>get-started"> <?php _e( 'Get started', 'totalpoll' ); ?> </div> <a class="totalpoll-page-tabs-item" href="<?php echo esc_attr( $this->env['links.changelog'] ) ?>" target="_blank"> <?php _e( 'What\'s new', 'totalpoll' ); ?> </a> <div class="totalpoll-page-tabs-item" tab-switch="dashboard>support"> <?php _e( 'Support', 'totalpoll' ); ?> </div> <div class="totalpoll-page-tabs-item" tab-switch="dashboard>credits"> <?php _e( 'Credits', 'totalpoll' ); ?> </div> <div class="totalpoll-page-tabs-item" tab-switch="dashboard>activation"> <?php _e( 'Activation', 'totalpoll' ); ?> </div> <div class="totalpoll-page-tabs-item" tab-switch="dashboard>my-account"> <?php _e( 'My Account', 'totalpoll' ); ?> </div> <?php endif; ?> </div>
<div class="totalpoll-row"> <div class="totalpoll-column"> <div tab="dashboard>overview" class="active"> <dashboard-overview></dashboard-overview> </div>
<?php if ( ! $minimal ): ?> <div tab="dashboard>get-started"> <dashboard-get-started></dashboard-get-started> </div>
<div tab="dashboard>whats-new"> <dashboard-whats-new></dashboard-whats-new> </div>
<div tab="dashboard>activation"> <dashboard-activation></dashboard-activation> </div>
<div tab="dashboard>support"> <dashboard-support></dashboard-support> </div>
<div tab="dashboard>credits"> <dashboard-credits></dashboard-credits> </div>
<div tab="dashboard>my-account"> <dashboard-my-account></dashboard-my-account> </div>
<div class="totalpoll-box totalpoll-box-totalsuite"> <div class="totalpoll-row"> <div class="totalpoll-column"> <div class="totalpoll-box-totalsuite-content"> <div class="totalpoll-box-title"><?php _e( 'Simple yet Powerful Plugins for WordPress', 'totalpoll' ); ?></div> <div class="totalpoll-box-description"><?php _e( 'A suite of robust, maintained and secure plugins for WordPress that helps you generate more value for your business.', 'totalpoll' ); ?></div> <?php $url = add_query_arg( [ 'utm_source' => 'in-app', 'utm_medium' => 'totalsuite-box', 'utm_campaign' => 'totalpoll', ], $this->env['links.totalsuite'] ); ?> <a href="<?php echo esc_attr( $url ); ?>" target="_blank" class="button button-primary button-large"><?php _e( 'Get Started', 'totalpoll' ); ?></a> </div> </div> <div class="totalpoll-column"> <div class="totalpoll-box-totalsuite-image"> <img src="<?php echo esc_attr( $this->env['url'] ); ?>assets/dist/images/general/totalsuite.svg"> </div> </div> </div> </div> <?php endif; ?> </div>
<?php if ( ! $minimal ): ?> <div class="totalpoll-column totalpoll-column-sidebar"> <dashboard-subscribe></dashboard-subscribe> <dashboard-review></dashboard-review> <dashboard-translate></dashboard-translate> </div> <?php endif; ?> </div>
<!-- Templates --> <?php include __DIR__ . '/overview.php'; ?> <?php include __DIR__ . '/get-started.php'; ?> <?php include __DIR__ . '/activation.php'; ?> <?php include __DIR__ . '/my-account.php'; ?> <?php include __DIR__ . '/support.php'; ?> <?php include __DIR__ . '/credits.php'; ?> <?php include __DIR__ . '/sidebar.php'; ?>
</div>
|