Source for file cookies_required.act.php

Documentation is available at cookies_required.act.php

  1. <?php
  2. /**
  3. * @since 8/9/06
  4. * @package polyphony.authentication
  5. *
  6. * @copyright Copyright &copy; 2005, Middlebury College
  7. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  8. *
  9. * @version $Id: cookies_required.act.php,v 1.4 2007/09/19 14:04:53 adamfranco Exp $
  10. */
  11.  
  12. require_once(POLYPHONY."/main/library/AbstractActions/Action.class.php");
  13.  
  14. /**
  15. * <##>
  16. *
  17. * @since 8/9/06
  18. * @package polyphony.authentication
  19. *
  20. * @copyright Copyright &copy; 2005, Middlebury College
  21. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  22. *
  23. * @version $Id: cookies_required.act.php,v 1.4 2007/09/19 14:04:53 adamfranco Exp $
  24. */
  25. class cookies_requiredAction {
  26. /**
  27. * Execute this action
  28. *
  29. * @return void
  30. * @access public
  31. * @since 8/9/06
  32. */
  33. function execute () {
  34. print _("<h2>Error: You must have cookies enabled in your browser.</h2>
  35. <ul >
  36. <li style='margin-bottom: 15px;'><strong>FireFox/Mozilla:</strong>
  37. <ol>
  38. <li>Open the FireFox Preferences
  39. <ul>
  40. <li>Windows: <strong>Tools</strong> -&gt; <strong>Options...</strong></li>
  41. <li>Mac: <strong>FireFox</strong> -&gt; <strong>Preferences...</strong></li>
  42. </ul>
  43. </li>
  44. <li>In the preferences window, go to <strong>Privacy</strong> -&gt; <strong>Cookies</strong></li>
  45. <li>Check the <strong>Allow sites to set Cookies/Enable Cookies</strong> box.</li>
  46. <li>Refresh this page at least once, this error should go away.</li>
  47. </ol>
  48. </li>
  49. <li style='margin-bottom: 15px;'><strong>Internet Explorer (IE):</strong>
  50. <ol>
  51. <li>Open the Internet Options: <strong>Tools</strong> -&gt; <strong>Internet Options</strong></li>
  52. <li>Click on the <strong>Privacy</strong> tab.</li>
  53. <li>Change the privacy setting to <strong>Medium High</strong> or less</li>
  54. <li>Refresh this page at least once, this error should go away.</li>
  55. </ol>
  56. </li>
  57. <li style='margin-bottom: 15px;'><strong>Safari:</strong>
  58. <ol>
  59. <li>Open the Safari Preferences: <strong>Safari</strong> -&gt; <strong>Preferences...</strong></li>
  60. <li>In the preferences window, go to the <strong>Security</strong> tab.</li>
  61. <li>Select <strong>Only from sites you navigate to</strong> option under <strong>Accept Cookies</strong>.</li>
  62. <li>Refresh this page at least once, this error should go away.</li>
  63. </ol>
  64. </li>
  65. </ul>");
  66. $result = ob_get_clean();
  67. return $result;
  68. }
  69. }
  70.  
  71. ?>

Documentation generated on Wed, 19 Sep 2007 10:22:11 -0400 by phpDocumentor 1.3.0RC3