scripts.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <script type="text/javascript" src="/inc/jquery/jquery-3.5.1.min.js"></script>
  2. <script type="text/javascript" src="/js/jquery/jquery-1.7.2.min.js?<?=JS_LATEST_UPDATE?>"></script>
  3. <script type="text/javascript" src="/js/jquery/jquery.cookie.js?<?=JS_LATEST_UPDATE?>"></script>
  4. <script type="text/javascript" src="/js/jquery/jquery-ui-1.8.20.custom.min.js?<?=JS_LATEST_UPDATE?>"></script>
  5. <script type="text/javascript" src="/js/jquery/jquery.finder.js?<?=JS_LATEST_UPDATE?>"></script>
  6. <script type="text/javascript" src="/js/hotkeys.js?<?=JS_LATEST_UPDATE?>"></script>
  7. <script type="text/javascript" src="/js/events.js?<?=JS_LATEST_UPDATE?>"></script>
  8. <script type="text/javascript" src="/js/app.js?<?=JS_LATEST_UPDATE?>"></script>
  9. <script type="text/javascript" src="/js/init.js?<?=JS_LATEST_UPDATE?>"></script>
  10. <script type="text/javascript" src="/js/i18n.js.php?<?=JS_LATEST_UPDATE?>"></script>
  11. <script type="text/javascript" src="/js/templates.js?<?=JS_LATEST_UPDATE?>"></script>
  12. <script type="text/javascript" src="/js/fingerprint2.min.js?<?=JS_LATEST_UPDATE?>"></script>
  13. <script>
  14. $(function() {
  15. hover_menu();
  16. });
  17. </script>
  18. <?php
  19. if (!empty($_SESSION['error_msg'])):
  20. ?>
  21. <div>
  22. <script>
  23. $(function() {
  24. $('#dialog:ui-dialog').dialog('destroy');
  25. $('#dialog-message').dialog({
  26. modal: true,
  27. buttons: {
  28. Ok: function() {
  29. $(this).dialog('close');
  30. }
  31. },
  32. create: function() {
  33. $(this)
  34. .closest('.ui-dialog')
  35. .find('.ui-button:first')
  36. .addClass('submit');
  37. }
  38. });
  39. });
  40. </script>
  41. <div id="dialog-message" title="">
  42. <p><?=htmlentities($_SESSION['error_msg'])?></p>
  43. </div>
  44. </div>
  45. <?php
  46. unset($_SESSION['error_msg']);
  47. endif;
  48. ?>