From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- templates/404.html | 49 - templates/500.html | 35 - templates/about.html | 36 - templates/answer_edit.html | 85 - templates/answer_edit_tips.html | 55 - templates/ask.html | 134 - templates/authopenid/changeemail.html | 88 - templates/authopenid/changeopenid.html | 35 - templates/authopenid/changepw.html | 18 - templates/authopenid/complete.html | 130 - templates/authopenid/confirm_email.txt | 13 - templates/authopenid/delete.html | 39 - templates/authopenid/email_validation.txt | 15 - .../authopenid/external_legacy_login_info.html | 15 - templates/authopenid/failure.html | 14 - templates/authopenid/sendpw.html | 26 - templates/authopenid/sendpw_email.txt | 9 - templates/authopenid/settings.html | 43 - templates/authopenid/signin.html | 186 - templates/authopenid/signup.html | 32 - templates/authopenid/yadis.xrdf | 14 - templates/badge.html | 37 - templates/badges.html | 76 - templates/base.html | 95 - templates/base_content.html | 93 - templates/book.html | 152 - templates/close.html | 36 - templates/content/images/blue-up-arrow-h18px.png | Bin 593 -> 0 bytes templates/content/images/box-arrow.gif | Bin 69 -> 0 bytes templates/content/images/bullet_green.gif | Bin 64 -> 0 bytes templates/content/images/cc-88x31.png | Bin 5460 -> 0 bytes templates/content/images/cc-wiki.png | Bin 2333 -> 0 bytes templates/content/images/close-small-dark.png | Bin 226 -> 0 bytes templates/content/images/close-small-hover.png | Bin 337 -> 0 bytes templates/content/images/close-small.png | Bin 293 -> 0 bytes templates/content/images/dash.gif | Bin 44 -> 0 bytes templates/content/images/djangomade124x25_grey.gif | Bin 2035 -> 0 bytes templates/content/images/dot-g.gif | Bin 61 -> 0 bytes templates/content/images/dot-list.gif | Bin 56 -> 0 bytes templates/content/images/edit.png | Bin 758 -> 0 bytes templates/content/images/expander-arrow-hide.gif | Bin 126 -> 0 bytes templates/content/images/expander-arrow-show.gif | Bin 135 -> 0 bytes templates/content/images/favicon.gif | Bin 3918 -> 0 bytes templates/content/images/feed-icon-small.png | Bin 689 -> 0 bytes templates/content/images/gray-up-arrow-h18px.png | Bin 383 -> 0 bytes templates/content/images/grippie.png | Bin 162 -> 0 bytes templates/content/images/indicator.gif | Bin 2545 -> 0 bytes templates/content/images/logo.gif | Bin 2114 -> 0 bytes templates/content/images/logo.png | Bin 2081 -> 0 bytes templates/content/images/logo1.png | Bin 2752 -> 0 bytes templates/content/images/logo2.png | Bin 2124 -> 0 bytes templates/content/images/medala.gif | Bin 801 -> 0 bytes templates/content/images/medala_on.gif | Bin 957 -> 0 bytes templates/content/images/new.gif | Bin 635 -> 0 bytes templates/content/images/nophoto.png | Bin 696 -> 0 bytes templates/content/images/openid.gif | Bin 910 -> 0 bytes templates/content/images/openid/aol.gif | Bin 2205 -> 0 bytes templates/content/images/openid/blogger.ico | Bin 3638 -> 0 bytes templates/content/images/openid/claimid.ico | Bin 3638 -> 0 bytes templates/content/images/openid/facebook.gif | Bin 2075 -> 0 bytes templates/content/images/openid/flickr.ico | Bin 1150 -> 0 bytes templates/content/images/openid/google.gif | Bin 1596 -> 0 bytes templates/content/images/openid/livejournal.ico | Bin 5222 -> 0 bytes templates/content/images/openid/myopenid.ico | Bin 2862 -> 0 bytes .../content/images/openid/openid-inputicon.gif | Bin 237 -> 0 bytes templates/content/images/openid/openid.gif | Bin 740 -> 0 bytes templates/content/images/openid/technorati.ico | Bin 2294 -> 0 bytes templates/content/images/openid/verisign.ico | Bin 4710 -> 0 bytes templates/content/images/openid/vidoop.ico | Bin 1406 -> 0 bytes templates/content/images/openid/wordpress.ico | Bin 1150 -> 0 bytes templates/content/images/openid/yahoo.gif | Bin 1682 -> 0 bytes templates/content/images/quest-bg.gif | Bin 294 -> 0 bytes templates/content/images/vote-accepted-on.png | Bin 1124 -> 0 bytes templates/content/images/vote-accepted.png | Bin 1058 -> 0 bytes templates/content/images/vote-arrow-down-on.png | Bin 905 -> 0 bytes templates/content/images/vote-arrow-down.png | Bin 876 -> 0 bytes templates/content/images/vote-arrow-up-on.png | Bin 906 -> 0 bytes templates/content/images/vote-arrow-up.png | Bin 843 -> 0 bytes templates/content/images/vote-favorite-off.png | Bin 930 -> 0 bytes templates/content/images/vote-favorite-on.png | Bin 1023 -> 0 bytes templates/content/jquery-openid/images/aol.gif | Bin 2205 -> 0 bytes .../content/jquery-openid/images/blogger-1.png | Bin 432 -> 0 bytes templates/content/jquery-openid/images/blogger.ico | Bin 3638 -> 0 bytes .../content/jquery-openid/images/claimid-0.png | Bin 629 -> 0 bytes templates/content/jquery-openid/images/claimid.ico | Bin 3638 -> 0 bytes .../content/jquery-openid/images/facebook.gif | Bin 2075 -> 0 bytes templates/content/jquery-openid/images/flickr.ico | Bin 1150 -> 0 bytes templates/content/jquery-openid/images/flickr.png | Bin 426 -> 0 bytes templates/content/jquery-openid/images/google.gif | Bin 1596 -> 0 bytes .../content/jquery-openid/images/livejournal-1.png | Bin 713 -> 0 bytes .../content/jquery-openid/images/livejournal.ico | Bin 5222 -> 0 bytes .../content/jquery-openid/images/myopenid-2.png | Bin 511 -> 0 bytes .../content/jquery-openid/images/myopenid.ico | Bin 2862 -> 0 bytes .../jquery-openid/images/openid-inputicon.gif | Bin 237 -> 0 bytes templates/content/jquery-openid/images/openid.gif | Bin 740 -> 0 bytes .../content/jquery-openid/images/openidico.png | Bin 654 -> 0 bytes .../content/jquery-openid/images/openidico16.png | Bin 554 -> 0 bytes .../content/jquery-openid/images/technorati-1.png | Bin 606 -> 0 bytes .../content/jquery-openid/images/technorati.ico | Bin 2294 -> 0 bytes .../content/jquery-openid/images/verisign-2.png | Bin 859 -> 0 bytes .../content/jquery-openid/images/verisign.ico | Bin 4710 -> 0 bytes templates/content/jquery-openid/images/vidoop.ico | Bin 1406 -> 0 bytes templates/content/jquery-openid/images/vidoop.png | Bin 499 -> 0 bytes .../content/jquery-openid/images/wordpress.ico | Bin 1150 -> 0 bytes .../content/jquery-openid/images/wordpress.png | Bin 566 -> 0 bytes templates/content/jquery-openid/images/yahoo.gif | Bin 1682 -> 0 bytes templates/content/jquery-openid/jquery.openid.js | 111 - templates/content/jquery-openid/openid.css | 75 - templates/content/js/com.cnprog.admin.js | 13 - templates/content/js/com.cnprog.editor.js | 68 - templates/content/js/com.cnprog.i18n.js | 159 - templates/content/js/com.cnprog.post.js | 691 ---- templates/content/js/com.cnprog.tag_selector.js | 171 - templates/content/js/com.cnprog.utils.js | 128 - templates/content/js/compress.bat | 5 - templates/content/js/excanvas.pack.js | 1 - templates/content/js/flot-build.bat | 3 - templates/content/js/jquery-1.2.6.js | 3549 -------------------- templates/content/js/jquery-1.2.6.min.js | 32 - templates/content/js/jquery.ajaxfileupload.js | 195 -- templates/content/js/jquery.flot.js | 2421 ------------- templates/content/js/jquery.flot.pack.js | 1 - templates/content/js/jquery.form.js | 654 ---- templates/content/js/jquery.i18n.js | 133 - templates/content/js/jquery.openid.js | 176 - templates/content/js/jquery.validate.pack.js | 15 - templates/content/js/se_hilite.js | 1 - templates/content/js/se_hilite_src.js | 273 -- templates/content/js/wmd/images/wmd-buttons.png | Bin 7465 -> 0 bytes templates/content/js/wmd/showdown-min.js | 1 - templates/content/js/wmd/showdown.js | 1309 -------- templates/content/js/wmd/wmd-min.js | 1 - templates/content/js/wmd/wmd-test.html | 158 - templates/content/js/wmd/wmd.css | 129 - templates/content/js/wmd/wmd.js | 2388 ------------- templates/content/js/yuicompressor-2.4.2.jar | Bin 851219 -> 0 bytes templates/content/style/default.css | 1754 ---------- templates/content/style/jquery.autocomplete.css | 49 - templates/content/style/openid.css | 45 - templates/content/style/prettify.css | 27 - templates/content/style/style.css | 1469 -------- templates/edit_user_email_feeds_form.html | 4 - templates/faq.html | 144 - templates/fbconnect/xd_receiver.html | 10 - templates/feedback.html | 55 - templates/feedback_email.txt | 19 - templates/feeds/rss_description.html | 1 - templates/feeds/rss_title.html | 1 - templates/footer.html | 48 - templates/header.html | 65 - templates/index.html | 164 - templates/logout.html | 23 - templates/notarobot.html | 15 - templates/pagesize.html | 27 - templates/paginator.html | 38 - templates/post_contributor_info.html | 55 - templates/privacy.html | 42 - templates/question.html | 510 --- templates/question_edit.html | 131 - templates/question_edit_tips.html | 53 - templates/question_retag.html | 106 - templates/question_summary_list_roll.html | 55 - templates/questions.html | 235 -- templates/reopen.html | 37 - templates/revisions_answer.html | 83 - templates/revisions_question.html | 83 - templates/tag_selector.html | 42 - templates/tags.html | 67 - templates/user.html | 39 - templates/user_edit.html | 95 - templates/user_email_subscriptions.html | 26 - templates/user_favorites.html | 8 - templates/user_footer.html | 4 - templates/user_info.html | 112 - templates/user_recent.html | 26 - templates/user_reputation.html | 42 - templates/user_responses.html | 23 - templates/user_stats.html | 138 - templates/user_tabs.html | 32 - templates/user_votes.html | 32 - templates/users.html | 73 - templates/users_questions.html | 66 - 182 files changed, 20594 deletions(-) delete mode 100644 templates/404.html delete mode 100644 templates/500.html delete mode 100644 templates/about.html delete mode 100644 templates/answer_edit.html delete mode 100644 templates/answer_edit_tips.html delete mode 100644 templates/ask.html delete mode 100644 templates/authopenid/changeemail.html delete mode 100644 templates/authopenid/changeopenid.html delete mode 100644 templates/authopenid/changepw.html delete mode 100644 templates/authopenid/complete.html delete mode 100644 templates/authopenid/confirm_email.txt delete mode 100644 templates/authopenid/delete.html delete mode 100644 templates/authopenid/email_validation.txt delete mode 100644 templates/authopenid/external_legacy_login_info.html delete mode 100644 templates/authopenid/failure.html delete mode 100644 templates/authopenid/sendpw.html delete mode 100644 templates/authopenid/sendpw_email.txt delete mode 100644 templates/authopenid/settings.html delete mode 100755 templates/authopenid/signin.html delete mode 100644 templates/authopenid/signup.html delete mode 100644 templates/authopenid/yadis.xrdf delete mode 100644 templates/badge.html delete mode 100644 templates/badges.html delete mode 100755 templates/base.html delete mode 100644 templates/base_content.html delete mode 100644 templates/book.html delete mode 100644 templates/close.html delete mode 100644 templates/content/images/blue-up-arrow-h18px.png delete mode 100644 templates/content/images/box-arrow.gif delete mode 100644 templates/content/images/bullet_green.gif delete mode 100644 templates/content/images/cc-88x31.png delete mode 100644 templates/content/images/cc-wiki.png delete mode 100644 templates/content/images/close-small-dark.png delete mode 100644 templates/content/images/close-small-hover.png delete mode 100644 templates/content/images/close-small.png delete mode 100644 templates/content/images/dash.gif delete mode 100644 templates/content/images/djangomade124x25_grey.gif delete mode 100644 templates/content/images/dot-g.gif delete mode 100644 templates/content/images/dot-list.gif delete mode 100644 templates/content/images/edit.png delete mode 100644 templates/content/images/expander-arrow-hide.gif delete mode 100644 templates/content/images/expander-arrow-show.gif delete mode 100644 templates/content/images/favicon.gif delete mode 100644 templates/content/images/feed-icon-small.png delete mode 100644 templates/content/images/gray-up-arrow-h18px.png delete mode 100644 templates/content/images/grippie.png delete mode 100644 templates/content/images/indicator.gif delete mode 100644 templates/content/images/logo.gif delete mode 100644 templates/content/images/logo.png delete mode 100644 templates/content/images/logo1.png delete mode 100644 templates/content/images/logo2.png delete mode 100644 templates/content/images/medala.gif delete mode 100644 templates/content/images/medala_on.gif delete mode 100644 templates/content/images/new.gif delete mode 100644 templates/content/images/nophoto.png delete mode 100644 templates/content/images/openid.gif delete mode 100644 templates/content/images/openid/aol.gif delete mode 100644 templates/content/images/openid/blogger.ico delete mode 100644 templates/content/images/openid/claimid.ico delete mode 100644 templates/content/images/openid/facebook.gif delete mode 100644 templates/content/images/openid/flickr.ico delete mode 100644 templates/content/images/openid/google.gif delete mode 100644 templates/content/images/openid/livejournal.ico delete mode 100644 templates/content/images/openid/myopenid.ico delete mode 100644 templates/content/images/openid/openid-inputicon.gif delete mode 100644 templates/content/images/openid/openid.gif delete mode 100644 templates/content/images/openid/technorati.ico delete mode 100644 templates/content/images/openid/verisign.ico delete mode 100644 templates/content/images/openid/vidoop.ico delete mode 100644 templates/content/images/openid/wordpress.ico delete mode 100644 templates/content/images/openid/yahoo.gif delete mode 100644 templates/content/images/quest-bg.gif delete mode 100644 templates/content/images/vote-accepted-on.png delete mode 100644 templates/content/images/vote-accepted.png delete mode 100644 templates/content/images/vote-arrow-down-on.png delete mode 100644 templates/content/images/vote-arrow-down.png delete mode 100644 templates/content/images/vote-arrow-up-on.png delete mode 100644 templates/content/images/vote-arrow-up.png delete mode 100644 templates/content/images/vote-favorite-off.png delete mode 100644 templates/content/images/vote-favorite-on.png delete mode 100644 templates/content/jquery-openid/images/aol.gif delete mode 100644 templates/content/jquery-openid/images/blogger-1.png delete mode 100644 templates/content/jquery-openid/images/blogger.ico delete mode 100644 templates/content/jquery-openid/images/claimid-0.png delete mode 100644 templates/content/jquery-openid/images/claimid.ico delete mode 100644 templates/content/jquery-openid/images/facebook.gif delete mode 100644 templates/content/jquery-openid/images/flickr.ico delete mode 100644 templates/content/jquery-openid/images/flickr.png delete mode 100644 templates/content/jquery-openid/images/google.gif delete mode 100644 templates/content/jquery-openid/images/livejournal-1.png delete mode 100644 templates/content/jquery-openid/images/livejournal.ico delete mode 100644 templates/content/jquery-openid/images/myopenid-2.png delete mode 100644 templates/content/jquery-openid/images/myopenid.ico delete mode 100644 templates/content/jquery-openid/images/openid-inputicon.gif delete mode 100644 templates/content/jquery-openid/images/openid.gif delete mode 100644 templates/content/jquery-openid/images/openidico.png delete mode 100644 templates/content/jquery-openid/images/openidico16.png delete mode 100644 templates/content/jquery-openid/images/technorati-1.png delete mode 100644 templates/content/jquery-openid/images/technorati.ico delete mode 100644 templates/content/jquery-openid/images/verisign-2.png delete mode 100644 templates/content/jquery-openid/images/verisign.ico delete mode 100644 templates/content/jquery-openid/images/vidoop.ico delete mode 100644 templates/content/jquery-openid/images/vidoop.png delete mode 100644 templates/content/jquery-openid/images/wordpress.ico delete mode 100644 templates/content/jquery-openid/images/wordpress.png delete mode 100644 templates/content/jquery-openid/images/yahoo.gif delete mode 100644 templates/content/jquery-openid/jquery.openid.js delete mode 100644 templates/content/jquery-openid/openid.css delete mode 100644 templates/content/js/com.cnprog.admin.js delete mode 100644 templates/content/js/com.cnprog.editor.js delete mode 100644 templates/content/js/com.cnprog.i18n.js delete mode 100644 templates/content/js/com.cnprog.post.js delete mode 100644 templates/content/js/com.cnprog.tag_selector.js delete mode 100644 templates/content/js/com.cnprog.utils.js delete mode 100644 templates/content/js/compress.bat delete mode 100644 templates/content/js/excanvas.pack.js delete mode 100644 templates/content/js/flot-build.bat delete mode 100644 templates/content/js/jquery-1.2.6.js delete mode 100644 templates/content/js/jquery-1.2.6.min.js delete mode 100644 templates/content/js/jquery.ajaxfileupload.js delete mode 100644 templates/content/js/jquery.flot.js delete mode 100644 templates/content/js/jquery.flot.pack.js delete mode 100644 templates/content/js/jquery.form.js delete mode 100644 templates/content/js/jquery.i18n.js delete mode 100644 templates/content/js/jquery.openid.js delete mode 100644 templates/content/js/jquery.validate.pack.js delete mode 100644 templates/content/js/se_hilite.js delete mode 100644 templates/content/js/se_hilite_src.js delete mode 100644 templates/content/js/wmd/images/wmd-buttons.png delete mode 100644 templates/content/js/wmd/showdown-min.js delete mode 100644 templates/content/js/wmd/showdown.js delete mode 100644 templates/content/js/wmd/wmd-min.js delete mode 100644 templates/content/js/wmd/wmd-test.html delete mode 100644 templates/content/js/wmd/wmd.css delete mode 100644 templates/content/js/wmd/wmd.js delete mode 100644 templates/content/js/yuicompressor-2.4.2.jar delete mode 100644 templates/content/style/default.css delete mode 100644 templates/content/style/jquery.autocomplete.css delete mode 100644 templates/content/style/openid.css delete mode 100644 templates/content/style/prettify.css delete mode 100644 templates/content/style/style.css delete mode 100644 templates/edit_user_email_feeds_form.html delete mode 100644 templates/faq.html delete mode 100755 templates/fbconnect/xd_receiver.html delete mode 100644 templates/feedback.html delete mode 100644 templates/feedback_email.txt delete mode 100644 templates/feeds/rss_description.html delete mode 100644 templates/feeds/rss_title.html delete mode 100644 templates/footer.html delete mode 100644 templates/header.html delete mode 100644 templates/index.html delete mode 100644 templates/logout.html delete mode 100644 templates/notarobot.html delete mode 100644 templates/pagesize.html delete mode 100644 templates/paginator.html delete mode 100644 templates/post_contributor_info.html delete mode 100644 templates/privacy.html delete mode 100644 templates/question.html delete mode 100644 templates/question_edit.html delete mode 100644 templates/question_edit_tips.html delete mode 100644 templates/question_retag.html delete mode 100644 templates/question_summary_list_roll.html delete mode 100644 templates/questions.html delete mode 100644 templates/reopen.html delete mode 100644 templates/revisions_answer.html delete mode 100644 templates/revisions_question.html delete mode 100644 templates/tag_selector.html delete mode 100644 templates/tags.html delete mode 100644 templates/user.html delete mode 100644 templates/user_edit.html delete mode 100644 templates/user_email_subscriptions.html delete mode 100644 templates/user_favorites.html delete mode 100644 templates/user_footer.html delete mode 100644 templates/user_info.html delete mode 100644 templates/user_recent.html delete mode 100644 templates/user_reputation.html delete mode 100644 templates/user_responses.html delete mode 100644 templates/user_stats.html delete mode 100644 templates/user_tabs.html delete mode 100644 templates/user_votes.html delete mode 100644 templates/users.html delete mode 100644 templates/users_questions.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html deleted file mode 100644 index 227de3ae..00000000 --- a/templates/404.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}404 Error{% endspaceless %}{% endblock %} -{% block forestyle%} - -{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
- 404 Not Found -
-
-
-

{% trans "Sorry, could not find the page you requested." %}

-
- {% trans "This might have happened for the following reasons:" %}
-
    -
  • {% trans "this question or answer has been deleted;" %}
  • -
  • {% trans "url has error - please check it;" %}
  • -
  • {% trans "the page you tried to visit is protected or you don't have sufficient points, see" %} faq;
  • -
  • {% trans "if you believe this error 404 should not have occured, please" %} - {% trans "report this problem" %}
  • - -
- - -
- -
-{% endblock %} - diff --git a/templates/500.html b/templates/500.html deleted file mode 100644 index 51e73178..00000000 --- a/templates/500.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}500 Error{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
-

- 500 Server Error -

- -
-
-
-

{% trans "sorry, system error" %}

-
- {% trans "system error log is recorded, error will be fixed as soon as possible" %}
- {% trans "please report the error to the site administrators if you wish" %} -
- -
-{% endblock %} - diff --git a/templates/about.html b/templates/about.html deleted file mode 100644 index 66dcc3fd..00000000 --- a/templates/about.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% load extra_tags %} -{% load humanize %} -{% block title %}{% spaceless %}{% trans "About" %}{% endspaceless %}{% endblock %} -{% block forejs %} -{% endblock %} -{% block content %} -
-{% trans "About" %} -
- -
-

Please customize file templates/about.html

- -

Here you can ask and answer questions, comment - and vote for the questions of others and their answers. Both questions and answers - can be revised and improved. Questions can be tagged with - the relevant keywords to simplify future access and organize the accumulated material. -

- -

This Q&A site is moderated by its members, hopefully - including yourself! - Moderation rights are gradually assigned to the site users based on the accumulated "reputation" - points. These points are added to the users account when others vote for his/her questions or answers. - These points (very) roughly reflect the level of trust of the community. -

-

No points are necessary to ask or answer the questions - so please - - join us! -

-

- If you would like to find out more about this site - please see frequently asked questions. -

-
-{% endblock %} - diff --git a/templates/answer_edit.html b/templates/answer_edit.html deleted file mode 100644 index cd247a3c..00000000 --- a/templates/answer_edit.html +++ /dev/null @@ -1,85 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% load extra_tags %} -{% block title %}{% spaceless %}{% trans "Edit answer" %}{% endspaceless %}{% endblock %} -{% block forejs %} - - - - - - - -{% endblock %} - -{% block content %} -
- {% trans "Edit answer" %} [{% trans "back" %}] -
-
-
-
-
- {% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %} -
- {{ revision_form.revision }} -
-
-
- {{ form.text }} - -
{% trans "toggle preview" %}
-
-
- - {{ form.summary.label_tag }}
- {{ form.summary }} {{ form.summary.errors }} -
- {{ form.summary.help_text }} -
- - -
-
-
-{% endblock %} - -{% block sidebar %} -{% include "answer_edit_tips.html" %} -{% endblock %} - -{% block endjs %} -{% endblock %} - diff --git a/templates/answer_edit_tips.html b/templates/answer_edit_tips.html deleted file mode 100644 index c390da06..00000000 --- a/templates/answer_edit_tips.html +++ /dev/null @@ -1,55 +0,0 @@ - -{% load i18n %} -
-

{% trans "answer tips" %}

-
-
    -
  • {% trans "please make your answer relevant to this community" %} -
  • -
  • - {% trans "try to give an answer, rather than engage into a discussion" %} -
  • -
  • - {% trans "please try to provide details" %} -
  • -
  • - {% trans "be clear and concise" %} -
  • -
- -
-
- -
-

{% trans "Markdown tips" %}

- - -
- diff --git a/templates/ask.html b/templates/ask.html deleted file mode 100644 index 30d43ee0..00000000 --- a/templates/ask.html +++ /dev/null @@ -1,134 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% load extra_tags %} -{% block title %}{% spaceless %}{% trans "Ask a question" %}{% endspaceless %}{% endblock %} -{% block forejs %} - - - - - - - -{% endblock %} - -{% block content %} -
- {% trans "Ask a question" %} -
-
-
-
- {% if not request.user.is_authenticated %} -
-

{% trans "login to post question info" %}

-
- {% else %} - {% ifequal settings.EMAIL_VALIDATION 'on' %} - {% if not request.user.email_isvalid %} -
- {% blocktrans with request.user.email as email %}must have valid {{email}} to post, - see {{email_validation_faq_url}} - {% endblocktrans %} -
- {% endif %} - {% endifequal %} - {% endif %} -
-
- {{ form.title }} {{ form.title.errors }} -
- {{ form.title.help_text }} -
-
- -
-
- {{ form.text }} - -
- - - - {% if settings.WIKI_ON %} - - {% endif %} - - -
- {% trans "toggle preview" %} - - {{ form.wiki }} {{ form.wiki.label_tag }} -
-
-
- -
-
- {{ form.tags.label_tag }}: {% trans "(required)" %}
- {{ form.tags }} {{ form.tags.errors }} -
-

- {{ form.tags.help_text }} -

- {% if not request.user.is_authenticated %} - - {% else %} - - {% endif %} -
-
-
-{% endblock %} - -{% block sidebar %} -{% include "question_edit_tips.html" %} -{% endblock %} - -{% block endjs %} -{% endblock %} - diff --git a/templates/authopenid/changeemail.html b/templates/authopenid/changeemail.html deleted file mode 100644 index 94d1881c..00000000 --- a/templates/authopenid/changeemail.html +++ /dev/null @@ -1,88 +0,0 @@ -{% extends "base_content.html" %} -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Change email" %}{% endspaceless %}{% endblock %} -{% block content %} - -{% ifequal action_type "change" %} -
- {% if user.email %} - {% trans "Change email" %} - {% else %} - {% trans "Save your email address" %} - {% endif %} -
-

- {% if user.email %} - {% blocktrans %}change {{email}} info{% endblocktrans %} - {% else %} - {% blocktrans %}here is why email is required, see {{gravatar_faq_url}}{% endblocktrans %} - {% endif %} -

- {% if msg %} -

{{ msg }}

- {% endif %} - -
-
- {% if next %} - - {% endif %} -
- - {% if form.email.errors %} -

{{form.email.errors|join:", "}}

- {% endif %} - {{ form.email }} -
-
- - {% if user.email %} - - {% endif %} -
- -
-
-{% endifequal %} -{% ifequal action_type "validate" %} -
- {% trans "Validate email" %} -
-

- {% blocktrans %}validate {{email}} info or go to {{change_email_url}}{% endblocktrans %} -

-{% endifequal %} -{% ifequal action_type "keep" %} -
- {% trans "Email not changed" %} -
-

- {% blocktrans %}old {{email}} kept, if you like go to {{change_email_url}}{% endblocktrans %} -

-{% endifequal %} -{% ifequal action_type "done_novalidate" %} -
- {% trans "Email changed" %} -
-

- {% blocktrans %}your current {{email}} can be used for this{% endblocktrans %} -

-{% endifequal %} -{% ifequal action_type "validation_complete" %} -
- {% trans "Email verified" %} -
-

- {% trans "thanks for verifying email" %} -

-{% endifequal %} -{% ifequal action_type "key_not_sent" %} -
- {% trans "email key not sent" %} -
-

- {% blocktrans %}email key not sent {{email}} change email here {{change_link}}{% endblocktrans %} -

-{% endifequal %} -{% endblock %} - diff --git a/templates/authopenid/changeopenid.html b/templates/authopenid/changeopenid.html deleted file mode 100644 index d01788fb..00000000 --- a/templates/authopenid/changeopenid.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Change OpenID" %}{% endspaceless %}{% endblock %} -{% block content %} -
-

- {% trans "Account: change OpenID URL" %} -

-
- -

{% blocktrans %}This is where you can change your OpenID URL. Make sure you remember it!{% endblocktrans %}

-{% if form.errors %} -

{% trans "Please correct errors below:" %}
- {% if form.openid_url.errors %} - {{ form.openid_url.errors|join:", " }} - {% endif %} - - -

-{% endif %} -{% if msg %} -

{{ msg }}

-{% endif %} - -
-
- -
{{ form.openid_url }}
-

- -
-
-{% endblock %} - diff --git a/templates/authopenid/changepw.html b/templates/authopenid/changepw.html deleted file mode 100644 index 8b059544..00000000 --- a/templates/authopenid/changepw.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% block head %}{% endblock %} -{% block title %}{% spaceless %}{% trans "Change password" %}{% endspaceless %}{% endblock %} -{% block content %} -
{% trans "Account: change password" %}
-

{% blocktrans %}This is where you can change your password. Make sure you remember it!{% endblocktrans %}

-
-
-
    - {{form.as_ul}} -
-
-
-
-{% endblock %} - diff --git a/templates/authopenid/complete.html b/templates/authopenid/complete.html deleted file mode 100644 index 62970e38..00000000 --- a/templates/authopenid/complete.html +++ /dev/null @@ -1,130 +0,0 @@ -{% extends "base_content.html" %} - -{% comment %} -views calling this template: -* django_authopenid.views.register with login_type='openid' -* django_authopenid.views.signin - with login_type='legacy' - -parameters: -* provider -* login_type openid|legacy -* username (same as screen name or username in the models, and nickname in openid sreg) -* form1 - OpenidRegisterForm -* form2 - OpenidVerifyForm not clear what this form is supposed to do, not used for legacy -* email_feeds_form forum.forms.SimpleEmailSubscribeForm -* openid_username_exists -{% endcomment %} -{% load i18n %} -{% block head %}{% endblock %} -{% block title %}{% spaceless %}{% trans "Connect your OpenID with this site" %}{% endspaceless %}{% endblock %} -{% block content %} -
- {% trans "Connect your OpenID with your account on this site" %} -
-
-
- {% ifequal login_type 'openid' %} - {% blocktrans %}register new {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %} - {% else %} - {% ifequal login_type 'legacy' %} - {% if external_login_name_is_taken %} - {% blocktrans %}{{username}} already exists, choose another name for - {{provider}}. Email is required too, see {{gravatar_faq_url}} - {% endblocktrans %} - {% else %} - {% blocktrans %}register new external {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %} - {% endif %} - {% else %} - {% blocktrans %}register new Facebook connect account info, see {{gravatar_faq_url}}{% endblocktrans %} - {% endifequal %} - {% endifequal %} -
-

{% trans "This account already exists, please use another." %}

-
- - {% if form1.errors %} - - {% endif %} - {% comment %} - {% if form2.errors %} -
- {% trans "Sorry, looks like we have some errors:" %}
- -
- {% endif %} - {% endcomment %} - -
- {% ifequal login_type 'openid' %} -
- {% else %} - {% ifequal login_type 'facebook' %} - - {% else %} - - {% endifequal %} - {% endifequal %} - {{ form1.next }} -
- - {% if form1.username.errors %} -

{{ form1.username.errors|join:", " }}

- {% endif %} - {{ form1.username }} -
-
- - {% if form1.email.errors %} -

{{ form1.email.errors|join:", " }}

- {% endif %} - {{ form1.email }} -
-

{% trans "receive updates motivational blurb" %}

-
- {{email_feeds_form.subscribe}} - {% if email_feeds_form.errors %} -

{% trans "please select one of the options above" %}

- {% endif %} -
-

{% trans "Tag filter tool will be your right panel, once you log in." %}

-
-
-
- {% comment %} - {% if form2 %} - - {% endif %} - {% endcomment %} -{% endblock %} - diff --git a/templates/authopenid/confirm_email.txt b/templates/authopenid/confirm_email.txt deleted file mode 100644 index 3a01f146..00000000 --- a/templates/authopenid/confirm_email.txt +++ /dev/null @@ -1,13 +0,0 @@ -{% load i18n %} -{% trans "Thank you for registering at our Q&A forum!" %} - -{% trans "Your account details are:" %} - -{% trans "Username:" %} {{ username }} -{% trans "Password:" %} {{ password }} - -{% trans "Please sign in here:" %} -{{signup_url}} - -{% blocktrans %}Sincerely, -Forum Administrator{% endblocktrans %} diff --git a/templates/authopenid/delete.html b/templates/authopenid/delete.html deleted file mode 100644 index 0f9f1c60..00000000 --- a/templates/authopenid/delete.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Delete account" %}{% endspaceless %}{% endblock %} -{% block content %} -
-

- {% trans "Account: delete account" %} -

-
- -

{% blocktrans %}Note: After deleting your account, anyone will be able to register this username.{% endblocktrans %}

-{% if form.errors %} -

{% trans "Please correct errors below:" %}
- {% if form.confirm.errors %} - {% trans "Check confirm box, if you want delete your account." %}
- {% endif %} - {% if form.password.errors %} - {% trans "Password:" %} {{ form.password.errors|join:", " }} - {% endif %} -

-{% endif %} -{% if msg %} -

{% trans "Please correct errors below:" %}
- {{ msg }} -

-{% endif %} -
-
- -
{{ form.confirm }} {% trans "I am sure I want to delete my account." %}
-
{{ form.password }} {% trans "(required for your security)" %}
- -

- -
-
-{% endblock %} - diff --git a/templates/authopenid/email_validation.txt b/templates/authopenid/email_validation.txt deleted file mode 100644 index 5b166a9b..00000000 --- a/templates/authopenid/email_validation.txt +++ /dev/null @@ -1,15 +0,0 @@ -{% load i18n %} -{% trans "Greetings from the Q&A forum" %}, - -{% trans "To make use of the Forum, please follow the link below:" %} - -{{validation_link}} - -{% trans "Following the link above will help us verify your email address." %} - -{% blocktrans %}If you beleive that this message was sent in mistake - -no further action is needed. Just ingore this email, we apologize -for any inconvenience{% endblocktrans %} - -{% blocktrans %}Sincerely, -Forum Administrator{% endblocktrans %} diff --git a/templates/authopenid/external_legacy_login_info.html b/templates/authopenid/external_legacy_login_info.html deleted file mode 100644 index 3318499c..00000000 --- a/templates/authopenid/external_legacy_login_info.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Traditional login information" %}{% endspaceless %}{% endblock %} -{% block content %} -
- {% trans "Traditional login information" %} -
-{% spaceless %} -
- -{% blocktrans %}how to login with password through external login website or use {{feedback_url}}{% endblocktrans %} -
-{% endspaceless %} -{% endblock %} diff --git a/templates/authopenid/failure.html b/templates/authopenid/failure.html deleted file mode 100644 index d075d6b0..00000000 --- a/templates/authopenid/failure.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - OpenID failed - - -

OpenID failed

- -

{{ message|escape }}

- - - diff --git a/templates/authopenid/sendpw.html b/templates/authopenid/sendpw.html deleted file mode 100644 index 6241c811..00000000 --- a/templates/authopenid/sendpw.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Send new password" %}{% endspaceless %}{% endblock %} -{% block content %} -
- {% trans "Send new password" %} -
-

-{% trans "password recovery information" %} -

-{% if msg %} -

{{msg}}

-{% endif %} - -

-
-
    - {{form.as_ul}} -
-

- {% trans "return to login" %}

-
-
-{% endblock %} - diff --git a/templates/authopenid/sendpw_email.txt b/templates/authopenid/sendpw_email.txt deleted file mode 100644 index f044ca45..00000000 --- a/templates/authopenid/sendpw_email.txt +++ /dev/null @@ -1,9 +0,0 @@ -{% load i18n %} -{% blocktrans%}Someone has requested to reset your password on {{site_url}}. -If it were not you, it is safe to ignore this email.{% endblocktrans %} - -{% blocktrans %}email explanation how to use new {{password}} for {{username}} -with the {{key_link}}{% endblocktrans %} - -{% blocktrans %}Sincerely, -Forum Administrator{% endblocktrans %} diff --git a/templates/authopenid/settings.html b/templates/authopenid/settings.html deleted file mode 100644 index 66ea5953..00000000 --- a/templates/authopenid/settings.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Account functions" %}{% endspaceless %}{% endblock %} -{% block head %} - -{% endblock %} - -{% block content %} -
-

{{ request.user.username }} {% trans "Profile" %}

-
-
- {% if msg %} -

{{ msg }}

- {% endif %} - -
-
» {% trans "Change password" %}
-
{% trans "Give your account a new password." %}
-
» {% trans "Change email " %}
-
{% trans "Add or update the email address associated with your account." %}
- {% if is_openid %} -
» {% trans "Change OpenID" %}
-
{% trans "Change openid associated to your account" %}
- {% endif %} - -
» {% trans "Delete account" %}
-
{% trans "Erase your username and all your data from website" %}
-
-
-{% endblock %} - diff --git a/templates/authopenid/signin.html b/templates/authopenid/signin.html deleted file mode 100755 index aacdd490..00000000 --- a/templates/authopenid/signin.html +++ /dev/null @@ -1,186 +0,0 @@ -{% extends "base.html" %} - -{% load i18n %} -{% load extra_tags %} -{% block title %}{% spaceless %}{% trans "User login" %}{% endspaceless %}{% endblock %} -{% block forejs %} - - - - - - -{% endblock %} -{% block content %} -
- {% trans "User login" %} -
- {% if msg %} -

{{ msg }}

- {% endif %} - {% if answer %} -
- {% blocktrans with answer.question.title as title and answer.summary as summary %} - Your answer to {{title}} {{summary}} will be posted once you log in - {% endblocktrans %} -
- {% endif %} - {% if question %} -
- {% blocktrans with question.title as title and question.summary as summary %}Your question - {{title}} {{summary}} will be posted once you log in - {% endblocktrans %} -
- {% endif %} -
-
- {% trans "Click to sign in through any of these services." %} -
- - - {{ form2.next }} -
-

{% trans 'Enter your Provider user name' %}

-

- - -

-
-
-

{% trans 'Enter your web address' %}

-

-

-
-
-

{% trans 'Enter your login name and password' %}

- {% if form1.errors %} - {{form1.non_field_errors.as_ul}} - {% endif %} -
- -

- - {% trans "Create account" %}
- {% trans "Forgot your password?" %} -

-
-
-
-{% endblock %} - -{% block sidebar %} -
-

{% trans "Why use OpenID?" %}

- - -
- - -{% endblock%} - - - diff --git a/templates/authopenid/signup.html b/templates/authopenid/signup.html deleted file mode 100644 index fdb236c2..00000000 --- a/templates/authopenid/signup.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Signup" %}{% endspaceless %}{% endblock %} - -{% block content %} -
- {% trans "Create login name and password" %} -
-

{% trans "Traditional signup info" %}

-
- -

{% trans "receive updates motivational blurb" %}

-
- {{email_feeds_form.subscribe}} - {% if email_feeds_form.errors %} -

{% trans "please select one of the options above" %}

- {% endif %} -
- - {{form.recaptcha}} - -
-{% endblock %} - diff --git a/templates/authopenid/yadis.xrdf b/templates/authopenid/yadis.xrdf deleted file mode 100644 index a9ed44fe..00000000 --- a/templates/authopenid/yadis.xrdf +++ /dev/null @@ -1,14 +0,0 @@ - - - - - http://specs.openid.net/auth/2.0/return_to - {% for uri in return_to %} - {{ uri }} - {% endfor %} - - - \ No newline at end of file diff --git a/templates/badge.html b/templates/badge.html deleted file mode 100644 index af6aa2a2..00000000 --- a/templates/badge.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% load extra_tags %} -{% load humanize %} -{% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
- {% trans "Badge" %} -
-
-

-  {{ badge.name }} {{ badge.description }} -

-
- {% if badge.awarded_count %} -

{{ awards|length|intcomma }} - {% trans "The users have been awarded with badges:" %}

- {% endif %} -
-
- {% for award in awards %} -

{{ award.name }} {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}

- {% endfor %} -
- -
-{% endblock %} - diff --git a/templates/badges.html b/templates/badges.html deleted file mode 100644 index 8de93df5..00000000 --- a/templates/badges.html +++ /dev/null @@ -1,76 +0,0 @@ -{% extends "base.html" %} - -{% load extra_tags %} -{% load humanize %} -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
- {% trans "Badges" %} -
-
-

- {% trans "Community gives you awards for your questions, answers and votes." %}
- {% blocktrans %}Below is the list of available badges and number - of times each type of badge has been awarded. Give us feedback at {{feedback_faq_url}}. - {% endblocktrans %} -

-
- {% for badge in badges %} -
-
- {% for a in mybadges %} - {% ifequal a.badge_id badge.id %} - - {% endifequal %} - {% endfor %} -
-
-  {{ badge.name }} × {{ badge.awarded_count|intcomma }} -
-

- {{ badge.description }} -

-
- {% endfor %} -
-
-{% endblock %} -{% block sidebar %} - -
-

{% trans "Community badges" %}

-
-

-  {% trans "gold" %} -

-

- {% trans "gold badge description" %} -

-

-  {% trans "silver" %} -

-

- {% trans "silver badge description" %} -

-

- -  {% trans "bronze" %} -

-

- {% trans "bronze badge description" %} -

-
-
-{% endblock %} - diff --git a/templates/base.html b/templates/base.html deleted file mode 100755 index 17a32ef2..00000000 --- a/templates/base.html +++ /dev/null @@ -1,95 +0,0 @@ - - -{% load extra_filters %} -{% load extra_tags %} -{% load i18n %} - - - {% block title %}{% endblock %} - {{ settings.APP_TITLE }} - {% spaceless %} - {% block meta %}{% endblock %} - {% endspaceless %} - - {% if settings.GOOGLE_SITEMAP_CODE %} - - {% endif %} - - - - - - - - - - - {% if user_messages %} - - - {% endif %} - - {% block forejs %} - {% endblock %} - - - - {% include "header.html" %} -
-
-
- {% block content%} - {% endblock%} - -
-
- {% block sidebar%} - {% endblock%} - -
-
- {% block tail %} - {% endblock %} -
-
-
-
- {% include "footer.html" %} - {% block endjs %} - {% endblock %} - - - diff --git a/templates/base_content.html b/templates/base_content.html deleted file mode 100644 index eacdc6d0..00000000 --- a/templates/base_content.html +++ /dev/null @@ -1,93 +0,0 @@ - - -{% load i18n %} -{% load extra_tags %} - - - {% block title %}{% endblock %} - {{ settings.APP_TITLE }} - - {% if settings.GOOGLE_SITEMAP_CODE %} - - {% endif %} - - - {% spaceless %} - {% block forestyle %}{% endblock %} - {% endspaceless %} - - - - - - - - - - - {% if user_messages %} - - - {% endif %} - - {% block forejs %} - {% endblock %} - - - - {% include "header.html" %} -
-
-
- {% block content%} - {% endblock%} - -
-
- {% block tail %} - {% endblock %} -
-
-
-
- {% include "footer.html" %} - {% block endjs %} - {% endblock %} - - - diff --git a/templates/book.html b/templates/book.html deleted file mode 100644 index e83268e4..00000000 --- a/templates/book.html +++ /dev/null @@ -1,152 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% load extra_tags %} -{% load extra_filters %} -{% load humanize %} -{% block title %}{% spaceless %}{{ book.title }}-{% trans "reading channel" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
《{{ book.title }}》
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% if author_info.blog_url %} - - - - - - {% endif %} - - - - - - - - -
{% trans "[author]" %}{{ book.author }}
{% trans "[publisher]" %}{{ book.publication }}
{% trans "[publication date]" %}{{ book.published_at|date:"Y-m" }}
{% trans "[price]" %}{{ book.price }} {% trans "currency unit" %}
{% trans "[pages]" %}{{ book.pages }} {% trans "pages abbreviation" %}
{% trans "[tags]" %}{{ book.tagnames }}
 
{% trans "author blog" %} »
{% trans "book directory" %} »
{% trans "buy online" %} »
-
-
- -
-
- -
- - - - -
-{% endblock %} -{% block tail %} -
- {% cnprog_paginator context %} - -
-
- -
- -{% endblock %} - diff --git a/templates/close.html b/templates/close.html deleted file mode 100644 index d9e73507..00000000 --- a/templates/close.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base_content.html" %} - -{% load i18n %} -{% load extra_tags %} -{% load humanize %} -{% block title %}{% spaceless %}{% trans "Close question" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} -
- {% trans "Close question" %} -
-
-

{% trans "Close the question" %}: - {{ question.get_question_title }} -

- -
-

- {% trans "Reasons" %}: {{ form.reason }} -

-
- - - -
- -
-
-{% endblock %} - diff --git a/templates/content/images/blue-up-arrow-h18px.png b/templates/content/images/blue-up-arrow-h18px.png deleted file mode 100644 index e1f29e86..00000000 Binary files a/templates/content/images/blue-up-arrow-h18px.png and /dev/null differ diff --git a/templates/content/images/box-arrow.gif b/templates/content/images/box-arrow.gif deleted file mode 100644 index 89dcf5b3..00000000 Binary files a/templates/content/images/box-arrow.gif and /dev/null differ diff --git a/templates/content/images/bullet_green.gif b/templates/content/images/bullet_green.gif deleted file mode 100644 index fa530910..00000000 Binary files a/templates/content/images/bullet_green.gif and /dev/null differ diff --git a/templates/content/images/cc-88x31.png b/templates/content/images/cc-88x31.png deleted file mode 100644 index 0f2a0f10..00000000 Binary files a/templates/content/images/cc-88x31.png and /dev/null differ diff --git a/templates/content/images/cc-wiki.png b/templates/content/images/cc-wiki.png deleted file mode 100644 index 3e680538..00000000 Binary files a/templates/content/images/cc-wiki.png and /dev/null differ diff --git a/templates/content/images/close-small-dark.png b/templates/content/images/close-small-dark.png deleted file mode 100644 index 280c1fc7..00000000 Binary files a/templates/content/images/close-small-dark.png and /dev/null differ diff --git a/templates/content/images/close-small-hover.png b/templates/content/images/close-small-hover.png deleted file mode 100644 index 7899aec7..00000000 Binary files a/templates/content/images/close-small-hover.png and /dev/null differ diff --git a/templates/content/images/close-small.png b/templates/content/images/close-small.png deleted file mode 100644 index 5a99d31f..00000000 Binary files a/templates/content/images/close-small.png and /dev/null differ diff --git a/templates/content/images/dash.gif b/templates/content/images/dash.gif deleted file mode 100644 index d1ddc507..00000000 Binary files a/templates/content/images/dash.gif and /dev/null differ diff --git a/templates/content/images/djangomade124x25_grey.gif b/templates/content/images/djangomade124x25_grey.gif deleted file mode 100644 index d34bb311..00000000 Binary files a/templates/content/images/djangomade124x25_grey.gif and /dev/null differ diff --git a/templates/content/images/dot-g.gif b/templates/content/images/dot-g.gif deleted file mode 100644 index 5d6bb28e..00000000 Binary files a/templates/content/images/dot-g.gif and /dev/null differ diff --git a/templates/content/images/dot-list.gif b/templates/content/images/dot-list.gif deleted file mode 100644 index f6a6b865..00000000 Binary files a/templates/content/images/dot-list.gif and /dev/null differ diff --git a/templates/content/images/edit.png b/templates/content/images/edit.png deleted file mode 100644 index dcb09be0..00000000 Binary files a/templates/content/images/edit.png and /dev/null differ diff --git a/templates/content/images/expander-arrow-hide.gif b/templates/content/images/expander-arrow-hide.gif deleted file mode 100644 index feb6a618..00000000 Binary files a/templates/content/images/expander-arrow-hide.gif and /dev/null differ diff --git a/templates/content/images/expander-arrow-show.gif b/templates/content/images/expander-arrow-show.gif deleted file mode 100644 index 6825c56e..00000000 Binary files a/templates/content/images/expander-arrow-show.gif and /dev/null differ diff --git a/templates/content/images/favicon.gif b/templates/content/images/favicon.gif deleted file mode 100644 index 910c2666..00000000 Binary files a/templates/content/images/favicon.gif and /dev/null differ diff --git a/templates/content/images/feed-icon-small.png b/templates/content/images/feed-icon-small.png deleted file mode 100644 index b3c949d2..00000000 Binary files a/templates/content/images/feed-icon-small.png and /dev/null differ diff --git a/templates/content/images/gray-up-arrow-h18px.png b/templates/content/images/gray-up-arrow-h18px.png deleted file mode 100644 index 78767445..00000000 Binary files a/templates/content/images/gray-up-arrow-h18px.png and /dev/null differ diff --git a/templates/content/images/grippie.png b/templates/content/images/grippie.png deleted file mode 100644 index 6524d416..00000000 Binary files a/templates/content/images/grippie.png and /dev/null differ diff --git a/templates/content/images/indicator.gif b/templates/content/images/indicator.gif deleted file mode 100644 index 1c72ebb5..00000000 Binary files a/templates/content/images/indicator.gif and /dev/null differ diff --git a/templates/content/images/logo.gif b/templates/content/images/logo.gif deleted file mode 100644 index ab690de2..00000000 Binary files a/templates/content/images/logo.gif and /dev/null differ diff --git a/templates/content/images/logo.png b/templates/content/images/logo.png deleted file mode 100644 index 6a250e35..00000000 Binary files a/templates/content/images/logo.png and /dev/null differ diff --git a/templates/content/images/logo1.png b/templates/content/images/logo1.png deleted file mode 100644 index d79a6271..00000000 Binary files a/templates/content/images/logo1.png and /dev/null differ diff --git a/templates/content/images/logo2.png b/templates/content/images/logo2.png deleted file mode 100644 index bd3cccd9..00000000 Binary files a/templates/content/images/logo2.png and /dev/null differ diff --git a/templates/content/images/medala.gif b/templates/content/images/medala.gif deleted file mode 100644 index 93dd1a39..00000000 Binary files a/templates/content/images/medala.gif and /dev/null differ diff --git a/templates/content/images/medala_on.gif b/templates/content/images/medala_on.gif deleted file mode 100644 index a18f9e85..00000000 Binary files a/templates/content/images/medala_on.gif and /dev/null differ diff --git a/templates/content/images/new.gif b/templates/content/images/new.gif deleted file mode 100644 index 8a220b53..00000000 Binary files a/templates/content/images/new.gif and /dev/null differ diff --git a/templates/content/images/nophoto.png b/templates/content/images/nophoto.png deleted file mode 100644 index 2daf0ffd..00000000 Binary files a/templates/content/images/nophoto.png and /dev/null differ diff --git a/templates/content/images/openid.gif b/templates/content/images/openid.gif deleted file mode 100644 index 8540e12b..00000000 Binary files a/templates/content/images/openid.gif and /dev/null differ diff --git a/templates/content/images/openid/aol.gif b/templates/content/images/openid/aol.gif deleted file mode 100644 index decc4f12..00000000 Binary files a/templates/content/images/openid/aol.gif and /dev/null differ diff --git a/templates/content/images/openid/blogger.ico b/templates/content/images/openid/blogger.ico deleted file mode 100644 index 1b9730b0..00000000 Binary files a/templates/content/images/openid/blogger.ico and /dev/null differ diff --git a/templates/content/images/openid/claimid.ico b/templates/content/images/openid/claimid.ico deleted file mode 100644 index 2b80f491..00000000 Binary files a/templates/content/images/openid/claimid.ico and /dev/null differ diff --git a/templates/content/images/openid/facebook.gif b/templates/content/images/openid/facebook.gif deleted file mode 100644 index b997b358..00000000 Binary files a/templates/content/images/openid/facebook.gif and /dev/null differ diff --git a/templates/content/images/openid/flickr.ico b/templates/content/images/openid/flickr.ico deleted file mode 100644 index 11f6e07f..00000000 Binary files a/templates/content/images/openid/flickr.ico and /dev/null differ diff --git a/templates/content/images/openid/google.gif b/templates/content/images/openid/google.gif deleted file mode 100644 index 1b6cd07b..00000000 Binary files a/templates/content/images/openid/google.gif and /dev/null differ diff --git a/templates/content/images/openid/livejournal.ico b/templates/content/images/openid/livejournal.ico deleted file mode 100644 index f3d21ec5..00000000 Binary files a/templates/content/images/openid/livejournal.ico and /dev/null differ diff --git a/templates/content/images/openid/myopenid.ico b/templates/content/images/openid/myopenid.ico deleted file mode 100644 index ceb06e6a..00000000 Binary files a/templates/content/images/openid/myopenid.ico and /dev/null differ diff --git a/templates/content/images/openid/openid-inputicon.gif b/templates/content/images/openid/openid-inputicon.gif deleted file mode 100644 index cde836c8..00000000 Binary files a/templates/content/images/openid/openid-inputicon.gif and /dev/null differ diff --git a/templates/content/images/openid/openid.gif b/templates/content/images/openid/openid.gif deleted file mode 100644 index c718b0e6..00000000 Binary files a/templates/content/images/openid/openid.gif and /dev/null differ diff --git a/templates/content/images/openid/technorati.ico b/templates/content/images/openid/technorati.ico deleted file mode 100644 index fa1083c1..00000000 Binary files a/templates/content/images/openid/technorati.ico and /dev/null differ diff --git a/templates/content/images/openid/verisign.ico b/templates/content/images/openid/verisign.ico deleted file mode 100644 index 3953af93..00000000 Binary files a/templates/content/images/openid/verisign.ico and /dev/null differ diff --git a/templates/content/images/openid/vidoop.ico b/templates/content/images/openid/vidoop.ico deleted file mode 100644 index bbd9a0d5..00000000 Binary files a/templates/content/images/openid/vidoop.ico and /dev/null differ diff --git a/templates/content/images/openid/wordpress.ico b/templates/content/images/openid/wordpress.ico deleted file mode 100644 index 31b7d2c2..00000000 Binary files a/templates/content/images/openid/wordpress.ico and /dev/null differ diff --git a/templates/content/images/openid/yahoo.gif b/templates/content/images/openid/yahoo.gif deleted file mode 100644 index 42adbfa5..00000000 Binary files a/templates/content/images/openid/yahoo.gif and /dev/null differ diff --git a/templates/content/images/quest-bg.gif b/templates/content/images/quest-bg.gif deleted file mode 100644 index b7540238..00000000 Binary files a/templates/content/images/quest-bg.gif and /dev/null differ diff --git a/templates/content/images/vote-accepted-on.png b/templates/content/images/vote-accepted-on.png deleted file mode 100644 index 2026f3bc..00000000 Binary files a/templates/content/images/vote-accepted-on.png and /dev/null differ diff --git a/templates/content/images/vote-accepted.png b/templates/content/images/vote-accepted.png deleted file mode 100644 index ecd18551..00000000 Binary files a/templates/content/images/vote-accepted.png and /dev/null differ diff --git a/templates/content/images/vote-arrow-down-on.png b/templates/content/images/vote-arrow-down-on.png deleted file mode 100644 index 048dbb44..00000000 Binary files a/templates/content/images/vote-arrow-down-on.png and /dev/null differ diff --git a/templates/content/images/vote-arrow-down.png b/templates/content/images/vote-arrow-down.png deleted file mode 100644 index e4fdec0a..00000000 Binary files a/templates/content/images/vote-arrow-down.png and /dev/null differ diff --git a/templates/content/images/vote-arrow-up-on.png b/templates/content/images/vote-arrow-up-on.png deleted file mode 100644 index 56ad0c25..00000000 Binary files a/templates/content/images/vote-arrow-up-on.png and /dev/null differ diff --git a/templates/content/images/vote-arrow-up.png b/templates/content/images/vote-arrow-up.png deleted file mode 100644 index 6e9a51c7..00000000 Binary files a/templates/content/images/vote-arrow-up.png and /dev/null differ diff --git a/templates/content/images/vote-favorite-off.png b/templates/content/images/vote-favorite-off.png deleted file mode 100644 index c1bef074..00000000 Binary files a/templates/content/images/vote-favorite-off.png and /dev/null differ diff --git a/templates/content/images/vote-favorite-on.png b/templates/content/images/vote-favorite-on.png deleted file mode 100644 index 1f9c14ab..00000000 Binary files a/templates/content/images/vote-favorite-on.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/aol.gif b/templates/content/jquery-openid/images/aol.gif deleted file mode 100644 index decc4f12..00000000 Binary files a/templates/content/jquery-openid/images/aol.gif and /dev/null differ diff --git a/templates/content/jquery-openid/images/blogger-1.png b/templates/content/jquery-openid/images/blogger-1.png deleted file mode 100644 index 8b360ea5..00000000 Binary files a/templates/content/jquery-openid/images/blogger-1.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/blogger.ico b/templates/content/jquery-openid/images/blogger.ico deleted file mode 100644 index 1b9730b0..00000000 Binary files a/templates/content/jquery-openid/images/blogger.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/claimid-0.png b/templates/content/jquery-openid/images/claimid-0.png deleted file mode 100644 index 4a0ea1b3..00000000 Binary files a/templates/content/jquery-openid/images/claimid-0.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/claimid.ico b/templates/content/jquery-openid/images/claimid.ico deleted file mode 100644 index 2b80f491..00000000 Binary files a/templates/content/jquery-openid/images/claimid.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/facebook.gif b/templates/content/jquery-openid/images/facebook.gif deleted file mode 100644 index b997b358..00000000 Binary files a/templates/content/jquery-openid/images/facebook.gif and /dev/null differ diff --git a/templates/content/jquery-openid/images/flickr.ico b/templates/content/jquery-openid/images/flickr.ico deleted file mode 100644 index 11f6e07f..00000000 Binary files a/templates/content/jquery-openid/images/flickr.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/flickr.png b/templates/content/jquery-openid/images/flickr.png deleted file mode 100644 index 142405a6..00000000 Binary files a/templates/content/jquery-openid/images/flickr.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/google.gif b/templates/content/jquery-openid/images/google.gif deleted file mode 100644 index 1b6cd07b..00000000 Binary files a/templates/content/jquery-openid/images/google.gif and /dev/null differ diff --git a/templates/content/jquery-openid/images/livejournal-1.png b/templates/content/jquery-openid/images/livejournal-1.png deleted file mode 100644 index e6436081..00000000 Binary files a/templates/content/jquery-openid/images/livejournal-1.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/livejournal.ico b/templates/content/jquery-openid/images/livejournal.ico deleted file mode 100644 index f3d21ec5..00000000 Binary files a/templates/content/jquery-openid/images/livejournal.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/myopenid-2.png b/templates/content/jquery-openid/images/myopenid-2.png deleted file mode 100644 index f64fb8e8..00000000 Binary files a/templates/content/jquery-openid/images/myopenid-2.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/myopenid.ico b/templates/content/jquery-openid/images/myopenid.ico deleted file mode 100644 index ceb06e6a..00000000 Binary files a/templates/content/jquery-openid/images/myopenid.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/openid-inputicon.gif b/templates/content/jquery-openid/images/openid-inputicon.gif deleted file mode 100644 index cde836c8..00000000 Binary files a/templates/content/jquery-openid/images/openid-inputicon.gif and /dev/null differ diff --git a/templates/content/jquery-openid/images/openid.gif b/templates/content/jquery-openid/images/openid.gif deleted file mode 100644 index c718b0e6..00000000 Binary files a/templates/content/jquery-openid/images/openid.gif and /dev/null differ diff --git a/templates/content/jquery-openid/images/openidico.png b/templates/content/jquery-openid/images/openidico.png deleted file mode 100644 index ab622669..00000000 Binary files a/templates/content/jquery-openid/images/openidico.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/openidico16.png b/templates/content/jquery-openid/images/openidico16.png deleted file mode 100644 index ad718ac5..00000000 Binary files a/templates/content/jquery-openid/images/openidico16.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/technorati-1.png b/templates/content/jquery-openid/images/technorati-1.png deleted file mode 100644 index f7195240..00000000 Binary files a/templates/content/jquery-openid/images/technorati-1.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/technorati.ico b/templates/content/jquery-openid/images/technorati.ico deleted file mode 100644 index fa1083c1..00000000 Binary files a/templates/content/jquery-openid/images/technorati.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/verisign-2.png b/templates/content/jquery-openid/images/verisign-2.png deleted file mode 100644 index c1467008..00000000 Binary files a/templates/content/jquery-openid/images/verisign-2.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/verisign.ico b/templates/content/jquery-openid/images/verisign.ico deleted file mode 100644 index 3953af93..00000000 Binary files a/templates/content/jquery-openid/images/verisign.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/vidoop.ico b/templates/content/jquery-openid/images/vidoop.ico deleted file mode 100644 index bbd9a0d5..00000000 Binary files a/templates/content/jquery-openid/images/vidoop.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/vidoop.png b/templates/content/jquery-openid/images/vidoop.png deleted file mode 100644 index 032c9e98..00000000 Binary files a/templates/content/jquery-openid/images/vidoop.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/wordpress.ico b/templates/content/jquery-openid/images/wordpress.ico deleted file mode 100644 index 31b7d2c2..00000000 Binary files a/templates/content/jquery-openid/images/wordpress.ico and /dev/null differ diff --git a/templates/content/jquery-openid/images/wordpress.png b/templates/content/jquery-openid/images/wordpress.png deleted file mode 100644 index ee29f0cf..00000000 Binary files a/templates/content/jquery-openid/images/wordpress.png and /dev/null differ diff --git a/templates/content/jquery-openid/images/yahoo.gif b/templates/content/jquery-openid/images/yahoo.gif deleted file mode 100644 index 42adbfa5..00000000 Binary files a/templates/content/jquery-openid/images/yahoo.gif and /dev/null differ diff --git a/templates/content/jquery-openid/jquery.openid.js b/templates/content/jquery-openid/jquery.openid.js deleted file mode 100644 index 8d1cd204..00000000 --- a/templates/content/jquery-openid/jquery.openid.js +++ /dev/null @@ -1,111 +0,0 @@ -//jQuery OpenID Plugin 1.1 Copyright 2009 Jarrett Vance http://jvance.com/pages/jQueryOpenIdPlugin.xhtml -$.fn.openid = function() { - var $this = $(this); - - //name input value - needed for name based OpenID - var $usr = $this.find('input[name=openid_username]'); - - //final url input value - var $id = $this.find('input[name=openid_url]'); - - //beginning and end of name OpenID url (name being the middle) - var $front = $this.find('p:has(input[name=openid_username])>span:eq(0)'); - var $end = $this.find('p:has(input[name=openid_username])>span:eq(1)'); - - //needed for special effects only - var $localfs = $this.find('fieldset:has(input[name=username])'); - var $usrfs = $this.find('fieldset:has(input[name=openid_username])'); - var $idfs = $this.find('fieldset:has(input[name=openid_url])'); - - var submitusr = function() { - if ($usr.val().length < 1) { - $usr.focus(); - return false; - } - $id.val($front.text() + $usr.val() + $end.text()); - return true; - }; - - var submitid = function() { - if ($id.val().length < 1) { - $id.focus(); - return false; - } - return true; - - }; - var local = function() { - var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); - $li.addClass('highlight'); - $usrfs.hide(); - $idfs.hide(); - $localfs.show(); - $this.unbind('submit').submit(submitid); - return false; - }; - - var direct = function() { - var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); - $li.addClass('highlight'); - $usrfs.fadeOut('slow'); - $localfs.fadeOut('slow'); - $idfs.fadeOut('slow'); - $id.val($this.find("li.highlight span").text()); - setTimeout(function(){$('#bsignin').click();},1000); - return false; - }; - - var openid = function() { - var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); - $li.addClass('highlight'); - $usrfs.hide(); - $localfs.hide(); - $idfs.show(); - $id.focus(); - $this.unbind('submit').submit(submitid); - return false; - }; - - var username = function() { - var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); - $li.addClass('highlight'); - $idfs.hide(); - $localfs.hide(); - $usrfs.show(); - $this.find('#enter_your_what').text($li.attr("title")); - $front.text($li.find("span").text().split("username")[0]); - $end.text("").text($li.find("span").text().split("username")[1]); - $id.focus(); - $this.unbind('submit').submit(submitusr); - return false; - }; - - $this.find('li.local').click(local); - $this.find('li.direct').click(direct); - $this.find('li.openid').click(openid); - $this.find('li.username').click(username); - $id.keypress(function(e) { - if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { - return submitid(); - } - }); - $usr.keypress(function(e) { - if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { - return submitusr(); - } - }); - $this.find('li span').hide(); - $this.find('li').css('line-height', 0).css('cursor', 'pointer'); - $usrfs.hide(); - $idfs.hide(); - $localfs.hide(); - $this.find('li:eq(0)').click(); - - return this; -}; -// submitting next=%2F&openid_username=&openid_url=http%3A%2F%2Fyahoo.com%2F -// submitting next=%2F&openid_username=&openid_url=http%3A%2F%2Fyahoo.com%2F diff --git a/templates/content/jquery-openid/openid.css b/templates/content/jquery-openid/openid.css deleted file mode 100644 index 1b7aaf82..00000000 --- a/templates/content/jquery-openid/openid.css +++ /dev/null @@ -1,75 +0,0 @@ -fieldset { border-style:none; } -img {border-style:none;} - -.logo_box {display:inline-block;float:left;width:90px;height:40px;background:white;border:1px solid #dddddd;} -.openid_box img {margin-top:6px;} -.aol_box img {margin-top:6px;} -.yahoo_box img {margin-top:13px;} -.google_box img {margin-top:6px;} -.local_login_box img {margin-top:2px;margin-left:-3px;} - -form.openid ul{ margin:0;padding:0;text-align:center; list-style-type:none; display:block;} -form.openid ul li {float:left; padding:4px;display:inline-block;} -form.openid ul li div {display:inline-block;} -form.openid ul li span {padding:0 1em 0 3px} -form.openid ul li.first_tiny_li {clear:left;} -form.openid fieldset {clear:both;padding:10px 0px 0px 0px;} -form.openid div+fieldset {display:none} -form.openid label {display:block; font-weight:bold;} -input[name=openid_username] {width:8em} -input[name=openid_identifier] {width:18em} -form.openid ul li.highlight { -moz-border-radius:4px; -webkit-border-radius:4px; background-color: #FD6} -form.openid fieldset div { - -moz-border-radius:4px; - -webkit-border-radius:4px; - background: #DCDCDC; - padding:10px; - display:inline-block; - float:left; -} -form.openid p {margin-bottom:4px;} -form.openid fieldset div p {padding:0px;margin:0px;} -form.openid fieldset div p.login {padding:0px;margin:0 0 10px 0;} -form.openid label { - display:inline-block; - font-weight:normal; - width:6em; - text-align:right; -} -#local_login_fs div { - padding-bottom:4px; -} -#local_login_buttons { - text-align:center; - line-height:1.8em; - margin-top:3px; -} -/*form.openid input[type='submit'] {margin-left:1em;}*/ -#openid_username {background:#ffffa0;} -#openid_url {background:#ffffa0;} - -.openid_logo{color:#F7931E;padding:6px 0px 8px 28px; -background: url(images/openidico.png) no-repeat; -} - -#openid_login {float:left; width:30%; margin:2em 1em; text-align:center} -#openid_login div{margin-top:0.5em} - -form.openid ul.errorlist { - border: none; - list-style-position:inside; - list-style-type: disc; - margin-bottom:5px; -} -form.openid ul.errorlist li { - text-align: left; - margin: 5px; - float: none; - color:blue; -} -#openid_small_providers li { - margin-top:4px; -} -#openid_small_providers li.facebook { - margin-top:0px; -} diff --git a/templates/content/js/com.cnprog.admin.js b/templates/content/js/com.cnprog.admin.js deleted file mode 100644 index 39dff48c..00000000 --- a/templates/content/js/com.cnprog.admin.js +++ /dev/null @@ -1,13 +0,0 @@ -$(document).ready( function(){ - var options = { - success: function(a,b){$('.admin #action_status').html($.i18n._('changes saved'));}, - dataType:'json', - timeout:5000, - url: scriptUrl + $.i18n._('moderate-user/') + viewUserID + '/' - }; - var form = $('.admin #moderate_user_form').ajaxForm(options); - var box = $('.admin input#id_is_approved').click(function(){ - $('.admin #action_status').html($.i18n._('sending data...')); - form.ajaxSubmit(options); - }); -}); diff --git a/templates/content/js/com.cnprog.editor.js b/templates/content/js/com.cnprog.editor.js deleted file mode 100644 index 18cc5166..00000000 --- a/templates/content/js/com.cnprog.editor.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - jQuery TextAreaResizer plugin - Created on 17th January 2008 by Ryan O'Dell - Version 1.0.4 -*/(function($){var textarea,staticOffset;var iLastMousePos=0;var iMin=32;var grip;$.fn.TextAreaResizer=function(){return this.each(function(){textarea=$(this).addClass('processed'),staticOffset=null;$(this).wrap('
').parent().append($('
').bind("mousedown",{el:this},startDrag));var grippie=$('div.grippie',$(this).parent())[0];grippie.style.marginRight=(grippie.offsetWidth-$(this)[0].offsetWidth)+'px'})};function startDrag(e){textarea=$(e.data.el);textarea.blur();iLastMousePos=mousePosition(e).y;staticOffset=textarea.height()-iLastMousePos;textarea.css('opacity',0.25);$(document).mousemove(performDrag).mouseup(endDrag);return false}function performDrag(e){var iThisMousePos=mousePosition(e).y;var iMousePos=staticOffset+iThisMousePos;if(iLastMousePos>=(iThisMousePos)){iMousePos-=5}iLastMousePos=iThisMousePos;iMousePos=Math.max(iMin,iMousePos);textarea.height(iMousePos+'px');if(iMousePos1&&!select.visible()){onChange(0,true);}}).bind("search",function(){var fn=(arguments.length>1)?arguments[1]:null;function findValueCallback(q,data){var result;if(data&&data.length){for(var i=0;i1){v=words.slice(0,words.length-1).join(options.multipleSeparator)+options.multipleSeparator+v;}v+=options.multipleSeparator;}$input.val(v);hideResultsNow();$input.trigger("result",[selected.data,selected.value]);return true;}function onChange(crap,skipPrevCheck){if(lastKeyPressCode==KEY.DEL){select.hide();return;}var currentValue=$input.val();if(!skipPrevCheck&¤tValue==previousValue)return;previousValue=currentValue;currentValue=lastWord(currentValue);if(currentValue.length>=options.minChars){$input.addClass(options.loadingClass);if(!options.matchCase)currentValue=currentValue.toLowerCase();request(currentValue,receiveData,hideResultsNow);}else{stopLoading();select.hide();}};function trimWords(value){if(!value){return[""];}var words=value.split(options.multipleSeparator);var result=[];$.each(words,function(i,value){if($.trim(value))result[i]=$.trim(value);});return result;}function lastWord(value){if(!options.multiple)return value;var words=trimWords(value);return words[words.length-1];}function autoFill(q,sValue){if(options.autoFill&&(lastWord($input.val()).toLowerCase()==q.toLowerCase())&&lastKeyPressCode!=KEY.BACKSPACE){$input.val($input.val()+sValue.substring(lastWord(previousValue).length));$.Autocompleter.Selection(input,previousValue.length,previousValue.length+sValue.length);}};function hideResults(){clearTimeout(timeout);timeout=setTimeout(hideResultsNow,200);};function hideResultsNow(){var wasVisible=select.visible();select.hide();clearTimeout(timeout);stopLoading();if(options.mustMatch){$input.search(function(result){if(!result){if(options.multiple){var words=trimWords($input.val()).slice(0,-1);$input.val(words.join(options.multipleSeparator)+(words.length?options.multipleSeparator:""));}else -$input.val("");}});}if(wasVisible)$.Autocompleter.Selection(input,input.value.length,input.value.length);};function receiveData(q,data){if(data&&data.length&&hasFocus){stopLoading();select.display(data,q);autoFill(q,data[0].value);select.show();}else{hideResultsNow();}};function request(term,success,failure){if(!options.matchCase)term=term.toLowerCase();var data=cache.load(term);if(data&&data.length){success(term,data);}else if((typeof options.url=="string")&&(options.url.length>0)){var extraParams={timestamp:+new Date()};$.each(options.extraParams,function(key,param){extraParams[key]=typeof param=="function"?param():param;});$.ajax({mode:"abort",port:"autocomplete"+input.name,dataType:options.dataType,url:options.url,data:$.extend({q:lastWord(term),limit:options.max},extraParams),success:function(data){var parsed=options.parse&&options.parse(data)||parse(data);cache.add(term,parsed);success(term,parsed);}});}else{select.emptyList();failure(term);}};function parse(data){var parsed=[];var rows=data.split("\n");for(var i=0;i]*)("+term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"$1");},scroll:true,scrollHeight:180};$.Autocompleter.Cache=function(options){var data={};var length=0;function matchSubset(s,sub){if(!options.matchCase)s=s.toLowerCase();var i=s.indexOf(sub);if(i==-1)return false;return i==0||options.matchContains;};function add(q,value){if(length>options.cacheLength){flush();}if(!data[q]){length++;}data[q]=value;}function populate(){if(!options.data)return false;var stMatchSets={},nullData=0;if(!options.url)options.cacheLength=1;stMatchSets[""]=[];for(var i=0,ol=options.data.length;i0){var c=data[k];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub.push(x);}});}}return csub;}else -if(data[q]){return data[q];}else -if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data[q.substr(0,i)];if(c){var csub=[];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub[csub.length]=x;}});return csub;}}}return null;}};};$.Autocompleter.Select=function(options,input,select,config){var CLASSES={ACTIVE:"ac_over"};var listItems,active=-1,data,term="",needsInit=true,element,list;function init(){if(!needsInit)return;element=$("
").hide().addClass(options.resultsClass).css("position","absolute").appendTo(document.body);list=$("
    ").appendTo(element).mouseover(function(event){if(target(event).nodeName&&target(event).nodeName.toUpperCase()=='LI'){active=$("li",list).removeClass(CLASSES.ACTIVE).index(target(event));$(target(event)).addClass(CLASSES.ACTIVE);}}).click(function(event){$(target(event)).addClass(CLASSES.ACTIVE);select();input.focus();return false;}).mousedown(function(){config.mouseDownOnSelect=true;}).mouseup(function(){config.mouseDownOnSelect=false;});if(options.width>0)element.css("width",options.width);needsInit=false;}function target(event){var element=event.target;while(element&&element.tagName!="LI")element=element.parentNode;if(!element)return[];return element;}function moveSelect(step){listItems.slice(active,active+1).removeClass(CLASSES.ACTIVE);movePosition(step);var activeItem=listItems.slice(active,active+1).addClass(CLASSES.ACTIVE);if(options.scroll){var offset=0;listItems.slice(0,active).each(function(){offset+=this.offsetHeight;});if((offset+activeItem[0].offsetHeight-list.scrollTop())>list[0].clientHeight){list.scrollTop(offset+activeItem[0].offsetHeight-list.innerHeight());}else if(offset=listItems.size()){active=0;}}function limitNumberOfItems(available){return options.max&&options.max").html(options.highlight(formatted,term)).addClass(i%2==0?"ac_even":"ac_odd").appendTo(list)[0];$.data(li,"ac_data",data[i]);}listItems=list.find("li");if(options.selectFirst){listItems.slice(0,1).addClass(CLASSES.ACTIVE);active=0;}if($.fn.bgiframe)list.bgiframe();}return{display:function(d,q){init();data=d;term=q;fillList();},next:function(){moveSelect(1);},prev:function(){moveSelect(-1);},pageUp:function(){if(active!=0&&active-8<0){moveSelect(-active);}else{moveSelect(-8);}},pageDown:function(){if(active!=listItems.size()-1&&active+8>listItems.size()){moveSelect(listItems.size()-1-active);}else{moveSelect(8);}},hide:function(){element&&element.hide();listItems&&listItems.removeClass(CLASSES.ACTIVE);active=-1;},visible:function(){return element&&element.is(":visible");},current:function(){return this.visible()&&(listItems.filter("."+CLASSES.ACTIVE)[0]||options.selectFirst&&listItems[0]);},show:function(){var offset=$(input).offset();element.css({width:typeof options.width=="string"||options.width>0?options.width:$(input).width(),top:offset.top+input.offsetHeight,left:offset.left}).show();if(options.scroll){list.scrollTop(0);list.css({maxHeight:options.scrollHeight,overflow:'auto'});if($.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var listHeight=0;listItems.each(function(){listHeight+=this.offsetHeight;});var scrollbarsVisible=listHeight>options.scrollHeight;list.css('height',scrollbarsVisible?options.scrollHeight:listHeight);if(!scrollbarsVisible){listItems.width(list.width()-parseInt(listItems.css("padding-left"))-parseInt(listItems.css("padding-right")));}}}},selected:function(){var selected=listItems&&listItems.filter("."+CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);return selected&&selected.length&&$.data(selected[0],"ac_data");},emptyList:function(){list&&list.empty();},unbind:function(){element&&element.remove();}};};$.Autocompleter.Selection=function(field,start,end){if(field.createTextRange){var selRange=field.createTextRange();selRange.collapse(true);selRange.moveStart("character",start);selRange.moveEnd("character",end);selRange.select();}else if(field.setSelectionRange){field.setSelectionRange(start,end);}else{if(field.selectionStart){field.selectionStart=start;field.selectionEnd=end;}}field.focus();};})(jQuery); -/* - * TypeWatch 2.0 - Original by Denny Ferrassoli / Refactored by Charles Christolini - * Copyright(c) 2007 Denny Ferrassoli - DennyDotNet.com - * Coprright(c) 2008 Charles Christolini - BinaryPie.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -*/(function(jQuery){jQuery.fn.typeWatch=function(o){var options=jQuery.extend({wait:750,callback:function(){},highlight:true,captureLength:2},o);function checkElement(timer,override){var elTxt=jQuery(timer.el).val();if((elTxt.length>options.captureLength&&elTxt.toUpperCase()!=timer.text)||(override&&elTxt.length>options.captureLength)){timer.text=elTxt.toUpperCase();timer.cb(elTxt)}};function watchElement(elem){if(elem.type.toUpperCase()=="TEXT"||elem.nodeName.toUpperCase()=="TEXTAREA"){var timer={timer:null,text:jQuery(elem).val().toUpperCase(),cb:options.callback,el:elem,wait:options.wait};if(options.highlight){jQuery(elem).focus(function(){this.select()})}var startWatch=function(evt){var timerWait=timer.wait;var overrideBool=false;if(evt.keyCode==13&&this.type.toUpperCase()=="TEXT"){timerWait=1;overrideBool=true}var timerCallbackFx=function(){checkElement(timer,overrideBool)};clearTimeout(timer.timer);timer.timer=setTimeout(timerCallbackFx,timerWait)};jQuery(elem).keydown(startWatch)}};return this.each(function(index){watchElement(this)})}})(jQuery); -/* -Ajax upload -*/jQuery.extend({createUploadIframe:function(d,b){var a="jUploadFrame"+d;if(window.ActiveXObject){var c=document.createElement('