settings_general.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php include ('header.php'); ?>
  2. <main id="main">
  3. <?php include dirname(__FILE__).('/widgets/settings_header.php'); ?>
  4. <div class="article_wrap">
  5. <aside class="left_column">
  6. <?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
  7. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  8. </aside>
  9. <article class="center_column">
  10. <header class="timeline_header">
  11. <ul class="header_items">
  12. <li class="item toots view"><?=_('General settings')?></li>
  13. </ul>
  14. </header>
  15. <div class="timeline">
  16. <div style="float:left;width:25%;text-align:right;margin-top:16px">
  17. <h3><?=_('Default post privacy')?></h3>
  18. </div>
  19. <div class="post_privacy_wrap" style="float:left;width:75%;margin-top:8px;margin-bottom:-8px">
  20. <div class="radiobox">
  21. <input id="privacy-1" name="post_privacy" type="radio" value="public">
  22. <label for="privacy-1" class="radiotext"><?=_('Public')?></label>
  23. </div>
  24. <div class="radiobox">
  25. <input id="privacy-2" name="post_privacy" type="radio" value="unlisted">
  26. <label for="privacy-2" class="radiotext"><?=_('Unlisted')?></label>
  27. </div>
  28. <div class="radiobox">
  29. <input id="privacy-3" name="post_privacy" type="radio" value="private">
  30. <label for="privacy-3" class="radiotext"><?=_('Followers-only')?></label>
  31. </div>
  32. <div class="radiobox">
  33. <input id="privacy-4" name="post_privacy" type="radio" value="direct">
  34. <label for="privacy-4" class="radiotext"><?=_('Direct')?></label>
  35. </div>
  36. </div>
  37. <div style="float:left;width:25%;text-align:right;margin-top:16px">
  38. <h3><?=_('Mark as NSFW by default')?></h3>
  39. </div>
  40. <div class="post_sensitive_wrap" style="float:left;width:75%">
  41. <div class="switch">
  42. <input type="checkbox" id="setting_post_sensitive">
  43. <div class="switch-btn">
  44. <span></span>
  45. </div>
  46. </div>
  47. </div>
  48. <div style="float:left;width:25%;text-align:right;margin-top:16px">
  49. <h3><?=_('Local instance')?></h3>
  50. </div>
  51. <div class="local_instance_wrap" style="float:left;width:75%">
  52. <input name="local_instance" placeholder="default" type="text" class="disallow_enter textfield" id="setting_local_instance">
  53. </div>
  54. <div style="float:left;width:25%;text-align:right;margin-top:16px">
  55. <h3><?=_('Hashtag search filter')?></h3>
  56. </div>
  57. <div class="search_filter_wrap" style="float:left;width:75%;margin-top:8px;margin-bottom:-8px">
  58. <div class="radiobox">
  59. <input id="locinstance-1" name="search_filter" type="radio" value="all">
  60. <label for="locinstance-1" class="radiotext"><?=_('All instances')?></label>
  61. </div>
  62. <div class="radiobox">
  63. <input id="locinstance-2" name="search_filter" type="radio" value="local">
  64. <label for="locinstance-2" class="radiotext"><?=_('Local only')?></label>
  65. </div>
  66. </div>
  67. <div style="float:left;width:25%;text-align:right;margin-top:16px">
  68. <h3><?=_('Who to follow')?></h3>
  69. </div>
  70. <div class="who_to_follow_wrap" style="float:left;width:75%">
  71. <div class="switch">
  72. <input type="checkbox" id="setting_who_to_follow">
  73. <div class="switch-btn">
  74. <span></span>
  75. </div>
  76. </div>
  77. </div>
  78. <span style="visibility:hidden">-</span>
  79. </div>
  80. </article>
  81. </div>
  82. </main>
  83. <script src="/assets/js/halcyon/halcyonSettings.js"></script>
  84. <?php include ('footer.php'); ?>