BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit-privileges.twig 5.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <table class="layout" id="user_privs_box">
  2. <tr class="colhead">
  3. <td colspan="2">
  4. User Privileges
  5. </td>
  6. </tr>
  7. <tr>
  8. <td class="label">Disable:</td>
  9. <td>
  10. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisablePosting" id="DisablePosting"{{ disable.posting|checked }} />
  11. <label for="DisablePosting">Posting</label></span>
  12. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableForums" id="DisableForums"{{ disable.forum|checked }} />
  13. <label for="DisableForums">Forums</label></span>
  14. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableIRC" id="DisableIRC"{{ disable.irc|checked }} />
  15. <label for="DisableIRC">IRC</label></span>
  16. {% if permission.disable_any %}
  17. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableAvatar" id="DisableAvatar"{{ disable.avatar|checked }} />
  18. <label for="DisableAvatar">Avatar</label></span>
  19. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisablePoints" id="DisablePoints"{{ disable.bonus|checked }} />
  20. <label for="DisablePoints">Bonus Points</label></span>
  21. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableInvites" id="DisableInvites"{{ disable.invite|checked }} />
  22. <label for="DisableInvites">Invites</label></span>
  23. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableLeech" id="DisableLeech"{{ disable.leech|checked }} />
  24. <label for="DisableLeech">Leech</label></span>
  25. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisablePM" id="DisablePM"{{ disable.pm|checked }} />
  26. <label for="DisablePM">PM</label></span>
  27. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableRequests" id="DisableRequests"{{ disable.request|checked }} />
  28. <label for="DisableRequests">Requests</label></span>
  29. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableUpload" id="DisableUpload"{{ disable.upload|checked }} />
  30. <label for="DisableUpload">Torrent upload</label></span>
  31. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableTagging" id="DisableTagging"{{ disable.tag|checked }} />
  32. <label for="DisableTagging" class="tooltip" title="This only disables a user's ability to delete tags.">Tagging</label></span>
  33. <span style="white-space: nowrap; padding-right: 15px"><input type="checkbox" name="DisableWiki" id="DisableWiki"{{ disable.wiki|checked }} />
  34. <label for="DisableWiki">Wiki</label></span>
  35. {% endif %}
  36. </td>
  37. </tr>
  38. <tr>
  39. <td class="label">Reason:</td>
  40. <td>
  41. <input type="text" class="wide_input_text" name="UserReason" /> This message will be transmitted, along with the disable action, to the user in a PM.
  42. If left blank, the changes will be registered but the user will not be alerted.
  43. </td>
  44. </tr>
  45. {% if permission.disable_any %}
  46. <tr>
  47. <td class="label">Hacked:</td>
  48. <td>
  49. <input type="checkbox" name="SendHackedMail" id="SendHackedMail" /> <label for="SendHackedMail">Send hacked account email</label> to
  50. <select name="HackedEmail">
  51. {% for e in email %}
  52. <option value="{{ e.0 }}">{{ e.0 }} - {{ e.1 }}</option>
  53. {% endfor %}
  54. </select>
  55. <br />Use when disabling an account due to suspected misuse. (Checking this will disable the account).
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="label">Account:</td>
  60. <td>
  61. <select name="UserStatus">
  62. <option value="0"{{ is_confirmed|selected }}>Unconfirmed</option>
  63. <option value="1"{{ is_enabled|selected }}>Enabled</option>
  64. <option value="2"{{ is_disabled|selected }}>Disabled</option>
  65. {% if permission.delete_user %}
  66. <optgroup label="-- WARNING --">
  67. <option value="delete">Delete account</option>
  68. </optgroup>
  69. {% endif %}
  70. </select>
  71. </td>
  72. </tr>
  73. {% endif %}
  74. <tr>
  75. <td class="label tooltip" title="Enter a comma-delimited list of forum IDs that the user is no longer allowed to access">Prohibited forums:</td>
  76. <td>
  77. <input type="text" class="wide_input_text" name="RestrictedForums" value="{{ forum.restricted }}" />
  78. </td>
  79. </tr>
  80. <tr>
  81. <td class="label tooltip" title="Enter a comma-delimited list of forum IDs that the user is allowed to access">Extra forums:</td>
  82. <td>
  83. <input type="text" class="wide_input_text" name="PermittedForums" value="{{ forum.permitted }}" />
  84. </td>
  85. </tr>
  86. </table>