scripts.html 1.7 KB

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