diff options
Diffstat (limited to 'forum/skins/default/templates/404.html')
-rw-r--r-- | forum/skins/default/templates/404.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/forum/skins/default/templates/404.html b/forum/skins/default/templates/404.html new file mode 100644 index 00000000..227de3ae --- /dev/null +++ b/forum/skins/default/templates/404.html @@ -0,0 +1,49 @@ +{% extends "base_content.html" %} +<!-- template 404.html --> +{% load i18n %} +{% block title %}{% spaceless %}404 Error{% endspaceless %}{% endblock %} +{% block forestyle%} + <style type="text/css"> + form input { margin-right: 5px; } + </style> +{% endblock %} +{% block forejs %} + <script type="text/javascript"> + $().ready(function(){ + $("#linkPrevious").bind("click", back=function(){history.go(-1);}) + }); + + </script> +{% endblock %} +{% block content %} +<div id="main-bar" class="headNormal"> + 404 Not Found +</div> +<div id="main-body" class=""> + <div style="padding:5px 0px 10px 0;line-height:25px;"> + <h3>{% trans "Sorry, could not find the page you requested." %}</h3> + <div style="margin-top:5px"> + {% trans "This might have happened for the following reasons:" %}<br/> + <ul> + <li>{% trans "this question or answer has been deleted;" %}</li> + <li>{% trans "url has error - please check it;" %}</li> + <li>{% trans "the page you tried to visit is protected or you don't have sufficient points, see" %} <a href="{% url faq %}"> faq</a>;</li> + <li>{% trans "if you believe this error 404 should not have occured, please" %} + <a href="{{feedback_site_url}}" target="_blank">{% trans "report this problem" %}</a></li> + </u> + </div> + <script type="text/javascript"> + var GOOG_FIXURL_LANG = '{{settings.LANGUAGE_CODE}}'; + var GOOG_FIXURL_SITE = '{{site_url}}'; + </script> + <script type="text/javascript" src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> + <ul> + <li><a href="#" id="linkPrevious">{% trans "back to previous page" %} »</li> + <li><a href="{% url questions %}">{% trans "see all questions" %} »</a></li> + <li><a href="{% url tags %}">{% trans "see all tags" %} »</a></li> + </u> + </div> + +</div> +{% endblock %} +<!-- end template 404.html --> |