web/wp-content/plugins/duplicator/inc/view.system.php
changeset 204 09a1c134465b
parent 195 c7c0fbc09788
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
     9 
     9 
    10 		<b><?php _e('Pre-Zip Overview', 'wpduplicator'); ?>:</b>
    10 		<b><?php _e('Pre-Zip Overview', 'wpduplicator'); ?>:</b>
    11 		<span id='dup-dlg-package-confirm-scannow-data'>
    11 		<span id='dup-dlg-package-confirm-scannow-data'>
    12 			<a href="javascript:void(0)" onclick="Duplicator.getSystemDirectory()"><?php _e("Perform Scan", 'wpduplicator') ?></a> 
    12 			<a href="javascript:void(0)" onclick="Duplicator.getSystemDirectory()"><?php _e("Perform Scan", 'wpduplicator') ?></a> 
    13 		</span><br/>
    13 		</span><br/>
       
    14 		<i style='font-size:11px'><?php _e("Scan sizes over 1GB may not finish processing on some hosting providers.", 'wpduplicator') ?></i>
    14 		
    15 		
    15 		<div style='font-size:11px; line-height:15px'>
    16 		<div style='font-size:11px; line-height:15px'>
    16 			<i>
    17 			<i>
    17 				<?php printf("%s <a href='javascript:void(0)'  onclick='Duplicator.optionsOpen()'>%s</a>. %s",
    18 				<?php printf("%s <a href='javascript:void(0)'  onclick='Duplicator.optionsOpen()'>%s</a>. %s",
    18 						__('Note: A scan will provide an estimate on the size of your file system.  The scan will exclude items in the', 'wpduplicator'),
    19 						__('Note: A scan will provide an estimate on the size of your file system.  The scan will exclude items in the', 'wpduplicator'),
    19 						__('directory filter list', 'wpduplicator'),
    20 						__('directory filter list', 'wpduplicator'),
    20 						__('Files that are not readable by the plugin will not be included in the overview.  Directories that are empty will not be included in the final package. ', 'wpduplicator'));
    21 						__('Files that are not readable by the plugin will not be included in the overview.', 'wpduplicator'));
    21 				?>
    22 				?>
    22 			</i>
    23 			</i>
    23 		</div>
    24 		</div>
    24 	</p>
    25 	</p>
    25 </div>
    26 </div>
    74 </div>
    75 </div>
    75 
    76 
    76 
    77 
    77 <!-- ==========================================
    78 <!-- ==========================================
    78 DIALOG: SYSTEM CHECK -->
    79 DIALOG: SYSTEM CHECK -->
    79 <div id="dup-dlg-system-check" title="<?php _e('System Checks', 'wpduplicator'); ?>">
    80 <div id="dup-dlg-system-check" title="<?php _e('System Status', 'wpduplicator'); ?>">
    80 	
    81 	
    81 	<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0; line-height:18px;"></span>
    82 	<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0; line-height:18px;"></span>
    82 	<?php _e("Please validate your system configuration.", 'wpduplicator'); ?>
    83 	<?php _e("Please validate your system configuration.", 'wpduplicator'); ?>
    83 	<?php printf("<i>%s</i>", __("Click link for details", 'wpduplicator')); ?>
    84 	<?php printf("<i>%s</i>", __("Click link for details", 'wpduplicator')); ?>
    84 	
    85 	
   142 							_e("Safe Mode needs to be disabled in order for the Duplicator to operate correctly.  Please set safe_mode = Off in you php.ini file.  If you're on a hosted server and don't have access to the php.ini file then you will need to request this setting be updated. Safe Mode is no longer in future versions of PHP.  If your host will not work with you to resolve the issue then consider a higher reputable hosting provider.", 'wpduplicator');
   143 							_e("Safe Mode needs to be disabled in order for the Duplicator to operate correctly.  Please set safe_mode = Off in you php.ini file.  If you're on a hosted server and don't have access to the php.ini file then you will need to request this setting be updated. Safe Mode is no longer in future versions of PHP.  If your host will not work with you to resolve the issue then consider a higher reputable hosting provider.", 'wpduplicator');
   143 						?>
   144 						?>
   144 					</div>
   145 					</div>
   145 				</li>	
   146 				</li>	
   146 				<li>
   147 				<li>
   147 					<div class='dup-sys-check-title'><a>SYS-104: <?php _e('MySQLi Support', 'wpduplicator');?></a></div> <span id='SYS-104'></span>
   148 					<div class='dup-sys-check-title'><a>SYS-104: <?php _e('MySQL Support', 'wpduplicator');?></a></div> <span id='SYS-104'></span>
   148 					<div class='dup-sys-check-data-details'>
   149 					<div class='dup-sys-check-data-details'>
   149 						<?php 
   150 						<?php 
   150 							_e("In order to complete an install the mysqli extension for PHP is required. If you are on a hosted server please contact your host and request that mysqli extension be enabled. For more information visit: http://php.net/manual/en/mysqli.installation.php", 'wpduplicator');
   151 						
       
   152 							printf("%s <b>[%s]</b>. %s",
       
   153 								__("The version of MySQL on this server is ", 'wpduplicator'),
       
   154 								$wpdb->db_version(),
       
   155 								__("The Duplicator requires MySQL version 4.1+ or better.", 'wpduplicator')
       
   156 							);				
       
   157 							echo '  ';
       
   158 							_e("If the MySQL server version is valid and this requirement fails then the mysqli extension is not installed. If you are on a hosted server please contact your host and request that mysqli extension and MySQL Server 4.1+ be installed. For more info visit: http://php.net/manual/en/mysqli.installation.php", 'wpduplicator');
       
   159 						?>
       
   160 					</div>
       
   161 				</li>
       
   162 				<li>
       
   163 					<div class='dup-sys-check-title'><a>SYS-105: <?php _e('PHP Support', 'wpduplicator');?></a></div> <span id='SYS-105'></span>
       
   164 					<div class='dup-sys-check-data-details'>
       
   165 						<?php 
       
   166 							printf("%s <b>[%s]</b>. %s",
       
   167 								__("The version of PHP on this server is ", 'wpduplicator'),
       
   168 								phpversion(),
       
   169 								__("The Duplicator requires at least PHP version 5.2.17+ on this server.  Please contact your host and have them upgrade to this stable secure version if the test fails.", 'wpduplicator')
       
   170 							);
   151 						?>
   171 						?>
   152 					</div>
   172 					</div>
   153 				</li>	
   173 				</li>	
   154 			</ul>
   174 			</ul>
   155 	
   175 	
   156 		
   176 		
   157 			<!-- =========================================
   177 			<!-- =========================================
   158 			SYSTEM CHECKS -->
   178 			SYSTEM CHECKS -->
   159 			<b><?php _e("SYSTEM CHECKS", 'wpduplicator') ?></b><hr style='margin-top:-2px' size="1"/>
   179 			<b><?php _e("SYSTEM CHECKS", 'wpduplicator') ?></b><hr style='margin-top:-2px' size="1"/>
   160 			
       
   161 			<!-- PHP SERVER -->
       
   162 			<div class='dup-sys-check-title'><b><?php _e("PHP Version", 'wpduplicator');  echo ":</b> " . phpversion(); ?></div> 
       
   163 			<?php if (phpversion() >= 5.3): ?>
       
   164 				<div class='dup-sys-pass'><?php _e('Good', 'wpduplicator'); ?></div>
       
   165 			<?php elseif (phpversion() >= 5.2): ?>
       
   166 				<div class='dup-sys-ok'><?php _e('OK', 'wpduplicator'); ?></div>
       
   167 				<i style="font-size:11px; font-weight:normal"> &nbsp; (<?php _e("PHP 5.2.17+ is required", 'wpduplicator') ?>)</i>
       
   168 			<?php else: ?> 
       
   169 				<div class='dup-sys-fail'><?php _e('Fail', 'wpduplicator'); ?></div>
       
   170 			<?php endif; ?>	<br />
       
   171 			
   180 			
   172 			
   181 			
   173 			<!-- WEB SERVER -->
   182 			<!-- WEB SERVER -->
   174 			<?php if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false): ?>
   183 			<?php if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false): ?>
   175 				<b><div class='dup-sys-check-title'><?php _e("Web Server", 'wpduplicator') ?>:</b> Apache</div> 
   184 				<b><div class='dup-sys-check-title'><?php _e("Web Server", 'wpduplicator') ?>:</b> Apache</div>