Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
654
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.28 KB | None | 0 0
  1. <body>
  2. <script>
  3. window.kiwiConfig = function kiwiConfig() {
  4. console.log('<?php echo $forcesettings; ?>');
  5. return {
  6. "windowTitle": "Simosnap IRC Network - Kiwi IRC Client",
  7. "startupScreen": "custom-welcome",
  8. "kiwiServer": "https://kiwiirc.simosnap.com/webirc/kiwiirc/",
  9. "restricted": true,
  10. "theme": "<?php echo $theme; ?>",
  11. "sidebarDefault": "nicklist",
  12. "disconnectOnSaslFail": false,
  13. "hide_advanced": true,
  14. "showEmojiPicker": false,
  15. "showColorPicker": true,
  16. "themes": [
  17. { "name": "Default", "url": "static/themes/default" },
  18. { "name": "Default Big", "url": "static/themes/default-big" },
  19. { "name": "Italy", "url": "static/themes/chatitaly" },
  20. { "name": "elite", "url": "static/themes/elite" },
  21. { "name": "Coffee", "url": "static/themes/coffee" },
  22. { "name": "GrayFox", "url": "static/themes/grayfox" },
  23. { "name": "GrayFox Ubuntu", "url": "static/themes/grayfox-ubuntu" },
  24. { "name": "GrayFox PT", "url": "static/themes/grayfox-pt" },
  25. { "name": "GrayFox Exo", "url": "static/themes/grayfox-exo" },
  26. { "name": "Nightswatch", "url": "static/themes/nightswatch" },
  27. { "name": "Osprey", "url": "static/themes/osprey" },
  28. { "name": "Osprey Ubuntu", "url": "static/themes/osprey-ubuntu" },
  29. { "name": "Osprey PT", "url": "static/themes/osprey-pt" },
  30. { "name": "Osprey Exo", "url": "static/themes/osprey-exo" },
  31. { "name": "Radioactive", "url": "static/themes/radioactive" },
  32. { "name": "Sky", "url": "static/themes/sky" },
  33. { "name": "Dark", "url": "static/themes/dark" },
  34. { "name": "Exo Dark", "url": "static/themes/dark-exo" }
  35. ],
  36. "plugins": [
  37. {"name": "simosnapcss","url": "/plugins/simosnap-css.html"},
  38. {"name": "ident", "url": "/plugins/ident.js"},
  39. {"name": "emoji","url": "/plugins/emoji.js"},
  40. {"name": "asl","url": "/plugins/asl.js?cb=1"},
  41. <?php if ($fileuploader == "true") { ?>
  42. {"name": "fileuploader","url": "/plugins/plugin-fileuploader.js"},
  43. <?php } ?>
  44. <?php if ($conference == "true") { ?>
  45. {"name": "conference","url": "/plugins/conference.js"},
  46. <?php } ?>
  47. {"name": "nickserv","url": "/plugins/nickserv.js"},
  48. <?php if ($radio == "on") { ?>
  49. {"name": "radio","url": "/plugins/plugin-radio-single.html"}
  50. <?php } else { ?>
  51. {"name": "radio","url": "/plugins/plugin-radio.html"}
  52. <?php } ?>
  53. ],
  54. "asl": {
  55. "colours":false,
  56. "icons":false
  57. },
  58. "pluginEmojis": {
  59. "titleText": "Scegli la tua emoji…",
  60. "searchText": "Cerca",
  61. "categoriesSearchResultsText": "Risultati della ricerca",
  62. "categoriesRecentText": "Recenti",
  63. "categoriesPeopleText": "Persone",
  64. "categoriesNatureText": "Natura",
  65. "categoriesFoodsText": "Cibo",
  66. "categoriesActivityText": "Attività",
  67. "categoriesPlacesText": "Luoghi",
  68. "categoriesObjectsText": "Oggetti",
  69. "categoriesSymbolsText": "Simboli",
  70. "categoriesFlagsText": "Bandiere",
  71. "categoriesCustomText": "Custom"
  72. },
  73. <?php if ($conference == "true") { ?>
  74. "conference": {
  75. "server": "conference.simosnap.com",
  76. "secure": true,
  77. "channels":false,
  78. "joinText": "si è unito alla videoconferenza",
  79. "inviteText": "ti ha invitato ad una videoconferenza privata.",
  80. "joinButtonText": "Avvia adesso!",
  81. "interfaceConfigOverwrite": {
  82. "SHOW_JITSI_WATERMARK": false,
  83. "JITSI_WATERMARK_LINK": "https://www.simosnap.org",
  84. "SHOW_WATERMARK_FOR_GUESTS": false,
  85. "APP_NAME" : "SimosNap Conference",
  86. "TOOLBAR_BUTTONS": [
  87. "microphone", "camera", "fullscreen", "fodeviceselection", "hangup",
  88. "settings", "videoquality", "filmstrip",
  89. "stats", "shortcuts"
  90. ],
  91. "SETTINGS_SECTIONS": ["devices","language","calendar"],
  92. "LANG_DETECTION": true,
  93. "SUPPORT_URL": "http://support.simosnap.org"
  94. },
  95. "configOverwrite": {
  96. "defaultLanguage": "it"
  97. }
  98. },
  99. <?php } ?>
  100. <?php if ($fileuploader == "true") { ?>
  101. "fileuploader": {
  102. "server": "https://kiwiirc.simosnap.com/files",
  103. "maxFileSize": 10485760,
  104. "note": "L' upload dei file è temporaneo, il download sarà disponibile online per 24 ore"
  105. },
  106. <?php } ?>
  107. <?php if ($radio == "on") { ?>
  108. "plugin-radio": {
  109. "source":"<?php echo $streaming; ?>",
  110. "name":"<?php echo $radioname; ?>",
  111. "web":"<?php echo $radioweb; ?>"
  112. },
  113. <?php } ?>
  114. "startupOptions" : {
  115. "server": "127.0.0.1",
  116. "greetingText": "<div style='margin:0px 60px 0px 0px'><i class='fa fa-sign-in' style='margin-right:5px !important;'></i> Entra in Chat </div>",
  117. "state_key" : "<?php echo $stateKey; ?>",
  118. "port": 6697,
  119. "tls": true,
  120. "direct": false,
  121. "channel": "<?php echo $channel; ?>",
  122. "realname" : "Webchat User",
  123. "nick": "<?php echo $nick; ?>" ,
  124. "password": "<?php echo $password; ?>" ,
  125. "age": "<?php echo $age; ?>",
  126. "sex": "<?php echo $sex; ?>",
  127. "location": "<?php echo $location; ?>",
  128. "autoConnect": <?php echo $autoConnect; ?>,
  129. "infoContent":"<a class=\"netlogo\" href=\"https://www.simosnap.org/chat/\"><span></span><img src=\"static/img/simosnap.png\"></a><div><a href=\"https://webcpanel.simosnap.com\" target=\"_blank\" class=\"u-button u-button-primary u-cpanel\">IRC Service CP</a><a href=\"https://webcpanel.simosnap.com/register\" target=\"_blank\" class=\"u-button u-button-primary u-cpanel\">Registra Account</a><a href=\"https://support.simosnap.com\" target=\"_blank\" class=\"u-button u-button-primary u-cpanel\">Online Helpdesk</a><a href=\"https://kiwiirc.simosnap.com/#irchelp\" target=\"_blank\" class=\"u-button u-button-primary u-cpanel\">#IRCHelp</a><a class=\"u-button u-button-primary u-cpanel\" href=\"https://allcoins.pw/?ref=245227\" target=\"_blank\"><i class=\"fa fa-btc\" aria-hidden=\"true\"></i> BTC FAUCET</a></div>",
  130. "infoBackground":"",
  131. "remember_buffers": true
  132. },
  133. "embedly": {
  134. "key": ""
  135. },
  136. "buffers":{
  137. "messageLayout": "<?php echo $messageLayout; ?>",
  138. "show_joinparts": false,
  139. "shared_input":true,
  140. "share_typing":false
  141. },
  142. "textFormats": {
  143. "channel_quit": "← %text",
  144. "channel_part": "← %text"
  145. }
  146. }
  147. }
  148. </script>
  149. <noscript><div class=kiwi-noscript-warn>Please enable JavaScript and refresh the page to use this website.</div></noscript><div id=app></div>
  150. <script type=text/javascript src=static/js/manifest.6ebb818a892782d5d3e1.js></script><script type=text/javascript src=static/js/vendor.f277245fe301db1947d6.js></script><script type=text/javascript src=static/js/app.0d88a730221f16a50863.js></script>
  151. <!-- Global site tag (gtag.js) - Google Analytics -->
  152. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-346667-25"></script>
  153. <script>
  154. window.dataLayer = window.dataLayer || [];
  155. function gtag(){dataLayer.push(arguments);}
  156. gtag('js', new Date());
  157.  
  158. gtag('config', 'UA-346667-25');
  159. </script>
  160. </body>
  161. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement