| 123456789101112131415161718192021222324 |
- <script>
- $(document).ready(function() {
- $('#checkIsSubmit').on('change', function() {
- window.location.href = '/submit.php?from=parametres-debug-submit-activation&actif=' + $('#checkIsSubmit').prop('checked');
- });
- $('#checkIsSql').on('change', function() {
- window.location.href = '/submit.php?from=parametres-debug-sql-activation&actif=' + $('#checkIsSql').prop('checked');
- });
- $('.toggle-logs').click(function() {
- $('#debugger-logs').slideToggle();
- });
- // Apply syntax highlighting to log entries
- $('.log-entry').each(function() {
- var html = $(this).html();
- html = html.replace(/(\\$\\w+)/g, '<span class=\"variable\">$1</span>');
- html = html.replace(/(\\bfunction\\b)/g, '<span class=\"function\">$1</span>');
- $(this).html(html);
- });
- });
- </script>
|