|
|
@ -41,7 +41,7 @@ |
|
|
|
<div id="mumble_registration" class="mumble-ext"> |
|
|
|
{% if user.is_authenticated %} |
|
|
|
<h2>{% trans "Server registration" %}</h2> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post"> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post">{% csrf_token %} |
|
|
|
{% if Registered %} |
|
|
|
{% trans "You are registered on this server" %}.<br /> |
|
|
|
{% else %} |
|
|
@ -93,7 +93,7 @@ |
|
|
|
{% endblocktrans %} |
|
|
|
{% endif %} |
|
|
|
</p> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post" enctype="multipart/form-data"> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post" enctype="multipart/form-data">{% csrf_token %} |
|
|
|
<table> |
|
|
|
{{ TextureForm }} |
|
|
|
</table> |
|
|
@ -107,7 +107,7 @@ |
|
|
|
{% if CurrentUserIsAdmin %} |
|
|
|
<div id="mumble_admin" class="mumble-ext"> |
|
|
|
<h2>{% trans "Server administration" %}</h2> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post"> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="post">{% csrf_token %} |
|
|
|
<table> |
|
|
|
{{ AdminForm }} |
|
|
|
</table> |
|
|
@ -164,7 +164,7 @@ |
|
|
|
{% if CurrentUserIsAdmin or user.is_staff %} |
|
|
|
<fieldset> |
|
|
|
<legend>{% trans "Kick user" %}</legend> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="POST"> |
|
|
|
<form action="{% url mumble.views.show DBaseObject.id %}" method="POST">{% csrf_token %} |
|
|
|
<input type="hidden" name="mode" value="kick" /> |
|
|
|
<input type="hidden" name="session" value="{{ item.session }}" /> |
|
|
|
<ul> |
|
|
|