settings_profile.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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"><?=_('Profile settings')?></li>
  13. </ul>
  14. </header>
  15. <div class="timeline">
  16. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  17. <h3><?=_('Display name')?></h3>
  18. </div>
  19. <div class="display_name_wrap" style="float:left;width:50%">
  20. <input name="display_name" type="text" class="disallow_enter textfield" id="setting_display_name" maxlength="30">
  21. </div>
  22. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  23. <h3><?=_('About me')?></h3>
  24. </div>
  25. <div class="about_me_wrap" style="float:left;width:50%">
  26. <textarea name="about_me" class="disallow_enter textfield" id="setting_about_me" maxlength="160" style="resize:none;height:100px;font-family:arial;padding:5px"></textarea>
  27. </div>
  28. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  29. <h3><?=_('Avatar')?></h3>
  30. </div>
  31. <div class="avatar_wrap" style="float:left;width:50%">
  32. <span class="halcyon_button uploadbtn" style="width:calc(75% - 2px);margin:10px;padding:0;height:28px;position:relative">
  33. <input name="avatar" type="file" id="setting_avatar" style="opacity:0;width:100%;height:100%;float:left">
  34. </span>
  35. </div>
  36. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  37. <h3><?=_('Header')?></h3>
  38. </div>
  39. <div class="header_wrap" style="float:left;width:50%">
  40. <span class="halcyon_button uploadbtn" style="width:calc(75% - 2px);margin:10px;padding:0;height:28px;position:relative">
  41. <input name="header" type="file" id="setting_header" style="opacity:0;width:100%;height:100%;float:left">
  42. </span>
  43. </div>
  44. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  45. <h3><?=_('Lock account')?></h3>
  46. </div>
  47. <div class="lock_account_wrap" style="float:left;width:50%">
  48. <div class="switch">
  49. <input type="checkbox" id="setting_lock_account">
  50. <div class="switch-btn">
  51. <span></span>
  52. </div>
  53. </div>
  54. </div>
  55. <span style="visibility:hidden">-</span>
  56. </div>
  57. <header class="timeline_header" style="border-radius:0;border-top-width:0">
  58. <ul class="header_items">
  59. <li class="item toots view"><?=_('Custom profile fields')?></li>
  60. </ul>
  61. </header>
  62. <div class="timeline">
  63. <div style="float:left;width:50%;text-align:right">
  64. <input name="field_0_name" type="text" class="disallow_enter textfield setting_field" id="setting_field_0_name" placeholder="<?=_('Name')?>">
  65. </div>
  66. <div class="field_0_wrap" style="float:left;width:50%">
  67. <input name="field_0_value" type="text" class="disallow_enter textfield setting_field" id="setting_field_0_value" placeholder="<?=_('Value')?>">
  68. </div>
  69. <div style="float:left;width:50%;text-align:right">
  70. <input name="field_1_name" type="text" class="disallow_enter textfield setting_field" id="setting_field_1_name" placeholder="<?=_('Name')?>">
  71. </div>
  72. <div class="field_1_wrap" style="float:left;width:50%">
  73. <input name="field_1_value" type="text" class="disallow_enter textfield setting_field" id="setting_field_1_value" placeholder="<?=_('Value')?>">
  74. </div>
  75. <div style="float:left;width:50%;text-align:right">
  76. <input name="field_2_name" type="text" class="disallow_enter textfield setting_field" id="setting_field_2_name" placeholder="<?=_('Name')?>">
  77. </div>
  78. <div class="field_2_wrap" style="float:left;width:50%">
  79. <input name="field_2_value" type="text" class="disallow_enter textfield setting_field" id="setting_field_2_value" placeholder="<?=_('Value')?>">
  80. </div>
  81. <div style="float:left;width:50%;text-align:right">
  82. <input name="field_3_name" type="text" class="disallow_enter textfield setting_field" id="setting_field_3_name" placeholder="<?=_('Name')?>">
  83. </div>
  84. <div class="field_3_wrap" style="float:left;width:50%">
  85. <input name="field_3_value" type="text" class="disallow_enter textfield setting_field" id="setting_field_3_value" placeholder="<?=_('Value')?>">
  86. </div>
  87. <div style="width:75%;margin:auto">
  88. <p style="margin-bottom:5px"><?=_('To verify that the links in your custom fields really belong to you, you can add the link below to your website. The link text can be changed to whatever you want.')?></p>
  89. <input class="copy_link_input" id="verifylink" type="text" value="" readonly>
  90. </div>
  91. <span style="visibility:hidden">-</span>
  92. </div>
  93. <footer id="js-timeline_footer" class="timeline_footer">
  94. <i id="savestate" class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
  95. </footer>
  96. </article>
  97. </div>
  98. </main>
  99. <script src="/assets/js/halcyon/halcyonSettings.js"></script>
  100. <?php include ('footer.php'); ?>