Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /usr/share/phpmyadmin/js/pmd/ |
Upload File : |
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Initialises the data required to run PMD, then fires it up. */ var j_tabs, h_tabs, contr, display_field, server, db, token, selected_page, pmd_tables_enabled; AJAX.registerTeardown('pmd/init.js', function () { $(".trigger").unbind('click'); }); AJAX.registerOnload('pmd/init.js', function () { $(".trigger").click(function () { $(".panel").toggle("fast"); $(this).toggleClass("active"); $('#ab').accordion("refresh"); return false; }); var tables_data = $.parseJSON($("#script_tables").html()); j_tabs = tables_data.j_tabs; h_tabs = tables_data.h_tabs; contr = $.parseJSON($("#script_contr").html()); display_field = $.parseJSON($("#script_display_field").html()); server = $("#script_server").html(); db = $("#script_db").html(); token = $("#script_token").html(); selected_page = $("#script_display_page").html() === "" ? "-1" : $("#script_display_page").html(); pmd_tables_enabled = $("#pmd_tables_enabled").html() === "1"; Main(); if (! pmd_tables_enabled) { DesignerOfflineDB.open(function(success) { if (success) { Show_tables_in_landing_page(db); } }); } });