29 files changed:
</div>
<div id="main-body" class="ask-body">
<div id="askform">
</div>
<div id="main-body" class="ask-body">
<div id="askform">
- <form id="fmedit" action="{% url edit_answer answer.id %}" method="post" >
+ <form id="fmedit" action="{% url edit_answer answer.id %}" method="post">
+ {% csrf_token %}
<label for="id_revision" ><strong>{% trans "revision" %}:</strong></label> <br/>
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
<div>
<label for="id_revision" ><strong>{% trans "revision" %}:</strong></label> <br/>
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
<div>
<div id="main-body" class="ask-body">
<div id="askform">
<form id="fmask" action="" method="post" accept-charset="utf-8">
<div id="main-body" class="ask-body">
<div id="askform">
<form id="fmask" action="" method="post" accept-charset="utf-8">
{% if not request.user.is_authenticated %}
<div class="message">
<span class="strong big">{% trans "You are welcome to start submitting your question anonymously." %}</span>
{% if not request.user.is_authenticated %}
<div class="message">
<span class="strong big">{% trans "You are welcome to start submitting your question anonymously." %}</span>
{% endif %}
<div class="aligned">
<form action="" method="post" accept-charset="utf-8">
{% endif %}
<div class="aligned">
<form action="" method="post" accept-charset="utf-8">
<ul id="changepw-form" class="form-horizontal-rows">
{{form.as_ul}}
</ul>
<ul id="changepw-form" class="form-horizontal-rows">
{{form.as_ul}}
</ul>
<div class="login">
<form name="fregister" action="" method="POST">
<div class="login">
<form name="fregister" action="" method="POST">
{{ form1.next }}
<div class="form-row-vertical margin-bottom">
<label for="id_username">{{ form1.username.label }}</label>
{{ form1.next }}
<div class="form-row-vertical margin-bottom">
<label for="id_username">{{ form1.username.label }}</label>
{% if form2 %}
<div class="login" style="display:none">
<form name="fverify" action="{% url user_register %}" method="POST">
{% if form2 %}
<div class="login" style="display:none">
<form name="fverify" action="{% url user_register %}" method="POST">
{{ form2.next }}
<fieldset style="padding:10px">
<legend class="big">{% trans "Existing account" %}</legend>
{{ form2.next }}
<fieldset style="padding:10px">
<legend class="big">{% trans "Existing account" %}</legend>
{% endif %}\r
{% for provider in top_stackitem_providers %}\r
<form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
{% endif %}\r
{% for provider in top_stackitem_providers %}\r
<form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
{% include provider.stack_item_template %}\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% include provider.stack_item_template %}\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% endfor %}\r
</div>\r
<form name="signin_form" id="signin_form" class="signin_form" method="POST" action="">\r
{% endfor %}\r
</div>\r
<form name="signin_form" id="signin_form" class="signin_form" method="POST" action="">\r
<div id="signin_form_slot"></div>\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% for provider in stackitem_providers %}\r
<h3 class="or_label">{% trans 'Or...' %}</h3>\r
<form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
<div id="signin_form_slot"></div>\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% for provider in stackitem_providers %}\r
<h3 class="or_label">{% trans 'Or...' %}</h3>\r
<form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}" accept-charset="utf-8">\r
{% include provider.stack_item_template %}\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% endfor %}\r
<h3 class="or_label">{% trans 'Or...' %}</h3>\r
<form name="signin_form" id="dummy_form_unused" class="signin_form" method="POST" action="">\r
{% include provider.stack_item_template %}\r
<input type="hidden" class="validate_email" name="validate_email" value="yes" />\r
</form>\r
{% endfor %}\r
<h3 class="or_label">{% trans 'Or...' %}</h3>\r
<form name="signin_form" id="dummy_form_unused" class="signin_form" method="POST" action="">\r
<fieldset>\r
{% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">{% trans 'here' %}</a> {% trans "if you're having trouble signing in." %}\r
</fieldset>\r
<fieldset>\r
{% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">{% trans 'here' %}</a> {% trans "if you're having trouble signing in." %}\r
</fieldset>\r
</ul>\r
{% endif %}\r
<form action="" method="post" accept-charset="utf-8">\r
</ul>\r
{% endif %}\r
<form action="" method="post" accept-charset="utf-8">\r
<ul id="changepw-form" class="form-horizontal-rows">\r
{{form.as_ul}}\r
</ul>\r
<ul id="changepw-form" class="form-horizontal-rows">\r
{{form.as_ul}}\r
</ul>\r
</p>
<form id="fmclose" action="{% url close question.id %}" method="post" >
</p>
<form id="fmclose" action="{% url close question.id %}" method="post" >
<p>
<strong>{% trans "Reasons" %}:</strong> {{ form.reason }}
</p>
<p>
<strong>{% trans "Reasons" %}:</strong> {{ form.reason }}
</p>
</div>
<div class="content">
<form method="post" action="{% url feedback %}" accept-charset="utf-8">
</div>
<div class="content">
<form method="post" action="{% url feedback %}" accept-charset="utf-8">
{% if user.is_authenticated %}
<p class="message">
{% blocktrans with user.username as user_name %}
{% if user.is_authenticated %}
<p class="message">
{% blocktrans with user.username as user_name %}
<div id="searchBar">
<form action="{% url search %}" method="get">
<div id="searchBar">
<form action="{% url search %}" method="get">
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
<div id="comment-{{ post.id }}-form-container" class="comment-form-container">\r
{% if can_comment %}\r
<form id="comment-{{ post.id }}-form" method="post" action="{% url comment id=post.id %}" accept-charset="utf-8">\r
<div id="comment-{{ post.id }}-form-container" class="comment-form-container">\r
{% if can_comment %}\r
<form id="comment-{{ post.id }}-form" method="post" action="{% url comment id=post.id %}" accept-charset="utf-8">\r
<div class="comment-form-widgets-container">\r
<textarea name="comment" class="commentBox"></textarea>\r
<div class="comment-form-buttons">\r
<div class="comment-form-widgets-container">\r
<textarea name="comment" class="commentBox"></textarea>\r
<div class="comment-form-buttons">\r
{% block content %}
{% comment %} this form is set up to be used in wizards {% endcomment %}
<form name="notarobot" action="." method="POST">
{% block content %}
{% comment %} this form is set up to be used in wizards {% endcomment %}
<form name="notarobot" action="." method="POST">
{% block admincontent %}
<form action="" method="POST">
{% block admincontent %}
<form action="" method="POST">
<table>
{{ form.as_table }}
<tr><th></th><td><input type="submit" value="{% trans "Save" %}"></td></tr>
<table>
{{ form.as_table }}
<tr><th></th><td><input type="submit" value="{% trans "Save" %}"></td></tr>
{% block admincontent %}
<form action="" method="post" accept-charset="utf-8">
{% block admincontent %}
<form action="" method="post" accept-charset="utf-8">
<table style="width: 100%">
{{ form.as_table }}
<tr>
<table style="width: 100%">
{{ form.as_table }}
<tr>
{% block admincontent %}
<form method="POST" action="">
{% block admincontent %}
<form method="POST" action="">
{% if in_maintenance %}
<h1>{% trans "Your site is currently running on maintenance mode." %}</h1>
<p>{% trans "You can adjust the settings bellow" %}</p>
{% if in_maintenance %}
<h1>{% trans "Your site is currently running on maintenance mode." %}</h1>
<p>{% trans "You can adjust the settings bellow" %}</p>
{% block admincontent %}
<div class="module">
<form action="" id="changelist" method="POST">
{% block admincontent %}
<div class="module">
<form action="" id="changelist" method="POST">
<div class="actions">
{% trans "Verify:" %}
<input type="text" size="3" name="limit" id="filter-limit" value="5" />
<div class="actions">
{% trans "Verify:" %}
<input type="text" size="3" name="limit" id="filter-limit" value="5" />
<div id="changelist" class="module filtered">
<div id="toolbar">
<form method="get" action="" id="changelist-search">
<div id="changelist" class="module filtered">
<div id="toolbar">
<form method="get" action="" id="changelist-search">
<div>
<div>
<label><img alt="Search" src="{{ settings.ADMIN_MEDIA_PREFIX }}img/admin/icon_searchbox.png"></label>
<div>
<div>
<label><img alt="Search" src="{{ settings.ADMIN_MEDIA_PREFIX }}img/admin/icon_searchbox.png"></label>
{% endfor %}
</ul>
<form action="" method="POST">
{% endfor %}
</ul>
<form action="" method="POST">
<input name="filter_name" type="text" size="20" id="filter-name-box" style="color: #AAA;" value="{% trans "Filter name..." %}" />
<button name="save_filter" value="0" style="color: #AAA;" title="{% trans "Click to save the current filter" %}" id="save-filter-button" disabled="disabled" class="button">{% trans "Save" %}</button>
</form>
{% comment %}<h3>{% trans "Show" %}</h3>
<form action="" method="get">
<input name="filter_name" type="text" size="20" id="filter-name-box" style="color: #AAA;" value="{% trans "Filter name..." %}" />
<button name="save_filter" value="0" style="color: #AAA;" title="{% trans "Click to save the current filter" %}" id="save-filter-button" disabled="disabled" class="button">{% trans "Save" %}</button>
</form>
{% comment %}<h3>{% trans "Show" %}</h3>
<form action="" method="get">
<div>{{ show_form.show }}</div>
<input type="submit" value="{% trans "Refresh" %}" />
</form>{% endcomment %}
</div>
</div>
<form id="changelist-form" method="POST" action="">
<div>{{ show_form.show }}</div>
<input type="submit" value="{% trans "Refresh" %}" />
</form>{% endcomment %}
</div>
</div>
<form id="changelist-form" method="POST" action="">
<div class="actions">
<label>
{% trans "Action" %}:
<div class="actions">
<label>
{% trans "Action" %}:
\r
{% block admincontent %}\r
<form action="" method="POST" enctype="multipart/form-data" accept-charset="utf-8">\r
\r
{% block admincontent %}\r
<form action="" method="POST" enctype="multipart/form-data" accept-charset="utf-8">\r
<table id="admin_form" style="width: 100%">\r
{{ form.as_table }}\r
<tr>\r
<table id="admin_form" style="width: 100%">\r
{{ form.as_table }}\r
<tr>\r
</div>\r
{% endif %}\r
<form id="fmanswer" action="{% url answer question.id %}" method="post">\r
</div>\r
{% endif %}\r
<form id="fmanswer" action="{% url answer question.id %}" method="post">\r
<div style="clear:both">\r
</div>\r
\r
<div style="clear:both">\r
</div>\r
\r
</div>
<div id="main-body" class="ask-body">
<div id="askform">
</div>
<div id="main-body" class="ask-body">
<div id="askform">
- <form id="fmedit" action="" method="post" >
+ <form id="fmedit" action="" method="post">
+ {% csrf_token %}
<label for="id_revision" ><strong>{% trans "revision" %}:</strong></label> <br/>
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
<div style="vertical-align:middle">
<label for="id_revision" ><strong>{% trans "revision" %}:</strong></label> <br/>
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
<div style="vertical-align:middle">
</div>
<div id="main-body" class="ask-body">
<div id="askform">
</div>
<div id="main-body" class="ask-body">
<div id="askform">
- <form id="fmretag" action="{% url edit_question question.id %}" method="post" >
+ <form id="fmretag" action="{% url edit_question question.id %}" method="post">
+ {% csrf_token %}
<h3>
{{ question.headline }}
</h3>
<h3>
{{ question.headline }}
</h3>
- <form id="fmclose" action="{% url reopen question.id %}" method="post" >
-
+ <form id="fmclose" action="{% url reopen question.id %}" method="post">
+ {% csrf_token %}
<div id="" style="padding:20px 0 20px 0">
<input type="submit" value="{% trans "Reopen this question" %}" class="submit" />
<input id="btBack" type="button" value="{% trans "Cancel" %}" class="submit" />
<div id="" style="padding:20px 0 20px 0">
<input type="submit" value="{% trans "Reopen this question" %}" class="submit" />
<input id="btBack" type="button" value="{% trans "Cancel" %}" class="submit" />
</form>
</div>
{% endblock %}
</form>
</div>
{% endblock %}
</div>
<div id="main-body" style="text-align: center; height: 400px;">
<form action="{% url search %}" method="get">
</div>
<div id="main-body" style="text-align: center; height: 400px;">
<form action="{% url search %}" method="get">
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" style="width: 600px" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" style="width: 600px" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
</div>\r
<div id="main-body" style="width:100%;padding-top:10px">\r
<form name="" action="{% url edit_user user.id %}" method="post">\r
</div>\r
<div id="main-body" style="width:100%;padding-top:10px">\r
<form name="" action="{% url edit_user user.id %}" method="post">\r
<div id="left" style="float:left;width:180px">\r
{% if user.email %}\r
{% gravatar user 128 %}\r
<div id="left" style="float:left;width:180px">\r
{% if user.email %}\r
{% gravatar user 128 %}\r
<h2>{% trans "Preferences" %}</h2>
<div class='inline-block'>
<form method="POST">
<h2>{% trans "Preferences" %}</h2>
<div class='inline-block'>
<form method="POST">
<p class="message">
{% trans "Here you can set some personal preferences." %}
</p>
<p class="message">
{% trans "Here you can set some personal preferences." %}
</p>
</p>\r
<div class='inline-block'>\r
<form method="POST">\r
</p>\r
<div class='inline-block'>\r
<form method="POST">\r
{{ form.errors }}\r
<table class="form-as-table">\r
<tr>\r
{{ form.errors }}\r
<table class="form-as-table">\r
<tr>\r
{% if captcha_form.recaptcha %}
<form action="." method="post">
{% if captcha_form.recaptcha %}
<form action="." method="post">
<strong>{% trans "Start new backup" %}</strong>
</p>
<form method="POST" action="">
<strong>{% trans "Start new backup" %}</strong>
</p>
<form method="POST" action="">
<table>
{{ form.as_table }}
</table>
<table>
{{ form.as_table }}
</table>
\r
{% block admincontent %}\r
<form method="post" action="" enctype="multipart/form-data">\r
\r
{% block admincontent %}\r
<form method="post" action="" enctype="multipart/form-data">\r
<input type="file" name="dump" /><br>\r
{% trans "Your user id in stack exchange" %}\r
<input type="test" name="owneruid" size="3" value="2" /><br />\r
<input type="file" name="dump" /><br>\r
{% trans "Your user id in stack exchange" %}\r
<input type="test" name="owneruid" size="3" value="2" /><br />\r
+ 'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'forum.middleware.extended_user.ExtendedUser',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'forum.middleware.extended_user.ExtendedUser',