diff options
| author | czaks <marcin@6irc.net> | 2013-09-17 10:43:44 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-09-17 10:43:44 -0400 |
| commit | 6cb7eb939e549f978ca6dd7d2afe2dabc0f18025 (patch) | |
| tree | 8b2342bbf5c15847717db733ecf4f2f46718dacb /templates/mod/user.html | |
| parent | 069f1def9bf8c8d769afdc5740e9ff13271065bd (diff) | |
| parent | 803f0c8ce1487ea791824197de9d1ee140127838 (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
inc/config.php
inc/display.php
inc/mod/pages.php
install.php
js/quick-reply.js
post.php
templates/index.html
Diffstat (limited to 'templates/mod/user.html')
| -rw-r--r-- | templates/mod/user.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/templates/mod/user.html b/templates/mod/user.html index 1bb297af..89240824 100644 --- a/templates/mod/user.html +++ b/templates/mod/user.html @@ -28,21 +28,15 @@ </tr> {% if new %} <tr> - <th>{% trans 'Class' %}</th> + <th>{% trans 'Group' %}</th> <td> <ul style="padding:5px 8px;list-style:none"> - <li> - <input type="radio" name="type" id="janitor" value="{{ constant('JANITOR') }}"> - <label for="janitor">{% trans 'Janitor' %}</label> - </li> - <li> - <input type="radio" name="type" id="mod" value="{{ constant('MOD') }}" checked> - <label for="mod">{% trans 'Mod' %}</label> - </li> - <li> - <input type="radio" name="type" id="admin" value="{{ constant('Admin') }}"> - <label for="admin">{% trans 'Admin' %}</label> - </li> + {% for group_value, group_name in config.mod.groups if group_name != 'Disabled' %} + <li> + <input type="radio" name="type" id="group_{{ group_name }}" value="{{ group_value }}"> + <label for="group_{{ group_name }}">{% trans group_name %}</label> + </li> + {% endfor %} </ul> </td> </tr> |
