scripts.html 1.6 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>
  12. $(function() {
  13. hover_menu();
  14. });
  15. </script>
  16. <?php
  17. if (!empty($_SESSION['error_msg'])):
  18. ?>
  19. <div>
  20. <script>
  21. $(function() {
  22. $('#dialog:ui-dialog').dialog('destroy');
  23. $('#dialog-message').dialog({
  24. modal: true,
  25. buttons: {
  26. Ok: function() {
  27. $(this).dialog('close');
  28. }
  29. },
  30. create: function() {
  31. $(this)
  32. .closest('.ui-dialog')
  33. .find('.ui-button:first')
  34. .addClass('submit');
  35. }
  36. });
  37. });
  38. </script>
  39. <div id="dialog-message" title="">
  40. <p><?=htmlentities($_SESSION['error_msg'])?></p>
  41. </div>
  42. </div>
  43. <?php
  44. unset($_SESSION['error_msg']);
  45. endif;
  46. ?>