Options.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!--
  2. /*
  3. OmnomIRC COPYRIGHT 2010,2011 Netham45
  4. This file is part of OmnomIRC.
  5. OmnomIRC is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. OmnomIRC is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with OmnomIRC. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. !-->
  17. <html>
  18. <head>
  19. <title>OmnomIRC Options</title>
  20. <link rel="stylesheet" type="text/css" href="style.css" />
  21. <script src="Omnom_Options.js"></script>
  22. <style type="text/css">
  23. body,td,tr,pre,table{
  24. font-size: 13px;font-family:verdana,sans-serif;line-height:17px;
  25. }
  26. td
  27. {
  28. width:auto;
  29. height:20px;
  30. white-space: inherit;
  31. word-wrap: inherit;
  32. }
  33. table
  34. {
  35. height:auto;
  36. }
  37. tr td:nth-child(4) {
  38. padding-left:10px;
  39. }
  40. tr td:nth-child(2) {
  41. border-right:1px solid;
  42. }
  43. tr td:nth-child(5) {
  44. border-right:1px solid;
  45. }
  46. </style>
  47. <script type="text/javascript">
  48. function warning()
  49. {
  50. alert("-READ THIS-\nNot all extra channels are owned and controlled by Omnimaga. We cannot be held liable for the content of them.\n\nBy using them, you agree to be governed by the rules inside them.\n\nOmnimaga rules still apply for OmnomIRC communication.");
  51. setOption(9,'T');
  52. }
  53. </script>
  54. </head>
  55. <!--
  56. Options:
  57. 1 - highlight bold
  58. 2 - highlight red
  59. 3 - color names
  60. 4 - currentChannel
  61. 5 - enabled
  62. 6 - alternating line highlight
  63. 7 - enable chrome notifications
  64. 8 - ding on highlight
  65. 9 - show extra channels
  66. 10 - show timestamps
  67. 11 - show updates in status bar
  68. 12 - show smileys
  69. -->
  70. <body>
  71. <table>
  72. <tr><td>
  73. Highlight Bold:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(1,"T") == "T", "Yes", "No", "setOption(1,\'T\');", "setOption(1,\'F\');"));</script>
  74. </td><td>
  75. Highlight Red:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(2,"T") == "T", "Yes", "No", "setOption(2,\'T\');", "setOption(2,\'F\');"));</script>
  76. </td></tr><tr><td>
  77. Colored Names:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(3,"F") == "T", "Yes", "No", "setOption(3,\'T\');", "setOption(3,\'F\');"));</script>
  78. </td><td>
  79. Show extra Channels:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(9,"F") == "T", "Yes", "No", "warning();", "setOption(9,\'F\');"));</script>
  80. </td></tr><tr><td>
  81. Alternating Line Highlight:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(6,"T") == "T", "Yes", "No", "setOption(6,\'T\');", "setOption(6,\'F\');"));</script>
  82. </td><td>
  83. Enabled:</td><td> <script type="text/javascript"> document.write(getHTMLToggle(getOption(5,"T") == "T", "Yes", "No", "setOption(5,\'T\');", "setOption(5,\'F\');"));</script>
  84. </td></tr><tr><td>
  85. Ding on Highlight:</td><td><script type="text/javascript"> document.write(getHTMLToggle(getOption(8,"F") == "T", "Yes", "No", "setOption(8,\'T\');", "setOption(8,\'F\');"));</script>
  86. </td><td>
  87. Show Timestamps:</td><td><script type="text/javascript"> document.write(getHTMLToggle(getOption(10,"F") == "T", "Yes", "No", "setOption(10,\'T\');", "setOption(10,\'F\');"));</script>
  88. </td></tr><tr><td>
  89. Show Updates in Browser Status Bar:</td><td><script type="text/javascript"> document.write(getHTMLToggle(getOption(11,"T") == "T", "Yes", "No", "setOption(11,\'T\');", "setOption(11,\'F\');"));</script>
  90. </td><td>
  91. Show smileys:</td><td><script type="text/javascript"> document.write(getHTMLToggle(getOption(12,"T") == "T", "Yes", "No", "setOption(12,\'T\');", "setOption(12,\'F\');"));</script>
  92. </td></tr>
  93. <script type="text/javascript">
  94. if (window.webkitNotifications != undefined && window.webkitNotifications != null && window.webkitNotifications)
  95. {
  96. document.write("<tr><td>Chrome Notifications:</td><td>");
  97. document.write(getHTMLToggle(getOption(7,"F") == "T","Yes","No","setAllowNotification();","setOption(7,'F')"));
  98. document.write("</tr></td>");
  99. }
  100. </script>
  101. </table>
  102. <a href="#" onclick="clearCookies()">Clear Cookies</a>
  103. <br/><br/>
  104. <br/><br/>
  105. <div style="top:100%;margin-top:-33pt;position:absolute;"><a href="index.php"><span style="font-size:30pt;">&#8592;</span><span style="font-size:18pt;top:-3pt;position:relative;">Back<span></a></div>
  106. </body>
  107. </html>