Commits

Karol Fuksiewicz  committed 291dd65

Remove html patch as it is already in main repo

  • Participants
  • Parent commits 8c888b3

Comments (0)

Files changed (2)

File html_w3c.patch

-# HG changeset patch
-# Parent 94a043d3fea4c7d4b3a2504a64876ea0dca7444f
-
-diff -r 94a043d3fea4 djangobb/djangobb_forum/settings.py
---- a/djangobb/djangobb_forum/settings.py	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/settings.py	Sat Feb 12 01:15:44 2011 +0100
-@@ -1,3 +1,4 @@
-+# -*- coding: utf-8 -*-
- from django.conf import settings
- import re
- 
-@@ -61,18 +62,18 @@
- 
- # SMILE Extension
- SMILES_SUPPORT = get('DJANGOBB_SMILES_SUPPORT', True)
--EMOTION_SMILE = get('DJANGOBB_EMOTION_SMILE', '<img src="%sforum/img/smilies/smile.png">' % settings.MEDIA_URL)
--EMOTION_NEUTRAL = get('DJANGOBB_EMOTION_NEUTRAL', '<img src="%sforum/img/smilies/neutral.png">' % settings.MEDIA_URL)
--EMOTION_SAD = get('DJANGOBB_EMOTION_SAD', '<img src="%sforum/img/smilies/sad.png">' % settings.MEDIA_URL)
--EMOTION_BIG_SMILE = get('DJANGOBB_EMOTION_BIG_SMILE', '<img src="%sforum/img/smilies/big_smile.png">' % settings.MEDIA_URL)
--EMOTION_YIKES = get('DJANGOBB_EMOTION_YIKES', '<img src="%sforum/img/smilies/yikes.png">' % settings.MEDIA_URL)
--EMOTION_WINK = get('DJANGOBB_EMOTION_WINK', '<img src="%sforum/img/smilies/wink.png">' % settings.MEDIA_URL)
--EMOTION_HMM = get('DJANGOBB_EMOTION_HMM', '<img src="%sforum/img/smilies/hmm.png">' % settings.MEDIA_URL)
--EMOTION_TONGUE = get('DJANGOBB_EMOTION_TONGUE', '<img src="%sforum/img/smilies/tongue.png">' % settings.MEDIA_URL)
--EMOTION_LOL = get('DJANGOBB_EMOTION_LOL', '<img src="%sforum/img/smilies/lol.png">' % settings.MEDIA_URL)
--EMOTION_MAD = get('DJANGOBB_EMOTION_MAD', '<img src="%sforum/img/smilies/mad.png">' % settings.MEDIA_URL)
--EMOTION_ROLL = get('DJANGOBB_EMOTION_ROLL', '<img src="%sforum/img/smilies/roll.png">' % settings.MEDIA_URL)
--EMOTION_COOL = get('DJANGOBB_EMOTION_COOL', '<img src="%sforum/img/smilies/cool.png">' % settings.MEDIA_URL)
-+EMOTION_SMILE = get('DJANGOBB_EMOTION_SMILE', '<img src="%sforum/img/smilies/smile.png" />' % settings.MEDIA_URL)
-+EMOTION_NEUTRAL = get('DJANGOBB_EMOTION_NEUTRAL', '<img src="%sforum/img/smilies/neutral.png" />' % settings.MEDIA_URL)
-+EMOTION_SAD = get('DJANGOBB_EMOTION_SAD', '<img src="%sforum/img/smilies/sad.png" />' % settings.MEDIA_URL)
-+EMOTION_BIG_SMILE = get('DJANGOBB_EMOTION_BIG_SMILE', '<img src="%sforum/img/smilies/big_smile.png" />' % settings.MEDIA_URL)
-+EMOTION_YIKES = get('DJANGOBB_EMOTION_YIKES', '<img src="%sforum/img/smilies/yikes.png" />' % settings.MEDIA_URL)
-+EMOTION_WINK = get('DJANGOBB_EMOTION_WINK', '<img src="%sforum/img/smilies/wink.png" />' % settings.MEDIA_URL)
-+EMOTION_HMM = get('DJANGOBB_EMOTION_HMM', '<img src="%sforum/img/smilies/hmm.png" />' % settings.MEDIA_URL)
-+EMOTION_TONGUE = get('DJANGOBB_EMOTION_TONGUE', '<img src="%sforum/img/smilies/tongue.png" />' % settings.MEDIA_URL)
-+EMOTION_LOL = get('DJANGOBB_EMOTION_LOL', '<img src="%sforum/img/smilies/lol.png" />' % settings.MEDIA_URL)
-+EMOTION_MAD = get('DJANGOBB_EMOTION_MAD', '<img src="%sforum/img/smilies/mad.png" />' % settings.MEDIA_URL)
-+EMOTION_ROLL = get('DJANGOBB_EMOTION_ROLL', '<img src="%sforum/img/smilies/roll.png" />' % settings.MEDIA_URL)
-+EMOTION_COOL = get('DJANGOBB_EMOTION_COOL', '<img src="%sforum/img/smilies/cool.png" />' % settings.MEDIA_URL)
- SMILES = ((r'(:|=)\)', EMOTION_SMILE), #:), =)
-           (r'(:|=)\|',  EMOTION_NEUTRAL), #:|, =| 
-           (r'(:|=)\(', EMOTION_SAD), #:(, =(
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/base.html
---- a/djangobb/djangobb_forum/templates/forum/base.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/base.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -54,14 +54,18 @@
- 	{% block content %}{% endblock %}
- 	<div id="brdfooter" class="block">
- 	<h2><span>{% trans "Board footer" %}</span></h2>
--	<div class="box">
--		<div class="inbox">
--			{% block controls %}
--			{% endblock %}
--			<p class="conr">Powered by <a href="http://djangobb.org/">DjangoBB</a></p>
--			<div class="clearer"></div>
--		</div>
--	</div>
-+        <div class="box">
-+            <div class="inbox">
-+                {% block controls %}
-+                {% endblock %}
-+                <p class="conr">Powered by <a href="http://djangobb.org/">DjangoBB</a></p>
-+                <div class="clearer"></div>
-+                {% block lofi %}
-+                {% endblock %}
-+            </div>
-+        </div>
-+    </div>
-+</div>
- </div>
- </body>
- </html>
-\ No newline at end of file
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/forum.html
---- a/djangobb/djangobb_forum/templates/forum/forum.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/forum.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -72,16 +72,6 @@
- 		<div class="clearer"></div>
- 	</div>
- </div>
--{% if forum_settings.LOFI_SUPPORT %}
--	<div id="brdfooter" class="block">
--		<div class="box">
--			<div class="inbox" align="center">
--				<a href="{{ forum.get_absolute_url }}lofi/">Lo-Fi Version</a>
--				<div class="clearer"></div>
--			</div>
--		</div>
--	</div>
--{% endif %}
- {% endblock %}
- {% block controls %}
- <div class="conl">
-@@ -105,3 +95,11 @@
- 	{% endif %}
- </div>
- {% endblock %}
-+
-+{% block lofi %}
-+{% if forum_settings.LOFI_SUPPORT %}
-+    <p class="lofi">
-+        <a href="{{ forum.get_absolute_url }}lofi/">Lo-Fi Version</a>
-+    </p>
-+{% endif %}
-+{% endblock %}
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/index.html
---- a/djangobb/djangobb_forum/templates/forum/index.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/index.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -5,17 +5,17 @@
- {% block extra_meta %}
- <script type="text/javascript" src="{{ MEDIA_URL }}forum/js/jquery.cookie.js"></script>
- <script type="text/javascript">
--	
-+
- 	function set_collapser(cat_id) {
- 		category_body_id = "category_body_" + cat_id;
- 		if($.cookie(category_body_id)){
--			item_id = "#" + category_body_id; 
-+			item_id = "#" + category_body_id;
- 			head_id = item_id.replace("body", "head");
- 			$(head_id).addClass("collapsed");
- 			$(item_id).hide()
- 		}
- 	}
--	$(document).ready(function(){	
-+	$(document).ready(function(){
- 		$("a.toggle").click(function(){
- 			header_id = $(this).parent().attr('id');
- 			body_id = header_id.replace("head", "body");
-@@ -83,28 +83,17 @@
- 				<dd>{% trans "Registered users online:" %} <strong>{{ online_count }}</strong></dd>
- 				<dd>{% trans "Guests online:" %} <strong>{{ guest_count }}</strong></dd>
- 			</dl>
--			<dl id="onlinelist" class= "clearb">
--				{% if online_count %}
--					<dt><strong>{% trans "Online:" %} </strong></dt>
--					{% for online in users_online %}
--						<dd>{{ online|profile_link }}</dd> 
--					{% endfor %}
--				{% endif %}
--			</dl>
-+            {% if online_count %}
-+                <dl id="onlinelist" class= "clearb">
-+                    <dt><strong>{% trans "Online:" %} </strong></dt>
-+                    {% for online in users_online %}
-+                        <dd>{{ online|profile_link }}</dd>
-+                    {% endfor %}
-+                </dl>
-+            {% endif %}
- 		</div>
- 	</div>
- </div>
--
--{% if forum_settings.LOFI_SUPPORT %}
--<div id="brdfooter" class="block">
--	<div class="box">
--		<div class="inbox" align="center">
--			<a href="{% url djangobb:lofi_index %}">Lo-Fi Version</a>
--			<div class="clearer"></div>
--		</div>
--	</div>
--</div>
--{% endif %}
- {% endblock %}
- 
- {% block controls %}
-@@ -118,3 +107,11 @@
- 	{% endif %}
- </dl>
- {% endblock %}
-+
-+{% block lofi %}
-+{% if forum_settings.LOFI_SUPPORT %}
-+    <p class="lofi">
-+        <a href="{% url djangobb:lofi_index %}">Lo-Fi Version</a>
-+    </p>
-+{% endif %}
-+{% endblock %}
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/search_form.html
---- a/djangobb/djangobb_forum/templates/forum/search_form.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/search_form.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -6,9 +6,9 @@
- <div id="searchform" class="blockform">
- 	<h2><span>{% trans "Search" %}</span></h2>
- 	<div class="box">
--		<form id="search" method="get">
--			<input type="hidden" name="action" value="search" />
-+		<form id="search" method="get" action="">
- 			<div class="inform">
-+                <input type="hidden" name="action" value="search" />
- 				<fieldset>
- 					<legend>{% trans "Enter your search criteria" %}</legend>
- 					<div class="infldset">
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/topic.html
---- a/djangobb/djangobb_forum/templates/forum/topic.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/topic.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -54,9 +54,9 @@
- 							<dd>{% trans "IP:" %} {{ post.user_ip }}</dd>
- 						{% endif %}
- 						{% if forum_settings.REPUTATION_SUPPORT %}
--								<dd><a href="{% url djangobb:reputation post.user %}">{% trans "Reputation" %}</a>: 
-+								<dd><a href="{% url djangobb:reputation post.user %}">{% trans "Reputation" %}</a>:
- 								{% if request.user != post.user %} {# TODO: and user.is_authenticated #}
--									<a href="{% url djangobb:reputation post.user %}?action=plus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_add.gif" alt="+" border="0"></a>&nbsp;&nbsp;<strong>{{ post.user.forum_profile.reply_total }}&nbsp;&nbsp;</strong><a href="{% url djangobb:reputation post.user %}?action=minus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_minus.gif" alt="-" border="0"></a>
-+									<a href="{% url djangobb:reputation post.user %}?action=plus&amp;post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_add.gif" alt="+" /></a>&nbsp;&nbsp;<strong>{{ post.user.forum_profile.reply_total }}&nbsp;&nbsp;</strong><a href="{% url djangobb:reputation post.user %}?action=minus&amp;post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_minus.gif" alt="-" /></a>
- 								{% else %}
- 									<strong>{{ post.user.forum_profile.reply_total }}</strong>
- 								{% endif %}
-@@ -94,7 +94,7 @@
- 					{% endif %}
- 					{% if post.attachments.all %}
- 						{% for attach in post.attachments.all %}
--							<p class="postedit"><em>{% trans "Attachments:" %} <div>{{ attach|attachment_link }}</div></em></p>
-+							<p class="postedit"><em>{% trans "Attachments:" %} <br />{{ attach|attachment_link }}</em></p>
- 						{% endfor %}
- 					{% endif %}
- 				</div>
-@@ -109,18 +109,18 @@
- 			</div>
- 			<div class="postfootright">
- 				<ul>
--					<li class="postreport"><a href="{% url djangobb:misc %}?action=report&post_id={{ post.id }}">{% trans "Report" %}</a> </li>
-+					<li class="postreport"><a href="{% url djangobb:misc %}?action=report&amp;post_id={{ post.id }}">{% trans "Report" %}</a> </li>
- 					{% if moderator or post|forum_equal_to:last_post %}
- 						{% if moderator or post.user|forum_equal_to:user %}
--							| <li class="postdelete"><a onclick="return confirm('{% trans "Are you sure you want to delete this post?" %}')" href="{% url djangobb:delete_post post.id %}">{% trans "Delete" %}</a> </li>
-+							<li class="postdelete">| <a onclick="return confirm('{% trans "Are you sure you want to delete this post?" %}')" href="{% url djangobb:delete_post post.id %}">{% trans "Delete" %}</a> </li>
- 						{% endif %}
- 					{% endif %}
- 					{% if moderator or post|forum_posted_by:user %}
--						| <li class="postedit"><a href="{% url djangobb:edit_post post.id %}">{% trans "Edit" %}</a> </li>
-+						<li class="postedit">| <a href="{% url djangobb:edit_post post.id %}">{% trans "Edit" %}</a> </li>
- 					{% endif %}
--					| <li class="postquote"><a href="{% url djangobb:add_post topic.id %}?post_id={{ post.id }}">{% trans "Reply" %}</a> </li>
-+					<li class="postquote">| <a href="{% url djangobb:add_post topic.id %}?post_id={{ post.id }}">{% trans "Reply" %}</a> </li>
- 					{% if user.is_authenticated %}
--						| <li class="postquote"><a onmouseover="copyQ('{{ post.user }}');" href="javascript:pasteQ();">{% trans "Quote" %}</a></li>
-+						<li class="postquote">| <a onmouseover="copyQ('{{ post.user }}');" href="javascript:pasteQ();">{% trans "Quote" %}</a></li>
- 					{% endif %}
- 				</ul>
- 			</div>
-@@ -132,7 +132,7 @@
- 	<div class="inbox">
- 		<p class="pagelink conl">{% pagination %}</p>
- 		<p class="postlink conr"><a href="{% url djangobb:add_post topic.id %}">{% trans "Reply" %}</a></p>
--				<ul><li><a href="{% url djangobb:index %}">{% trans "Root" %} </a></li><li>&raquo; {% link topic.forum %} </li><li>&raquo; {{ topic }} 
-+				<ul><li><a href="{% url djangobb:index %}">{% trans "Root" %} </a></li><li>&raquo; {% link topic.forum %} </li><li>&raquo; {{ topic }}
- 				<a href="{% url djangobb:forum_topic_feed topic.id %}"><img src="{{ MEDIA_URL }}/forum/img/feed-icon-small.png"  alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a>
- 				</li></ul>
- 		{% if user.is_authenticated %}
-@@ -176,22 +176,11 @@
- 	</div>
- </div>
- {% endif %}
--
--{% if forum_settings.LOFI_SUPPORT %}
--	<div id="brdfooter" class="block">
--		<div class="box">
--			<div class="inbox" align="center">
--				<a href="{{ topic.get_absolute_url }}lofi/">Lo-Fi Version</a>
--				<div class="clearer"></div>
--			</div>
--		</div>
--	</div>
--{% endif %}
- {% endblock %}
- 
- {% block controls %}
- <div class="conl">
--	<form id="qjump" method="GET" action="forum">
-+	<form id="qjump" method="get" action="forum">
- 		<div><label>{% trans "Jump to " %}
- 		<br />
- 		<select name="id" id="forum_id" onchange="window.location=('{% url djangobb:index %}'+this.options[this.selectedIndex].value)">
-@@ -221,5 +210,14 @@
- 			<dd><a href="{% url djangobb:stick_unstick_topic topic.id %}">{% trans "Stick topic" %}</a></dd></dl>
- 		{% endif %}
- 	{% endif %}
-+    </dl>
- </div>
- {% endblock %}
-+
-+{% block lofi %}
-+{% if forum_settings.LOFI_SUPPORT %}
-+    <p class="lofi">
-+        <a href="{{ topic.get_absolute_url }}lofi/">Lo-Fi Version</a>
-+    </p>
-+{% endif %}
-+{% endblock %}
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/user.html
---- a/djangobb/djangobb_forum/templates/forum/user.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/user.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -105,7 +105,7 @@
- 								<dd>{{ profile.forum_profile.signature|safe }}</dd>
- 							{% else %}
- 								<dd>{% trans "(Unknown)" %}</dd>
--							{% endif %}</dd>
-+							{% endif %}
- 						</dl>
- 						<div class="clearer"></div>
- 					</div>
-@@ -117,7 +117,7 @@
- 					<div class="infldset">
- 						<dl>
- 							<dt>{% trans "Posts:" %} </dt>
--							<dd>{{ profile.forum_profile.post_count }} - <a href="{% url djangobb:search %}?action=show_user&user_id={{ profile.id }}">{% trans "Show all posts" %}</a></dd>
-+							<dd>{{ profile.forum_profile.post_count }} - <a href="{% url djangobb:search %}?action=show_user&amp;user_id={{ profile.id }}">{% trans "Show all posts" %}</a></dd>
- 							<dt>{% trans "Last post:" %} </dt>
- 							{% if profile.forum_profile.last_post %}
- 								<dd>{{ profile.forum_profile.last_post }}</dd>
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templates/forum/users.html
---- a/djangobb/djangobb_forum/templates/forum/users.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templates/forum/users.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -6,13 +6,13 @@
- <div class="blockform">
- 	<h2><span>{% trans "User search" %}</span></h2>
- 	<div class="box">
--	<form method="get" id="userlist">
-+	<form method="get" id="userlist" action="">
- 		<div class="inform">
- 			<fieldset>
- 				<legend>{% trans "Find and sort users" %}</legend>
- 				<div class="infldset">
- 					<label class="conl">{{ form.username.label }}<br />{{ form.username }}<br /></label>
--					
-+
- 					<label class="conl">{{ form.sort_by.label }}
- 					<br />
- 					{{ form.sort_by }}
-@@ -25,8 +25,8 @@
- 					<p class="clearb">{% trans "Enter a username to search for. The username field can be left blank. Sort users by name, date registered or number of posts and in ascending/descending order." %}</p>
- 				</div>
- 			</fieldset>
-+            <input type="submit" value="{% trans "Search" %}" />
- 		</div>
--	<input type="submit" value="{% trans "Search" %}" />
- 	</form>
- 	</div>
- </div>
-diff -r 94a043d3fea4 djangobb/djangobb_forum/templatetags/forum_extras.py
---- a/djangobb/djangobb_forum/templatetags/forum_extras.py	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/djangobb_forum/templatetags/forum_extras.py	Sat Feb 12 01:15:44 2011 +0100
-@@ -205,27 +205,27 @@
- def forum_authority(user):
-     posts = user.forum_profile.post_count
-     if posts >= forum_settings.AUTHORITY_STEP_10: 
--        return mark_safe('<img src="%sforum/img/authority/vote10.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote10.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_9: 
--        return mark_safe('<img src="%sforum/img/authority/vote9.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote9.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_8: 
--        return mark_safe('<img src="%sforum/img/authority/vote8.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote8.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_7: 
--        return mark_safe('<img src="%sforum/img/authority/vote7.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote7.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_6: 
--        return mark_safe('<img src="%sforum/img/authority/vote6.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote6.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_5: 
--        return mark_safe('<img src="%sforum/img/authority/vote5.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote5.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_4: 
--        return mark_safe('<img src="%sforum/img/authority/vote4.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote4.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_3: 
--        return mark_safe('<img src="%sforum/img/authority/vote3.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote3.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_2: 
--        return mark_safe('<img src="%sforum/img/authority/vote2.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote2.gif" alt="" />' % (settings.MEDIA_URL))
-     elif posts >= forum_settings.AUTHORITY_STEP_1: 
--        return mark_safe('<img src="%sforum/img/authority/vote1.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote1.gif" alt="" />' % (settings.MEDIA_URL))
-     else:
--        return mark_safe('<img src="%sforum/img/authority/vote0.gif" alt="" >' % (settings.MEDIA_URL))
-+        return mark_safe('<img src="%sforum/img/authority/vote0.gif" alt="" />' % (settings.MEDIA_URL))
- 
-     
- @register.filter
-@@ -243,15 +243,15 @@
- def attachment_link(attach):
-     from django.template.defaultfilters import filesizeformat
-     if attach.content_type in ['image/png', 'image/gif', 'image/jpeg']:
--        img = '<img src="%sforum/img/attachment/image.png" alt="attachment" >' % (settings.MEDIA_URL)
-+        img = '<img src="%sforum/img/attachment/image.png" alt="attachment" />' % (settings.MEDIA_URL)
-     elif attach.content_type in ['application/x-tar', 'application/zip']:
--        img = '<img src="%sforum/img/attachment/compress.png" alt="attachment" >' % (settings.MEDIA_URL)
-+        img = '<img src="%sforum/img/attachment/compress.png" alt="attachment" />' % (settings.MEDIA_URL)
-     elif attach.content_type in ['text/plain']:
--        img = '<img src="%sforum/img/attachment/text.png" alt="attachment" >' % (settings.MEDIA_URL)
-+        img = '<img src="%sforum/img/attachment/text.png" alt="attachment" />' % (settings.MEDIA_URL)
-     elif attach.content_type in ['application/msword']:
--        img = '<img src="%sforum/img/attachment/doc.png" alt="attachment" >' % (settings.MEDIA_URL)
-+        img = '<img src="%sforum/img/attachment/doc.png" alt="attachment" />' % (settings.MEDIA_URL)
-     else:
--        img = '<img src="%sforum/img/attachment/unknown.png" alt="attachment" >' % (settings.MEDIA_URL)
-+        img = '<img src="%sforum/img/attachment/unknown.png" alt="attachment" />' % (settings.MEDIA_URL)
-     attachment = '%s <a href="%s">%s</a> (%s)' % (img, attach.get_absolute_url(), attach.name, filesizeformat(attach.size))
-     return mark_safe(attachment)
- 
-@@ -271,7 +271,7 @@
-             'size': size,
-             'default': forum_settings.GRAVATAR_DEFAULT,
-         })
--        return url
-+        return url.replace('&', '&amp;')
-     else:
-         return ''
- 
-@@ -304,4 +304,4 @@
-             media_url=settings.MEDIA_URL,
-             markup=markup if markup else user.forum_profile.markup
-         )
--    return markup_style
-\ No newline at end of file
-+    return markup_style
-diff -r 94a043d3fea4 djangobb/static/forum/themes/base.css
---- a/djangobb/static/forum/themes/base.css	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/static/forum/themes/base.css	Sat Feb 12 01:15:44 2011 +0100
-@@ -261,6 +261,7 @@
- /* 10.3 Other templates */
- 
- #djangobbredirect DIV.block, #djangobbmaint DIV.block {MARGIN: 50px 20% 12px 20%}
-+.lofi { text-align: center; }
- 
- /****************************************************************/
- /* MOD QUICK QUOTE STYLE INDICATORS */
-diff -r 94a043d3fea4 djangobb/templates/authopenid/signin.html
---- a/djangobb/templates/authopenid/signin.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/templates/authopenid/signin.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -37,14 +37,16 @@
- 					</div>
- 			</fieldset>
- 		</div>
--		<input type="hidden" name="next" value="{{ next }}" />
--		<p><input type="submit" value="{% trans "Login" %}" /></p>
-+		<p>
-+            <input type="hidden" name="next" value="{{ next }}" />
-+            <input type="submit" value="{% trans "Login" %}" />
-+        </p>
- 		</form>
- 
--		<form id="openid_form" name="openid_form" action="." method="post">
--		<input type="hidden" name="action" value="verify" />
--		<input type="hidden" name="next" value="{{ next }}" />
-+		<form id="openid_form" action="." method="post">
- 		<fieldset>
-+        <input type="hidden" name="action" value="verify" />
-+        <input type="hidden" name="next" value="{{ next }}" />
- 		<legend>{% trans "Sign In Using Your OpenID URL" %}</legend>
- 			<div id="openid_choice">
- 				<p>{% trans "Please click your account provider:" %}</p>
-diff -r 94a043d3fea4 djangobb/templates/registration/registration_form.html
---- a/djangobb/templates/registration/registration_form.html	Sun Feb 06 22:45:22 2011 +0200
-+++ b/djangobb/templates/registration/registration_form.html	Sat Feb 12 01:15:44 2011 +0100
-@@ -6,7 +6,7 @@
- <div class="blockform">
- 	<h2><span>{% trans "Register" %}</span></h2>
- 	<div class="box">
--		<form method="post">
-+		<form method="post" action="">
- 			<div class="inform">
- 				<div class="forminfo">
- 					<h3>{% trans "Important information" %}</h3>
-html_w3c.patch
 pagination.patch
 # Placed by Bitbucket