1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 06:03:27 +02:00

Closes #4907 - Improved interface on database table verification form.

This commit is contained in:
Cameron
2022-11-12 11:14:37 -08:00
parent ca32c2fbcc
commit 4c2ff6c37e
2 changed files with 78 additions and 11 deletions

View File

@@ -208,6 +208,29 @@ class system_tools
if(isset($_POST['verify_sql']) || !empty($_POST['verify_table']) || varset($_GET['mode']) =='verify_sql')
{
e107::css('inline', "
td.darker { background-color: rgba(0,0,0,0.5) }
");
e107::js('footer-inline', "
$('#core-db-verify-sql-tables input[type=\"checkbox\"]').click(function(evt){
if(this.checked)
{
$(this).closest('td').addClass('darker', 50 );
}
else
{
$(this).closest('td').removeClass('darker', 300 );
}
});
");
e107::getCache()->clear('Dbverify',true);
require_once(e_HANDLER."db_verify_class.php");
$dbv = new db_verify;