"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/install/resources/upgrade12.php" between
mybb_1821.zip and mybb_1822.zip

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

upgrade12.php  (mybb_1821):upgrade12.php  (mybb_1822)
skipping to change at line 180 skipping to change at line 180
// Still converting // Still converting
if($next_act == "12_dbchanges") if($next_act == "12_dbchanges")
{ {
echo "<p>Done</p>"; echo "<p>Done</p>";
echo "<p>Click next to continue with the integer conversion proce ss.</p>"; echo "<p>Click next to continue with the integer conversion proce ss.</p>";
foreach($form_fields as $key => $val) foreach($form_fields as $key => $val)
{ {
echo "<input type=\"hidden\" name=\"{$key}\" value=\"{$va l}\" />"; echo "<input type=\"hidden\" name=\"{$key}\" value=\"{$va l}\" />";
} }
global $footer_extra; global $footer_extra;
$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirec ting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.cs s('border-color', '#aaa'); document.forms[0].trigger('submit'); } });</script>"; $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirec ting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.cs s('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
$output->print_footer($next_act); $output->print_footer($next_act);
} }
else else
{ {
// Convert settings table // Convert settings table
$query = $db->write_query("UPDATE ".TABLE_PREFIX."settings SET va lue=1 WHERE value='yes' OR value='on'"); $query = $db->write_query("UPDATE ".TABLE_PREFIX."settings SET va lue=1 WHERE value='yes' OR value='on'");
$query = $db->write_query("UPDATE ".TABLE_PREFIX."settings SET va lue=0 WHERE value='no' OR value='off'"); $query = $db->write_query("UPDATE ".TABLE_PREFIX."settings SET va lue=0 WHERE value='no' OR value='off'");
echo "<p>Done</p>"; echo "<p>Done</p>";
echo "<p><strong>The integrer conversion process is now complete. </strong></p>"; echo "<p><strong>The integrer conversion process is now complete. </strong></p>";
echo "<p>Click next to continue with the upgrade process.</p>"; echo "<p>Click next to continue with the upgrade process.</p>";
global $footer_extra; global $footer_extra;
$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirec ting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.cs s('border-color', '#aaa'); document.forms[0].trigger('submit'); } });</script>"; $footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirec ting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.cs s('border-color', '#aaa'); document.forms[0].submit(); } });</script>";
$output->print_footer($next_act); $output->print_footer($next_act);
} }
} }
function upgrade12_dbchanges1() function upgrade12_dbchanges1()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 216 skipping to change at line 216
flush(); flush();
$db->write_query("ALTER TABLE ".TABLE_PREFIX."privatemessages ADD INDEX ( `uid` )"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."privatemessages ADD INDEX ( `uid` )");
echo "done.</p>"; echo "done.</p>";
$contents = "<p>Click next to continue with the upgrade process.</p>"; $contents = "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges_post1"); $output->print_footer("12_dbchanges_post1");
} }
function upgrade12_dbchanges_post1() function upgrade12_dbchanges_post1()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 241 skipping to change at line 241
// This will take a LONG time on huge post databases, so we only run it i solted from most of the other queries // This will take a LONG time on huge post databases, so we only run it i solted from most of the other queries
$db->write_query("ALTER TABLE ".TABLE_PREFIX."posts ADD INDEX ( `visible` )"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."posts ADD INDEX ( `visible` )");
echo "done.</p>"; echo "done.</p>";
flush(); flush();
$contents = "<p>Click next to continue with the upgrade process.</p>"; $contents = "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges_post2"); $output->print_footer("12_dbchanges_post2");
} }
function upgrade12_dbchanges_post2() function upgrade12_dbchanges_post2()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 277 skipping to change at line 277
$db->write_query("ALTER TABLE ".TABLE_PREFIX."posts ADD longipaddress int (11) NOT NULL default '0' AFTER ipaddress"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."posts ADD longipaddress int (11) NOT NULL default '0' AFTER ipaddress");
echo "done.</p>"; echo "done.</p>";
flush(); flush();
$contents = "<p>Click next to continue with the upgrade process.</p>"; $contents = "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges_user"); $output->print_footer("12_dbchanges_user");
} }
function upgrade12_dbchanges_user() function upgrade12_dbchanges_user()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 303 skipping to change at line 303
$db->write_query("ALTER TABLE ".TABLE_PREFIX."users ADD INDEX ( `lastvisi t` )"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."users ADD INDEX ( `lastvisi t` )");
$db->write_query("ALTER TABLE ".TABLE_PREFIX."users ADD INDEX ( `regdate` )"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."users ADD INDEX ( `regdate` )");
echo "done.</p>"; echo "done.</p>";
flush(); flush();
$contents = "<p>Click next to continue with the upgrade process.</p>"; $contents = "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges2"); $output->print_footer("12_dbchanges2");
} }
function upgrade12_dbchanges2() function upgrade12_dbchanges2()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 768 skipping to change at line 768
$db->update_query("settings", array('value' => 'classic'), "name='postlay out' AND value != 'horizontal'"); $db->update_query("settings", array('value' => 'classic'), "name='postlay out' AND value != 'horizontal'");
$db->update_query("settings", array('optionscode' => $db->escape_string(' php $db->update_query("settings", array('optionscode' => $db->escape_string(' php
<select name=\"upsetting[{$setting[\'name\']}]\"><option value=\"standard\">".($ lang->setting_searchtype_standard?$lang->setting_searchtype_standard:"Standard") ."</option>".($db->supports_fulltext("threads") && $db->supports_fulltext_boolea n("posts")?"<option value=\"fulltext\"".($setting[\'value\']=="fulltext"?" selec ted=\"selected\"":"").">".($lang->setting_searchtype_fulltext?$lang->setting_sea rchtype_fulltext:"Full Text")."</option>":"")."</select>')), "name='searchtype'" , 1); <select name=\"upsetting[{$setting[\'name\']}]\"><option value=\"standard\">".($ lang->setting_searchtype_standard?$lang->setting_searchtype_standard:"Standard") ."</option>".($db->supports_fulltext("threads") && $db->supports_fulltext_boolea n("posts")?"<option value=\"fulltext\"".($setting[\'value\']=="fulltext"?" selec ted=\"selected\"":"").">".($lang->setting_searchtype_fulltext?$lang->setting_sea rchtype_fulltext:"Full Text")."</option>":"")."</select>')), "name='searchtype'" , 1);
$contents = "Done</p>"; $contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>"; $contents .= "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges3"); $output->print_footer("12_dbchanges3");
} }
function upgrade12_dbchanges3() function upgrade12_dbchanges3()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Converting Ban Filters"); $output->print_header("Converting Ban Filters");
skipping to change at line 844 skipping to change at line 844
); );
$db->insert_query("banfilters", $new_ban); $db->insert_query("banfilters", $new_ban);
} }
} }
$contents = "Done</p>"; $contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>"; $contents .= "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges4"); $output->print_footer("12_dbchanges4");
} }
function upgrade12_dbchanges4() function upgrade12_dbchanges4()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 1075 skipping to change at line 1075
$query = $db->simple_select("users", "COUNT(uid) AS users"); $query = $db->simple_select("users", "COUNT(uid) AS users");
$stats['numusers'] = $db->fetch_field($query, 'users'); $stats['numusers'] = $db->fetch_field($query, 'users');
update_stats($stats, true); update_stats($stats, true);
$contents = "Done</p>"; $contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>"; $contents .= "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges5"); $output->print_footer("12_dbchanges5");
} }
function upgrade12_dbchanges5() function upgrade12_dbchanges5()
{ {
global $db, $output, $mybb; global $db, $output, $mybb;
$output->print_header("Performing Queries"); $output->print_header("Performing Queries");
skipping to change at line 1290 skipping to change at line 1290
while($user = $db->fetch_array($query)) while($user = $db->fetch_array($query))
{ {
$db->update_query("users", array('avatardimensions' => $avatardim ensions), "uid='{$user['uid']}'", 1); $db->update_query("users", array('avatardimensions' => $avatardim ensions), "uid='{$user['uid']}'", 1);
} }
$contents = "Done</p>"; $contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>"; $contents .= "<p>Click next to continue with the upgrade process.</p>";
$output->print_contents($contents); $output->print_contents($contents);
global $footer_extra; global $footer_extra;
$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].trigger('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("12_redoconfig"); $output->print_footer("12_redoconfig");
} }
function upgrade12_redoconfig() function upgrade12_redoconfig()
{ {
global $db, $output, $orig_config, $mybb; global $db, $output, $orig_config, $mybb;
$config = $orig_config; $config = $orig_config;
skipping to change at line 1445 skipping to change at line 1445
); );
?".">"; ?".">";
fwrite($fh, $configdata); fwrite($fh, $configdata);
fclose($fh); fclose($fh);
} }
echo "<p>The configuration file has successfully been rewritten.</p>"; echo "<p>The configuration file has successfully been rewritten.</p>";
echo "<p>Click next to continue with the upgrade process.</p>"; echo "<p>Click next to continue with the upgrade process.</p>";
global $footer_extra; global $footer_extra;
$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].trigger('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("12_dbchanges6"); $output->print_footer("12_dbchanges6");
} }
function upgrade12_dbchanges6() function upgrade12_dbchanges6()
{ {
global $db, $output; global $db, $output;
$output->print_header("Post IP Conversion"); $output->print_header("Post IP Conversion");
skipping to change at line 1517 skipping to change at line 1517
$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 = "12_dbchanges7"; $nextact = "12_dbchanges7";
$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\">$(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].trigger('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 upgrade12_dbchanges7() function upgrade12_dbchanges7()
{ {
global $db, $output; global $db, $output;
$output->print_header("User IP Conversion"); $output->print_header("User IP Conversion");
skipping to change at line 1601 skipping to change at line 1601
$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 = "12_dbchanges8"; $nextact = "12_dbchanges8";
$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\">$(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].trigger('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 upgrade12_dbchanges8() function upgrade12_dbchanges8()
{ {
global $db, $output; global $db, $output;
$output->print_header("Event Conversion"); $output->print_header("Event Conversion");
skipping to change at line 1766 skipping to change at line 1766
if($db->field_exists('date', "events")) if($db->field_exists('date', "events"))
{ {
$db->write_query("ALTER TABLE ".TABLE_PREFIX."events DROP date"); $db->write_query("ALTER TABLE ".TABLE_PREFIX."events DROP date");
} }
$nextact = "12_redothemes"; $nextact = "12_redothemes";
$contents .= "<p>Done</p><p>All events have been converted to the new calendar system. Click next to continue.</p>"; $contents .= "<p>Done</p><p>All events have been converted to the new calendar system. 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\">$(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].trigger('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 upgrade12_redothemes() function upgrade12_redothemes()
{ {
global $db, $output, $config, $mybb; global $db, $output, $config, $mybb;
$output->print_header("Converting themes"); $output->print_header("Converting themes");
skipping to change at line 1987 skipping to change at line 1987
{ {
$template['template'] = str_replace('<link rel="stylesheet" type= "text/css" href="{$theme[\'css_url\']}" />', '{$stylesheets}', $template['templa te']); $template['template'] = str_replace('<link rel="stylesheet" type= "text/css" href="{$theme[\'css_url\']}" />', '{$stylesheets}', $template['templa te']);
$db->update_query("templates", array('template' => $db->escape_st ring($template['template'])), "tid='{$template['tid']}'"); $db->update_query("templates", array('template' => $db->escape_st ring($template['template'])), "tid='{$template['tid']}'");
} }
echo "<p>Your themes have successfully been converted to the new theme sy stem.</p>"; echo "<p>Your themes have successfully been converted to the new theme sy stem.</p>";
echo "<p>Click next to continue with the upgrade process.</p>"; echo "<p>Click next to continue with the upgrade process.</p>";
global $footer_extra; global $footer_extra;
//$footer_extra = "<script type=\"text/javascript\">$(function() { var bu tton = $('.submit_button'); if(button) { button.val('Automatically Redirecting.. .'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('bor der-color', '#aaa'); document.forms[0].trigger('submit'); } });</script>"; //$footer_extra = "<script type=\"text/javascript\">$(function() { var bu tton = $('.submit_button'); if(button) { button.val('Automatically Redirecting.. .'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('bor der-color', '#aaa'); document.forms[0].submit(); } });</script>";
$output->print_footer("12_done"); $output->print_footer("12_done");
} }
 End of changes. 15 change blocks. 
15 lines changed or deleted 15 lines changed or added

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