scripts.html 1.4 KB

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