PluginProbe ʕ •ᴥ•ʔ
Transferito: WP Migration / trunk
Transferito: WP Migration vtrunk
trunk 11.4.0 12.0.0 13.1.0 14.0.0 14.0.11 14.0.7 14.1.0 14.1.1 14.1.2 14.1.3 14.1.4
transferito / src / Views / parts / migration / select-migration-method.php
transferito / src / Views / parts / migration Last commit date
cpanel 10 months ago manual 8 months ago progress 8 months ago completed.php 10 months ago connect-to-server.php 10 months ago cpanel-check.php 10 months ago failure.php 10 months ago local-migration-completed.php 10 months ago navigation.php 8 months ago pro-tip.php 10 months ago select-migration-method.php 10 months ago upload-progress.php 10 months ago
select-migration-method.php
167 lines
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <input type="hidden" id="selectMigrationMethod" value="<?php echo esc_html(wp_create_nonce('select_migration_method')); ?>">
3
4 <div class="transferito__three-columns">
5 <div class="transferito__column transferito__navigation-column">
6 <?php
7 $data['sidebarNavigation'] = [
8 'destinationURL' => 'completed',
9 'chooseMethod' => 'active',
10 'emptyItem1' => 'disabled',
11 'emptyItem2' => 'disabled',
12 'emptyItem3' => 'disabled'
13 ];
14 include getTransferitoViewPath('parts/migration/navigation');
15 ?>
16 </div>
17 <div id="selectMigrationMethodScreen" class="transferito__column transferito__main-column">
18 <div class="transferito-text__h1">Select Migration Method</div>
19 <div class="transferito__content-container">
20
21 <div class="transferito-migration-method">
22
23 <div class="transferito-migration-method__selection-boxes">
24 <div id="selectMethodCpanel" data-select-migration-method="cpanel" class="transferito-migration-method__selection-method <?php echo ($data['cpanelAllowed']) ? 'transferito-migration-method__selection-method--selected' : ''; ?>">
25 <?php if ($data['cpanelAllowed']) : ?>
26 <div class="transferito-migration-method__recommended">RECOMMENDED</div>
27 <?php endif; ?>
28 <div class="transferito-migration-method__icon transferito-migration-method__icon--cpanel"></div>
29 <div class="transferito-migration-method__title transferito-text__p1--bold">Migrate using cPanel</div>
30 <?php if ($data['cpanelAllowed']) : ?>
31 <div class="transferito-migration-method__pill-holder">
32 <div class="transferito-migration-method__pill transferito-migration-method__pill--dark-purple">EASIER</div>
33 <div class="transferito-migration-method__pill transferito-migration-method__pill--light-purple">FASTER</div>
34 </div>
35 <?php endif; ?>
36 </div>
37
38 <div id="selectMethodFTP" data-select-migration-method="manual" class="transferito-migration-method__selection-method <?php echo (!$data['cpanelAllowed']) ? 'transferito-migration-method__selection-method--selected' : ''; ?>">
39 <?php if (!$data['cpanelAllowed']) : ?>
40 <div class="transferito-migration-method__recommended">RECOMMENDED</div>
41 <?php endif; ?>
42 <div class="transferito-migration-method__icon transferito-migration-method__icon--ftp"></div>
43 <div class="transferito-migration-method__title transferito-text__p1--bold">Migrate using FTP</div>
44 <?php if ($data['cpanelAllowed']) : ?>
45 <div class="transferito-migration-method__pill-holder">
46 <div class="transferito-migration-method__pill transferito-migration-method__pill--blue">MANUAL</div>
47 </div>
48 <?php endif; ?>
49 </div>
50 </div>
51 <div class="transferito-migration-method__action-buttons">
52 <button id="routeToDestinationURL" data-screen-route="destinationURL" class="transferito-button transferito-button__secondary transferito-button--small transferito__screen-routing">BACK</button>
53 <button id="selectTransferitoMigrationMethod" class="transferito-button transferito-button__primary transferito-button--small transferito__select-migration-method">CONTINUE</button>
54 </div>
55
56 </div>
57
58 </div>
59 </div>
60 <div id="cPanelProTip" class="transferito__column transferito__pro-tip-column <?php echo (!$data['cpanelAllowed']) ? 'transferito__pro-tip-column--hide' : '' ?>">
61 <?php
62 $data = [
63 'mainText' => 'To use cPanel as your migration method. You will need to have access to your hosting dashboard.',
64 'secondaryText' => [
65 'text' => 'You will need the following',
66 'items' => [
67 'cPanel Username',
68 'cPanel API Token',
69 ]
70 ],
71 'textBox' => [
72 "content" => "
73 Our migrations with cPanel are faster and easier because you do not need to create FTP details or database details.
74 <br><br>Not sure how to get your cPanel details?",
75 "link" => [
76 "anchorText" => "Click here, to watch a video on how to get your cPanel details",
77 "modalName" => "getCpanelDetails"
78 ]
79 ]
80 ];
81 include getTransferitoViewPath('parts/migration/pro-tip');
82 ?>
83 </div>
84 <div id="FTPProTip" class="transferito__column transferito__pro-tip-column <?php echo ($data['cpanelAllowed']) ? 'transferito__pro-tip-column--hide' : ''?>">
85 <?php
86 $data = [
87 'secondaryText' => [
88 'text' => 'To use FTP as your migration method, you will need the following',
89 'items' => [
90 'FTP/SFTP Details for your destination server/website',
91 'Database Details for your destination server/website'
92 ]
93 ],
94 'textBox' => [
95 "content" => "Need help with finding your FTP details?",
96 "link" => [
97 "anchorText" => "Click here, to watch a video on how to get your FTP details",
98 "modalName" => "getFTPDetails"
99 ]
100 ]
101 ];
102 include getTransferitoViewPath('parts/migration/pro-tip');
103 ?>
104 </div>
105 </div>
106
107 <div id="getCpanelDetails" class="transferito__hide-element">
108 <?php
109 $data = [
110 'name' => 'Get your cPanel details',
111 'title' => 'Get your cPanel details',
112 'mainContent' => 'This video tutorial will give you an overview on how to get your cPanel details from your hosting provider.',
113 'videoID' => 'y0atIDHUPrE',
114 ];
115 include getTransferitoViewPath('parts/information');
116 ?>
117 </div>
118 <div id="getFTPDetails" class="transferito__hide-element">
119 <?php
120 $data = [
121 'name' => 'Get your FTP Details',
122 'title' => 'Get your FTP Details',
123 'mainContent' => 'This video tutorial will give you an overview on how to get your FTP details from your hosting provider.',
124 'videoID' => 'FwZ9DWjm5to',
125 'subTitle' => 'Use the dropdown below to select the video for your hosting provider:',
126 'guideMissingLink' => true,
127 'steps' => [
128 'options' => [
129 [
130 'value' => 'bluehost',
131 'text' => 'Bluehost',
132 'videoID' => 'M4j16LqsV28'
133 ],
134 [
135 'value' => 'siteground',
136 'text' => 'Siteground',
137 'videoID' => 'wehSB52cTyw'
138 ],
139 [
140 'value' => 'namehero',
141 'text' => 'Namehero',
142 'videoID' => 'HhhvYwGdyoE'
143 ],
144 [
145 'value' => 'go-daddy',
146 'text' => 'Go Daddy',
147 'videoID' => 'c6U8Ndsm340'
148 ],
149 [
150 'value' => 'ionos',
151 'text' => 'IONOS',
152 'videoID' => 'NN3fw3tDT0Y'
153 ],
154 [
155 'value' => 'hostmonster',
156 'text' => 'Hostmonster',
157 'videoID' => 'qkeimaL8BkU'
158 ],
159 ],
160 ]
161 ];
162 include getTransferitoViewPath('parts/information');
163 ?>
164 </div>
165
166
167