"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/install/resources/upgrade13.php" between
mybb_1819.zip and mybb_1820.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

upgrade13.php  (mybb_1819):upgrade13.php  (mybb_1820)
skipping to change at line 148 skipping to change at line 148
$contents = "<p><input type=\"hidden\" name=\"ipspage\" value=\"$ ipp\" /><input type=\"hidden\" name=\"ipstart\" value=\"$startat\" />Done. Click Next to move on to the next set of post ips.</p>"; $contents = "<p><input type=\"hidden\" name=\"ipspage\" value=\"$ ipp\" /><input type=\"hidden\" name=\"ipstart\" value=\"$startat\" />Done. Click Next to move on to the next set of post ips.</p>";
} }
else else
{ {
$nextact = "13_dbchanges2"; $nextact = "13_dbchanges2";
$contents = "<p>Done</p><p>All post ips have been converted to th e new ip format. Click next to continue.</p>"; $contents = "<p>Done</p><p>All post ips have been converted to th e new ip format. Click next to continue.</p>";
} }
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$footer_extra = "<script type=\"text/javascript\">$(document).ready(funct ion() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); b utton.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>"; $footer_extra = "<script type=\"text/javascript\">$(function() { var butt on = $('.submit_button'); if(button) { button.val('Automatically Redirecting...' ); button.prop('disabled', true); button.css('color', '#aaa'); button.css('borde r-color', '#aaa'); document.forms[0].submit(); } });</script>";
$output->print_footer($nextact); $output->print_footer($nextact);
} }
function upgrade13_dbchanges2() function upgrade13_dbchanges2()
{ {
global $db, $output; global $db, $output;
$output->print_header("User IP Repair Conversion"); $output->print_header("User IP Repair Conversion");
skipping to change at line 232 skipping to change at line 232
$contents .= "<p><input type=\"hidden\" name=\"ipspage\" value=\" $ipp\" /><input type=\"hidden\" name=\"ipstart\" value=\"$startat\" />Done. Clic k Next to move on to the next set of user ips.</p>"; $contents .= "<p><input type=\"hidden\" name=\"ipspage\" value=\" $ipp\" /><input type=\"hidden\" name=\"ipstart\" value=\"$startat\" />Done. Clic k Next to move on to the next set of user ips.</p>";
} }
else else
{ {
$nextact = "13_done"; $nextact = "13_done";
$contents .= "<p>Done</p><p>All user ips have been converted to t he new ip format. Click next to continue.</p>"; $contents .= "<p>Done</p><p>All user ips have been converted to t he new ip format. Click next to continue.</p>";
} }
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$footer_extra = "<script type=\"text/javascript\">$(document).ready(funct ion() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); b utton.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>"; $footer_extra = "<script type=\"text/javascript\">$(function() { var butt on = $('.submit_button'); if(button) { button.val('Automatically Redirecting...' ); button.prop('disabled', true); button.css('color', '#aaa'); button.css('borde r-color', '#aaa'); document.forms[0].submit(); } });</script>";
$output->print_footer($nextact); $output->print_footer($nextact);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)