create_status.php 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <form id="header_status_form" name="header_status_form" class="status_form ready">
  2. <div class="status_left icon_box">
  3. <img class="js_current_profile_image">
  4. </div>
  5. <div class="status_top">
  6. <input class="status_spoiler invisible" name="status_spoiler" placeholder="<?=_('Content warning')?>" data-random="43884" type="text">
  7. </div>
  8. <div class="status_main">
  9. <div class="status_textarea">
  10. <textarea class="emoji_poss" name="status_textarea" placeholder="<?=_('What\'s happening?')?>" data-random="14839"></textarea>
  11. <div class="media_attachments_preview_area invisible"></div>
  12. <div class="status_poll_editor invisible">
  13. <i class="fa fa-circle-o"></i> <input name="options[]" type="text" class="disallow_enter textfield poll_field"><br/>
  14. <i class="fa fa-circle-o"></i> <input name="options[]" type="text" class="disallow_enter textfield poll_field"><br/>
  15. <i class="fa fa-circle-o"></i> <input name="options[]" type="text" class="disallow_enter textfield poll_field"><br/>
  16. <i class="fa fa-circle-o"></i> <input name="options[]" type="text" class="disallow_enter textfield poll_field"><br/>
  17. <div style="height:32px;display:inline-block;padding-top:10px"><?=_("Expires in")?> </div>
  18. <div style="float:right;margin-right:5px"><div class="poll_time"><input type="number" min="0" class="poll_days"><?=_('Days')?></div>
  19. <div class="poll_time"><input type="number" min="0" max="24" placeholder="0-24" class="poll_hours"><?=_('Hours')?></div>
  20. <div class="poll_time"><input type="number" min="0" max="60" placeholder="0-60" class="poll_mins"><?=_('Minutes')?></div></div><br/>
  21. <div class="poll_time_warning invisible"></div>
  22. <div class="switch poll_mc_switch">
  23. <input type="checkbox" class="poll_multiple_choice">
  24. <div class="switch-btn">
  25. <span></span>
  26. </div>
  27. </div>
  28. <?=_("Multiple choice")?>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="status_bottom invisible">
  33. <label for="header_status_media_atta" class="status_media_attachment status_option_button">
  34. <i class="fa fa-camera" aria-hidden="true"></i>
  35. </label>
  36. <label for="header_status_cw" class="status_CW status_option_button">
  37. <span class="disallow_select">CW</span>
  38. </label>
  39. <label for="header_status_nsfw" class="status_NSFW status_option_button">
  40. <span class="disallow_select">NSFW</span>
  41. </label>
  42. <div class="status_privacy status_option_button expand_privacy_menu_button">
  43. <i class="fa fa-globe" aria-hidden="true"></i>
  44. <div class="expand_privacy_menu invisible">
  45. <label for="header_status_public" class="status_privacy select_privacy disallow_select" privacyicon="fa fa-globe">
  46. <i class="fa fa-globe" aria-hidden="true"></i><?=_('Public')?>
  47. </label>
  48. <label for="header_status_unlisted" class="status_privacy select_privacy disallow_select" privacyicon="fa fa-unlock-alt">
  49. <i class="fa fa-unlock-alt" aria-hidden="true"></i><?=_('Unlisted')?>
  50. </label>
  51. <label for="header_status_fonly" class="status_privacy select_privacy disallow_select" privacyicon="fa fa-lock">
  52. <i class="fa fa-lock" aria-hidden="true"></i><?=_('Followers-only')?>
  53. </label>
  54. <label for="header_status_direct" class="status_privacy select_privacy disallow_select" privacyicon="fa fa-envelope">
  55. <i class="fa fa-envelope" aria-hidden="true"></i><?=_('Direct')?>
  56. </label>
  57. </div>
  58. </div>
  59. <label for="header_status_poll" class="status_poll status_option_button">
  60. <i class="fa fa-pie-chart" aria-hidden="true"></i>
  61. </label>
  62. <label for="header_status_emoji" class="status_emoji status_option_button">
  63. <i class="fa fa-smile-o" aria-hidden="true"></i>
  64. </label>
  65. <input id="header_status_media_atta" name="files" type="file" multiple class="invisible">
  66. <input id="header_status_cw" name="status_cw" type="checkbox" class="invisible">
  67. <input id="header_status_nsfw" name="status_nsfw" type="checkbox" class="invisible">
  68. <input id="header_status_public" name='privacy_option' value="public" class="invisible" type="radio">
  69. <input id="header_status_unlisted" name='privacy_option' value="unlisted" class="invisible" type="radio">
  70. <input id="header_status_fonly" name='privacy_option' value="private" class="invisible" type="radio">
  71. <input id="header_status_direct" name='privacy_option' value="direct" class="invisible" type="radio">
  72. <div id="header_status_emoji" name="status_emoji" type="button"></div>
  73. <div class="submit_status_label_wrap">
  74. <span class="character_count">
  75. </span>
  76. <label for="header_status_addfield" class="status_addfield status_option_button">
  77. <i class="fa fa-plus-circle" aria-hidden="true"></i>
  78. </label>
  79. <label for="header_status_form_submit" class="submit_status_label">
  80. <div class="toot_button_label disallow_select" >
  81. <i class="fa fa-fw fa-pencil-square-o"></i>
  82. <span><?=_('Toot')?></span>
  83. </div>
  84. </label>
  85. </div>
  86. <input id="header_status_form_submit" class="submit_status" type="button" class="invisible">
  87. </div>
  88. </form>