mirror of
				https://github.com/pandorafms/pandorafms.git
				synced 2025-10-31 11:34:51 +01:00 
			
		
		
		
	Added a lot of code to um and rr new system
This commit is contained in:
		
							parent
							
								
									a4512ceae2
								
							
						
					
					
						commit
						adb055b13c
					
				| @ -83,7 +83,7 @@ echo "<img src='images/wait.gif' />"; | ||||
| echo "</span><br><br>"; | ||||
| 
 | ||||
| echo "<div><b>" . __('The last version of package installed is:') . "</b></div><br>"; | ||||
| echo "<div style='color:#82b92e;font-size:40pt;font-weight:bold;'>" . $current_package . "</div>"; | ||||
| echo "<div id='pkg_version' style='color:#82b92e;font-size:40pt;font-weight:bold;'>" . $current_package . "</div>"; | ||||
| 
 | ||||
| 	echo "<div class='checking_package' style='font-size:18pt;width:100%; text-align: center; display: none;'>"; | ||||
| 		echo __('Checking for the newest package.'); | ||||
|  | ||||
| @ -41,7 +41,7 @@ if (is_ajax ()) { | ||||
| 			$message = "<div>"; | ||||
| 			$message .= "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_error_mr.png'></div>"; | ||||
| 			$message .= "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>ERROR</strong></h3>"; | ||||
| 			$message .= "<p style='font-family:Verdana; font-size:12pt;'>The sql file contains a dangerous query</p></div>"; | ||||
| 			$message .= "<p style='font-family:Verdana; font-size:12pt;'>" . __('The sql file contains a dangerous query') . "</p></div>"; | ||||
| 			$message .= "</div>"; | ||||
| 
 | ||||
| 			fwrite($error_file, $message); | ||||
| @ -88,7 +88,7 @@ if (is_ajax ()) { | ||||
| 							$message = "<div>"; | ||||
| 							$message .= "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_error_mr.png'></div>"; | ||||
| 							$message .= "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>ERROR</strong></h3>"; | ||||
| 							$message .= "<p style='font-family:Verdana; font-size:12pt;'>An error occurred while updating the database schema to the minor release " . $number . "</p></div>"; | ||||
| 							$message .= "<p style='font-family:Verdana; font-size:12pt;'>" . __('An error occurred while updating the database schema to the minor release ') . $number . "</p></div>"; | ||||
| 							$message .= "</div>"; | ||||
| 
 | ||||
| 							fwrite($error_file, $message); | ||||
| @ -102,7 +102,7 @@ if (is_ajax ()) { | ||||
| 					$message = "<div>"; | ||||
| 					$message .= "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_error_mr.png'></div>"; | ||||
| 					$message .= "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>ERROR</strong></h3>"; | ||||
| 					$message .= "<p style='font-family:Verdana; font-size:12pt;'>The directory " . $dir . " should have read permissions in order to update the database schema</p></div>"; | ||||
| 					$message .= "<p style='font-family:Verdana; font-size:12pt;'>" . __('The directory ') . $dir . __(' should have read permissions in order to update the database schema') . "</p></div>"; | ||||
| 					$message .= "</div>"; | ||||
| 
 | ||||
| 					fwrite($error_file, $message); | ||||
| @ -115,7 +115,7 @@ if (is_ajax ()) { | ||||
| 				$message = "<div>"; | ||||
| 				$message .= "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_error_mr.png'></div>"; | ||||
| 				$message .= "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>ERROR</strong></h3>"; | ||||
| 				$message .= "<p style='font-family:Verdana; font-size:12pt;'>The directory " . $dir . " does not exist</p></div>"; | ||||
| 				$message .= "<p style='font-family:Verdana; font-size:12pt;'>" . __('The directory ') . $dir . __(' does not exist') . "</p></div>"; | ||||
| 				$message .= "</div>"; | ||||
| 
 | ||||
| 				fwrite($error_file, $message); | ||||
|  | ||||
| @ -236,7 +236,7 @@ if ($install_package) { | ||||
| 	} | ||||
| 	else { | ||||
| 		$return["status"] = "error"; | ||||
| 		$return["message"]= __("Package not accepted"); | ||||
| 		$return["message"]= __("Package rejected."); | ||||
| 		echo json_encode($return); | ||||
| 		return; | ||||
| 	} | ||||
| @ -460,7 +460,7 @@ if ($update_last_free_package) { | ||||
| 	} | ||||
| 	else { | ||||
| 		$return["in_progress"] = false; | ||||
| 		$return["message"] = __("Package not accepted."); | ||||
| 		$return["message"] = __("Package rejected."); | ||||
| 	 | ||||
| 		echo json_encode($return); | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user