Browse code

admin/convert.php: Fix warning message showing under the conversion confirmation message - warning should always remain above the confirmation message but below the header

Clarissa Walker authored on 2026/09/27 18:05:24
Showing 1 changed files
... ...
@@ -28,6 +28,7 @@ if(!defined("_CHARSET")) exit( );
28 28
 
29 29
 $convert = isset($_GET['conv']) ? $_GET['conv'] : false;
30 30
 $output .= "<div id='pagetitle'>"._ARCHIVECONV."</div>";
31
+$output .= "<center>Warning: You should put the archive in maintenance mode before converting the database; it will be very live otherwise!</center>";
31 32
 if($convert == "convert_mod") {
32 33
 	if(file_exists("admin/convert_mod.php")) include_once("admin/convert_mod.php");
33 34
 }
... ...
@@ -47,7 +48,6 @@ if($convert == "convert_1400") {
47 48
 	if(file_exists("admin/convert_1400.php")) include_once("admin/convert_1400.php");
48 49
 }
49 50
 $output .= "
50
-<center>Warning: You should put the archive in maintenance mode before converting the database; it will be very live otherwise!</center>
51 51
 <ul>
52 52
 	<li><a href='admin.php?action=convert&amp;conv=convert_mod'>"._CONVERT_MOD."</a>  <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_CONVERTMOD."</span></A></li>
53 53
 	<li><a href='admin.php?action=convert&amp;conv=convert_utf'>"._CONVERT_UTF."</a>  <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_CONVERTUTF."</span></A></li>