Server IP : 85.214.239.14 / Your IP : 18.116.40.188 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/wordpress/phpMyAdmin/js/designer/ |
Upload File : |
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Initialises the data required to run Designer, then fires it up. */ /* global DesignerOfflineDB */ // js/designer/database.js /* global DesignerHistory */ // js/designer/history.js /* global DesignerMove */ // js/designer/move.js /* global DesignerPage */ // js/designer/page.js /* global designerConfig */ // templates/database/designer/main.twig /* eslint-disable no-unused-vars */ var jTabs; var hTabs; var contr; var displayField; var server; var selectedPage; /* eslint-enable no-unused-vars */ var db; var designerTablesEnabled; AJAX.registerTeardown('designer/init.js', function () { $('.trigger').off('click'); }); AJAX.registerOnload('designer/init.js', function () { $('.trigger').on('click', function () { $('.panel').toggle('fast'); $(this).toggleClass('active'); $('#ab').accordion('refresh'); return false; }); jTabs = designerConfig.scriptTables.j_tabs; hTabs = designerConfig.scriptTables.h_tabs; contr = designerConfig.scriptContr; displayField = designerConfig.scriptDisplayField; server = designerConfig.server; db = designerConfig.db; selectedPage = designerConfig.displayPage; designerTablesEnabled = designerConfig.tablesEnabled; DesignerMove.main(); if (! designerTablesEnabled) { DesignerOfflineDB.open(function (success) { if (success) { DesignerPage.showTablesInLandingPage(db); } }); } $('#query_Aggregate_Button').on('click', function () { document.getElementById('query_Aggregate').style.display = 'none'; }); $('#query_having_button').on('click', function () { document.getElementById('query_having').style.display = 'none'; }); $('#query_rename_to_button').on('click', function () { document.getElementById('query_rename_to').style.display = 'none'; }); $('#build_query_button').on('click', function () { DesignerHistory.buildQuery('SQL Query on Database', 0); }); $('#query_where_button').on('click', function () { document.getElementById('query_where').style.display = 'none'; }); });