Zeile 9 | Zeile 9 |
---|
*/
/**
|
*/
/**
|
* Upgrade Script: 1.6.14, 1.6.15 or 1.6.16
| * Upgrade Script: 1.6.14, 1.6.15, 1.6.16, 1.6.17 or 1.6.18
|
*/
$upgrade_detail = array(
| */
$upgrade_detail = array(
|
Zeile 330 | Zeile 330 |
---|
$db->update_query('profilefields', array('viewableby' => '-1', 'editableby' => '-1'));
global $footer_extra;
|
$db->update_query('profilefields', array('viewableby' => '-1', 'editableby' => '-1'));
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges2");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges2");
|
Zeile 480 | Zeile 480 |
---|
$db->update_query('forums', array('usethreadcounts' => 1), 'usepostcounts = 1');
global $footer_extra;
|
$db->update_query('forums', array('usethreadcounts' => 1), 'usepostcounts = 1');
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges3");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges3");
|
Zeile 616 | Zeile 616 |
---|
}
global $footer_extra;
|
}
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges4");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges4");
|
Zeile 747 | Zeile 747 |
---|
$db->update_query("maillogs", $update_array, "tid > '0'");
global $footer_extra;
|
$db->update_query("maillogs", $update_array, "tid > '0'");
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges5");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges5");
|
Zeile 861 | Zeile 861 |
---|
}
global $footer_extra;
|
}
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges6");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges6");
|
Zeile 1249 | Zeile 1249 |
---|
} else {
|
} else {
|
$threads = $_POST['theadspage'];
| $threads = (int)$_POST['theadspage'];
|
}
if($_POST['threadstart']) {
|
}
if($_POST['threadstart']) {
|
$startat = $_POST['threadstart'];
| $startat = (int)$_POST['threadstart'];
|
$upper = $startat+$threads; $lower = $startat; }
| $upper = $startat+$threads; $lower = $startat; }
|
Zeile 1304 | Zeile 1304 |
---|
$output->print_contents($contents);
global $footer_extra;
|
$output->print_contents($contents);
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_footer($nextact); }
| $output->print_footer($nextact); }
|
Zeile 1408 | Zeile 1408 |
---|
}
global $footer_extra;
|
}
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize2");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize2");
|
Zeile 1507 | Zeile 1507 |
---|
}
global $footer_extra;
|
}
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize3");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize3");
|
Zeile 1582 | Zeile 1582 |
---|
}
global $footer_extra;
|
}
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize4");
| $output->print_contents("<p>Click next to continue with the upgrade process.</p>"); $output->print_footer("30_dbchanges_optimize4");
|
Zeile 1631 | Zeile 1631 |
---|
"threads" => array("dateline", "lastpost"), "threadsread" => array("dateline"), "threadsubscriptions" => array("dateline"),
|
"threads" => array("dateline", "lastpost"), "threadsread" => array("dateline"), "threadsubscriptions" => array("dateline"),
|
"threadsread" => array("dateline"),
| |
"usergroups" => array("reputationpower", "maxreputationsday", "maxreputationsperuser", "maxreputationsperthread", "attachquota"), "users" => array("regdate", "lastactive", "lastvisit", "lastpost", "timeonline", "moderationtime", "suspensiontime", "suspendsigtime"), "warningtypes" => array("expirationtime"),
| "usergroups" => array("reputationpower", "maxreputationsday", "maxreputationsperuser", "maxreputationsperthread", "attachquota"), "users" => array("regdate", "lastactive", "lastvisit", "lastpost", "timeonline", "moderationtime", "suspensiontime", "suspendsigtime"), "warningtypes" => array("expirationtime"),
|
Zeile 1804 | Zeile 1803 |
---|
} else {
|
} else {
|
$ipp = $_POST['ipspage'];
| $ipp = (int)$_POST['ipspage'];
|
}
if($_POST['ipstart']) {
|
}
if($_POST['ipstart']) {
|
$startat = $_POST['ipstart'];
| $startat = (int)$_POST['ipstart'];
|
$upper = $startat+$ipp-1; $lower = $startat; }
| $upper = $startat+$ipp-1; $lower = $startat; }
|
Zeile 2127 | Zeile 2126 |
---|
$contents = "<p><input type=\"hidden\" name=\"iptask\" value=\"{$next_task}\" />{$iptable}{$ipstart}Done. Click Next to continue the IP conversion.</p>";
global $footer_extra;
|
$contents = "<p><input type=\"hidden\" name=\"iptask\" value=\"{$next_task}\" />{$iptable}{$ipstart}Done. Click Next to continue the IP conversion.</p>";
global $footer_extra;
|
$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
| $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
|
$nextact = "30_dbchanges_ip"; }
| $nextact = "30_dbchanges_ip"; }
|
Zeile 2200 | Zeile 2199 |
---|
$sid = $db->insert_query("themestylesheets", $new_stylesheet); $css_url = "css.php?stylesheet={$sid}";
|
$sid = $db->insert_query("themestylesheets", $new_stylesheet); $css_url = "css.php?stylesheet={$sid}";
|
$cached = cache_stylesheet($tid, $stylesheet['attributes']['name'], $stylesheet['value']);
| $cached = cache_stylesheet(1, $stylesheet['attributes']['name'], $stylesheet['value']);
|
if($cached) {
| if($cached) {
|