configure.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html>
  3. <head>{include="includes"}</head>
  4. <body onload="document.configform.title.focus();">
  5. <div id="pageheader">
  6. {include="page.header"}
  7. {$timezone_js}
  8. <form method="POST" action="#" name="configform" id="configform">
  9. <input type="hidden" name="token" value="{$token}">
  10. <table id="configuration_table">
  11. <tr>
  12. <td><b>Page title:</b></td>
  13. <td><input type="text" name="title" id="title" size="50" value="{$title}"></td>
  14. </tr>
  15. <tr>
  16. <td><b>Title link:</b></td>
  17. <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
  18. for="titleLink">(default value is: ?)</label></td>
  19. </tr>
  20. <tr>
  21. <td><b>Timezone:</b></td>
  22. <td>{$timezone_form}</td>
  23. </tr>
  24. <tr>
  25. <td><b>Redirector</b></td>
  26. <td>
  27. <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>
  28. (e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)
  29. </td>
  30. </tr>
  31. <tr>
  32. <td><b>Security:</b></td>
  33. <td>
  34. <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
  35. {if="$session_protection_disabled"}checked{/if}>
  36. <label
  37. for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get
  38. disconnected often or if your IP address changes often.)</label>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td valign="top"><b>New link:</b></td>
  43. <td>
  44. <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
  45. {if="$private_links_default"}checked{/if}/>
  46. <label for="privateLinkByDefault">
  47. &nbsp;All new links are private by default
  48. </label>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td valign="top"><b>RSS direct links</b></td>
  53. <td>
  54. <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
  55. {if="$enable_rss_permalinks"}checked{/if}/>
  56. <label for="enableRssPermalinks">
  57. &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
  58. {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
  59. </label>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td valign="top"><b>Hide public links</b></td>
  64. <td>
  65. <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
  66. {if="$hide_public_links"}checked{/if}/>
  67. <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td valign="top"><b>Update:</b></td>
  72. <td>
  73. <input type="checkbox" name="updateCheck" id="updateCheck"
  74. {if="$enable_update_check"}checked{/if}/>
  75. <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td></td>
  80. <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
  81. </tr>
  82. </table>
  83. </form>
  84. </div>
  85. {include="page.footer"}
  86. </body>
  87. </html>