Commits

Jannis Leidel  committed 5374e8c

Another bunch of misuses of MEDIA_URL.

  • Participants
  • Parent commits 05dd2d8

Comments (0)

Files changed (44)

File docs/developer/howtos/theme/index.rst

 
 5. Include your CSS file to the header::
 
-    <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}mytheme/mytheme.css">
+    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}mytheme/mytheme.css">
 
 6. Optionally delete the link to main.css (if you just want to use your own CSS).

File lfs/templates/manage/cart/carts_inline.html

 		    {% if page.has_previous %}
 		        <a class="ajax-link"
 		           href="{% url lfs_carts_inline %}?page=1">
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 		                 alt="{% trans 'First' %}"
 		                 title="{% trans 'First' %}" />
 				</a>
 		        <a class="ajax-link"
 		           href="{% url lfs_carts_inline %}?page={{ page.previous_page_number }}">
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 		                 alt="{% trans 'Previous' %}"
 		                 title="{% trans 'Previous' %}" />
 				</a>
 		    {% else %}
-		        <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+		        <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 		             alt="{% trans 'First' %}"
 		             title="{% trans 'First' %}" />
-		        <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+		        <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 		             alt="{% trans 'Previous' %}"
 		             title="{% trans 'Previous' %}" />
 		    {% endif %}
 		    {% if page.has_next %}
 		        <a class="ajax-link"
 		           href="{% url lfs_carts_inline %}?page={{ page.next_page_number }}">
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 		                 alt="{% trans 'Next' %}"
 		                 title="{% trans 'Next' %}" />			
 				</a>
 		        <a class="ajax-link"
 		           href="{% url lfs_carts_inline %}?page={{ paginator.num_pages }}">
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 		                 alt="{% trans 'Last' %}"
 		                 title="{% trans 'Last' %}" />			
 				</a>
 
 		    {% else %}
 		        <span>
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 		                 alt="{% trans 'Next' %}"
 		                 title="{% trans 'Next' %}" />			
 		        </span>
 		        <span>            	
-		            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+		            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 		                 alt="{% trans 'Last' %}"
 		                 title="{% trans 'Last' %}" />			
 		        </span>

File lfs/templates/manage/cart/selectable_carts_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_selectable_carts_inline %}?page=1">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_carts_inline %}?page={{page.previous_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </a>
     {% else %}
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_selectable_carts_inline %}?page={{page.next_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_carts_inline %}?page={{paginator.num_pages}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />
     {% endif %}

File lfs/templates/manage/category/products_inline.html

                 </td>
                 <td>
 					{% if product.is_active %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 					{% else %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 					{% endif %}
                 </td>
                 <td>
                 </td>
                 <td class="right">
                     <a href="{% url lfs_manage_product product.id %}">
-                        <img src="{{MEDIA_URL}}lfs/icons/pencil.png" 
+                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png" 
                              alt="Edit"
                              title="{% trans 'Edit product' %}" />
                     </a>

File lfs/templates/manage/category/selected_products.html

                     </td>
                     <td>
 						{% if product.is_active %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 						{% else %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 						{% endif %}
                     </td>
                     <td>
                     </td>
                     <td class="right">
                         <a href="{% url lfs_manage_product product.id %}">
-                            <img src="{{MEDIA_URL}}lfs/icons/pencil.png" 
+                            <img src="{{ STATIC_URL }}lfs/icons/pencil.png" 
                                  alt="Edit"
                                  title="{% trans 'Edit product' %}" />
                         </a>

File lfs/templates/manage/criteria/combinedlengthandgirth_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />        
         </a>
     </td>

File lfs/templates/manage/criteria/country_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/distance_criterion.html

     <td>
         <a   }}class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/height_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/length_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/payment_method_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />        
         </a>
     </td>

File lfs/templates/manage/criteria/price_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/shipping_method_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />        
         </a>
     </td>

File lfs/templates/manage/criteria/user_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />        
         </a>
     </td>

File lfs/templates/manage/criteria/weight_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{ MEDIA_URL }}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{ MEDIA_URL }}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />
         </a>
     </td>

File lfs/templates/manage/criteria/width_criterion.html

     <td>
         <a class="criterion-add-button"
            href="{% url lfs_add_criterion %}">
-            <img src="{{MEDIA_URL}}lfs/icons/add.png"
+            <img src="{{ STATIC_URL }}lfs/icons/add.png"
                  alt="Add" />
         </a>
         <a class="criterion-delete-button">
-            <img src="{{MEDIA_URL}}lfs/icons/delete.png"
+            <img src="{{ STATIC_URL }}lfs/icons/delete.png"
                  alt="Delete" />        
         </a>
     </td>

File lfs/templates/manage/customer/customers_inline.html

 				    {% if page.has_previous %}
 				        <a class="ajax-link"
 				           href="{% url lfs_customers_inline %}?page=1">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				                 alt="{% trans 'First' %}"
 				                 title="{% trans 'First' %}" />
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_customers_inline %}?page={{ page.previous_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				                 alt="{% trans 'Previous' %}"
 				                 title="{% trans 'Previous' %}" />
 						</a>
 				    {% else %}
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				             alt="{% trans 'First' %}"
 				             title="{% trans 'First' %}" />
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				             alt="{% trans 'Previous' %}"
 				             title="{% trans 'Previous' %}" />
 				    {% endif %}
 				    {% if page.has_next %}
 				        <a class="ajax-link"
 				           href="{% url lfs_customers_inline %}?page={{ page.next_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_customers_inline %}?page={{ paginator.num_pages }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />
 						</a>
 
 				    {% else %}
 				        <span>
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />
 				        </span>
 				        <span>
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />
 				        </span>

File lfs/templates/manage/customer/selectable_customers_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_selectable_customers_inline %}?page=1">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_customers_inline %}?page={{page.previous_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </a>
     {% else %}
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_selectable_customers_inline %}?page={{page.next_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_customers_inline %}?page={{paginator.num_pages}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />
     {% endif %}

File lfs/templates/manage/discounts/criteria.html

         <a class="criterion-add-first-button"
            href="{% url lfs_add_criterion %}">
             <img class="icon-padding" 
-                 src="{{MEDIA_URL}}/lfs/icons/add.png"
+                 src="{{ STATIC_URL }}/lfs/icons/add.png"
                  alt="{% trans 'Add' %}" />
             
             {% trans 'Add criterion' %}

File lfs/templates/manage/manage_base.html

         <div class="lfs-header">
             <div class="logo">
                 <a href="{% url lfs_shop_view %}">
-                    <img src="{{MEDIA_URL}}lfs/img/logo.jpg"
+                    <img src="{{ STATIC_URL }}lfs/img/logo.jpg"
                          alt="LFS"
                          title="LFS - Lightning Fast Shop"/>
                 </a>

File lfs/templates/manage/marketing/featured_inline.html

                 </td>
                 <td>
 					{% if product.is_active %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 					{% else %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 					{% endif %}
                 </td>
                 <td>
                 </td>
 				<td class="right">
 					<a href="{% url lfs_product product.slug %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
                              alt="Edit"
                              title="{% trans 'Edit product' %}" />
 					</a>
 					<a href="{% url lfs_manage_product product.id %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
                              alt="Edit"
                              title="{% trans 'Edit product' %}" />
 					</a>
                     </td>
                     <td>
 						{% if ts.product.is_active %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 						{% else %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 						{% endif %}
                     </td>
                     <td>
 
 					<td class="right">
 						<a href="{% url lfs_product ts.product.slug %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>
 						<a href="{% url lfs_manage_product ts.product.id %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>

File lfs/templates/manage/marketing/rating_mails.html

                     </td>
                     <td class="right small">
                         <a href="{% url lfs_manage_order order.id %}">
-                            <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+                            <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
                                  alt='{% trans "View" %}'
                                  title="{% trans 'View order' %}" />
                         </a>

File lfs/templates/manage/marketing/topseller_inline.html

                 </td>
                 <td>
 					{% if product.is_active %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 					{% else %}
-						<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+						<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 					{% endif %}
                 </td>
                 <td>
                 </td>
 				<td class="right">
 					<a href="{% url lfs_product product.slug %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
                              alt="Edit"
                              title="{% trans 'Edit product' %}" />
 					</a>
 					<a href="{% url lfs_manage_product product.id %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
                              alt="Edit"
                              title="{% trans 'Edit product' %}" />
 					</a>
                     </td>
                     <td>
 						{% if ts.product.is_active %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 						{% else %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 						{% endif %}
                     </td>
                     <td>
 
 					<td class="right">
 						<a href="{% url lfs_product ts.product.slug %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>
 						<a href="{% url lfs_manage_product ts.product.id %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>

File lfs/templates/manage/order/orders_inline.html

 				    {% if page.has_previous %}
 				        <a class="ajax-link"
 				           href="{% url lfs_orders_inline %}?page=1">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				                 alt="{% trans 'First' %}"
 				                 title="{% trans 'First' %}" />
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_orders_inline %}?page={{ page.previous_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				                 alt="{% trans 'Previous' %}"
 				                 title="{% trans 'Previous' %}" />
 						</a>
 				    {% else %}
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				             alt="{% trans 'First' %}"
 				             title="{% trans 'First' %}" />
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				             alt="{% trans 'Previous' %}"
 				             title="{% trans 'Previous' %}" />
 				    {% endif %}
 				    {% if page.has_next %}
 				        <a class="ajax-link"
 				           href="{% url lfs_orders_inline %}?page={{ page.next_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />			
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_orders_inline %}?page={{ paginator.num_pages }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />			
 						</a>
 
 				    {% else %}
 				        <span>
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />			
 				        </span>
 				        <span>            	
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />			
 				        </span>

File lfs/templates/manage/order/selectable_orders_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_selectable_orders_inline %}?page=1">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_orders_inline %}?page={{page.previous_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </a>
     {% else %}
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_selectable_orders_inline %}?page={{page.next_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_orders_inline %}?page={{paginator.num_pages}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />
     {% endif %}

File lfs/templates/manage/payment/payment_method_criteria.html

         <a class="criterion-add-first-button"
            href="{% url lfs_add_criterion %}">
             <img class="icon-padding" 
-                 src="{{MEDIA_URL}}lfs/icons/add.png" /
+                 src="{{ STATIC_URL }}lfs/icons/add.png" /
                  alt="Add" />
             
             {% trans 'Add criterion' %}

File lfs/templates/manage/payment/payment_price_criteria.html

         <div class="top-buttons">
             <a href="{% url lfs_add_criterion %}"
                class="criterion-add-first-button">
-                <img src="{{MEDIA_URL}}lfs/icons/add.png" /
+                <img src="{{ STATIC_URL }}lfs/icons/add.png" /
                      alt="Add" />
                 
                 {% trans 'Add criterion' %}

File lfs/templates/manage/product/accessories_inline.html

                         </td>
                         <td>
 							{% if product.is_active %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 							{% else %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 							{% endif %}
                         </td>
                         <td>
                         </td>
 						<td class="right">
 							<a href="{% url lfs_product product.slug %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>
 							<a href="{% url lfs_manage_product product.id %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>
 						</td>
 						<td>
 							{% if product_accessory.accessory.is_active %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 							{% else %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 							{% endif %}
 						</td>
                         <td>
                         </td>
 						<td class="right">
 							<a href="{% url lfs_product product.slug %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>
 							<a href="{% url lfs_manage_product product.id %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>

File lfs/templates/manage/product/categories.html

                     <a href="{{category.url}}">
                         {{category.name}}</a>
                     <a href="{% url lfs_manage_category category.id %}">
-                        <img src="{{MEDIA_URL}}lfs/icons/pencil.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
                              alt="{% trans 'Edit' %}"
                              title="{% trans 'Edit category' %}" />
                     </a>

File lfs/templates/manage/product/categories_children.html

                 <a href="{{category.url}}">
                     {{category.name}}</a>
                 <a href="{% url lfs_manage_category category.id %}">
-                    <img src="{{MEDIA_URL}}lfs/icons/pencil.png"
+                    <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
                          alt="{% trans 'Edit' %}"
                          title="{% trans 'Edit category' %}" />
                 </a>

File lfs/templates/manage/product/images.html

     var swfu;
 
     var settings = {
-        flash_url : "{{ MEDIA_URL }}lfs/swfupload/swfupload.swf",
+        flash_url : "{{ STATIC_URL }}lfs/swfupload/swfupload.swf",
         upload_url: "{% url lfs_manage_add_image product.id %}",
         file_size_limit : "100 MB",
         file_types : "*.*",

File lfs/templates/manage/product/pages_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_set_products_page %}?page=1">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_first.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png" 
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />           
         </a>
         <a class="ajax-link"
            href="{% url lfs_set_products_page %}?page={{ page.previous_page_number }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_previous.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png" 
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />                                  
         </a>
     {% else %}
         <span>
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_first.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png" 
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_previous.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png" 
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_set_products_page %}?page={{ page.next_page_number }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_next.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png" 
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />           
         </a>
         <a class="ajax-link"
            href="{% url lfs_set_products_page %}?page={{ paginator.num_pages }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_last.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png" 
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{ MEDIA_URL }}lfs/icons/resultset_next.png" 
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png" 
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{ MEDIA_URL }}lfs/icons/resultset_last.png" 
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png" 
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />                       
     {% endif %}

File lfs/templates/manage/product/related_products_inline.html

                     </td>
                     <td>
 						{% if product.is_active %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 						{% else %}
-							<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+							<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 						{% endif %}
                     </td>
                     <td>
                     </td>
 					<td class="right">
 						<a href="{% url lfs_product product.slug %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>
 						<a href="{% url lfs_manage_product product.id %}">
-	                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+	                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 	                             alt="Edit"
 	                             title="{% trans 'Edit product' %}" />
 						</a>
                         </td>
 						<td>
 							{% if product.is_active %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/tick.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/tick.png" />
 							{% else %}
-								<img src="{{ MEDIA_URL }}/lfs/icons/cross.png" />
+								<img src="{{ STATIC_URL }}lfs/icons/cross.png" />
 							{% endif %}							
 						</td>
                         <td>
                         </td>                                                
 						<td class="right">
 							<a href="{% url lfs_product related_product.slug %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>
 							<a href="{% url lfs_manage_product related_product.id %}">
-		                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png"
+		                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png"
 		                             alt="Edit"
 		                             title="{% trans 'Edit product' %}" />
 							</a>

File lfs/templates/manage/product/variants.html

         {% if not forloop.first %}
             <a href="{% url lfs.manage.views.change_property_position %}?product_id={{product.id}}&amp;property_id={{property.id}}&amp;direction=up"
                class="property-change-button">
-                <image src="{{MEDIA_URL}}lfs/icons/arrow_up.png" 
+                <image src="{{ STATIC_URL }}lfs/icons/arrow_up.png" 
                        alt="{% trans 'Up' %}" 
                        title="{% trans 'Up' %}"/>
         
         {% if not forloop.last %}
             <a href="{% url lfs.manage.views.change_property_position %}?product_id={{product.id}}&amp;property_id={{property.id}}&amp;direction=down"
                     class="property-change-button">
-                <image src="{{MEDIA_URL}}lfs/icons/arrow_down.png" 
+                <image src="{{ STATIC_URL }}lfs/icons/arrow_down.png" 
                        alt="{% trans 'Down' %}" 
                        title="{% trans 'Down' %}"/>
             </a>            
     
         <a href="{% url lfs.manage.views.delete_property product.id property.id %}"
            class="property-change-button">
-            <image src="{{MEDIA_URL}}lfs/icons/cross.png" 
+            <image src="{{ STATIC_URL }}lfs/icons/cross.png" 
                    alt="delete" 
                    title="{% trans 'Delete property' %}"/>            
         </a>
                     {{option.name}}
                     <a href="{% url lfs.manage.views.delete_property_option product.id option.id %}"
                        class="property-change-button">
-                        <image src="{{MEDIA_URL}}lfs/icons/cross.png" 
+                        <image src="{{ STATIC_URL }}lfs/icons/cross.png" 
                                alt="delete" 
                                title="{% trans 'Delete option' %}"/>
                     
                         </td>
                         <td>
                             <a href="{% url lfs_manage_product variant.id %}">
-                                <img src="{{MEDIA_URL}}lfs/icons/pencil.png" 
+                                <img src="{{ STATIC_URL }}lfs/icons/pencil.png" 
                                      alt="Edit"
                                      title="{% trans 'Edit variant' %}" />
                             </a>

File lfs/templates/manage/properties/options_inline.html

                     <a class="confirmation-link"
                        data="{% trans 'Delete?' %}"
                        href="{% url lfs_delete_shop_property_option option.id %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/cross.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/cross.png"
                              alt="{% trans 'Delete' %}"
                              title="{% trans 'Delete option' %}" />
                     </a>

File lfs/templates/manage/properties/pg_product_values.html

                 {% endfor %}
                 <td class="right-padding">
                     <a href="{% url lfs_manage_product product.id %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/pencil.png" 
+                        <img src="{{ STATIC_URL }}lfs/icons/pencil.png" 
                              alt="{% trans 'Edit' %}" />
                     </a>                    
                     <a href="{% url lfs_product_by_id product.id %}">
-                        <img src="{{ MEDIA_URL }}lfs/icons/zoom.png"
+                        <img src="{{ STATIC_URL }}lfs/icons/zoom.png"
                              alt="{% trans 'View' %}" />
                     </a>                    
                 </td>

File lfs/templates/manage/properties/pg_products_inline.html

                     </td>                        
                     <td class="number">
                         <a href="{% url lfs_manage_product product.id %}#properties">
-                            <img src="{{MEDIA_URL}}lfs/icons/pencil.png" 
+                            <img src="{{ STATIC_URL }}lfs/icons/pencil.png" 
                                  alt="{% trans 'Edit' %}"
                                  title="{% trans 'Edit Product' %}">
                         </a>

File lfs/templates/manage/properties/step_inline.html

                         <a class="confirmation-link"
                            data="{% trans 'Delete?' %}" 
                            href="{% url lfs_delete_shop_property_step step.id %}">
-                            <img src="{{MEDIA_URL}}lfs/icons/cross.png"
+                            <img src="{{ STATIC_URL }}lfs/icons/cross.png"
                                  alt="{% trans 'Delete' %}"
                                  title="{% trans 'Delete step' %}" />
                         </a>

File lfs/templates/manage/reviews/reviews_inline.html

 				    {% if page.has_previous %}
 				        <a class="ajax-link"
 				           href="{% url lfs_reviews_inline %}?page=1">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				                 alt="{% trans 'First' %}"
 				                 title="{% trans 'First' %}" />
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_reviews_inline %}?page={{ page.previous_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				                 alt="{% trans 'Previous' %}"
 				                 title="{% trans 'Previous' %}" />
 						</a>
 				    {% else %}
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
 				             alt="{% trans 'First' %}"
 				             title="{% trans 'First' %}" />
-				        <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+				        <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
 				             alt="{% trans 'Previous' %}"
 				             title="{% trans 'Previous' %}" />
 				    {% endif %}
 				    {% if page.has_next %}
 				        <a class="ajax-link"
 				           href="{% url lfs_reviews_inline %}?page={{ page.next_page_number }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />
 						</a>
 				        <a class="ajax-link"
 				           href="{% url lfs_reviews_inline %}?page={{ paginator.num_pages }}">
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />
 						</a>
 
 				    {% else %}
 				        <span>
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
 				                 alt="{% trans 'Next' %}"
 				                 title="{% trans 'Next' %}" />
 				        </span>
 				        <span>
-				            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+				            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
 				                 alt="{% trans 'Last' %}"
 				                 title="{% trans 'Last' %}" />
 				        </span>

File lfs/templates/manage/reviews/selectable_reviews_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_selectable_reviews_inline %}?page=1">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_reviews_inline %}?page={{page.previous_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </a>
     {% else %}
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_first.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png"
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_previous.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png"
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_selectable_reviews_inline %}?page={{page.next_page_number}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />
         </a>
         <a class="ajax-link"
            href="{% url lfs_selectable_reviews_inline %}?page={{paginator.num_pages}}">
-            <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_next.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png"
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{MEDIA_URL}}lfs/icons/resultset_last.png"
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png"
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />
     {% endif %}

File lfs/templates/manage/shipping/shipping_method_criteria.html

         <a class="criterion-add-first-button"
            href="{% url lfs_add_criterion %}">
             <img class="icon-padding" 
-                 src="{{MEDIA_URL}}/lfs/icons/add.png"
+                 src="{{ STATIC_URL }}/lfs/icons/add.png"
                  alt="{% trans 'Add' %}" />
             
             {% trans 'Add criterion' %}

File lfs/templates/manage/shipping/shipping_price_criteria.html

         <div class="top-buttons">            
             <a class="criterion-add-first-button"
                 href="{% url lfs_add_criterion %}">
-                <img src="{{MEDIA_URL}}/lfs/icons/add.png" 
+                <img src="{{ STATIC_URL }}/lfs/icons/add.png" 
                      class="icon-padding"
                      alt="{% trans 'Add criterion' %}" />
                 {% trans 'Add criterion' %}

File lfs/templates/manage/static_block/files.html

     var swfu;
 
     var settings = {
-        flash_url : "{{ MEDIA_URL }}lfs/swfupload/swfupload.swf",
+        flash_url : "{{ STATIC_URL }}lfs/swfupload/swfupload.swf",
         upload_url: "{% url lfs_add_files_to_static_block static_block.id %}",
         file_size_limit : "100 MB",
         file_types : "*.*",

File lfs/templates/manage/voucher/vouchers_inline.html

     {% if page.has_previous %}
         <a class="ajax-link"
            href="{% url lfs_set_vouchers_page %}?group={{ voucher_group.id }}&amp;page=1">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_first.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png" 
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />           
         </a>
         <a class="ajax-link"
            href="{% url lfs_set_vouchers_page %}?group={{ voucher_group.id }}&amp;page={{ page.previous_page_number }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_previous.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png" 
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />                                  
         </a>
     {% else %}
         <span>
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_first.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_first.png" 
                  alt="{% trans 'First' %}"
                  title="{% trans 'First' %}" />
         </span>
         <span>
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_previous.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_previous.png" 
                  alt="{% trans 'Previous' %}"
                  title="{% trans 'Previous' %}" />
         </span>
     {% if page.has_next %}
         <a class="ajax-link"
            href="{% url lfs_set_vouchers_page %}?group={{ voucher_group.id }}&amp;page={{ page.next_page_number }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_next.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png" 
                  alt="{% trans 'Next' %}"
                  title="{% trans 'Next' %}" />           
         </a>
         <a class="ajax-link"
            href="{% url lfs_set_vouchers_page %}?group={{ voucher_group.id }}&amp;page={{ paginator.num_pages }}">
-            <img src="{{ MEDIA_URL }}lfs/icons/resultset_last.png" 
+            <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png" 
                  alt="{% trans 'Last' %}"
                  title="{% trans 'Last' %}" />
         </a>
     {% else %}
-        <img src="{{ MEDIA_URL }}lfs/icons/resultset_next.png" 
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_next.png" 
              alt="{% trans 'Next' %}"
              title="{% trans 'Next' %}" />
-        <img src="{{ MEDIA_URL }}lfs/icons/resultset_last.png" 
+        <img src="{{ STATIC_URL }}lfs/icons/resultset_last.png" 
              alt="{% trans 'Last' %}"
              title="{% trans 'Last' %}" />                       
     {% endif %}