Good luck, here's one page's set: ### bone.html ###
{% load profiling %} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_USED }}" xml:lang="{{ LANGUAGE_USED }}"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta name="identifier-url" content="http://www.curse-gaming.com" /> <meta name="category" content="mmorpg" /> <meta name="robots" content="index, follow" /> <meta name="revisit-after" content="2 days" /> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-language" content="{{ LANGUAGE_USED }}" /> <link rel="shortcut icon" href="{{ IMAGE_URL }}curse.ico" /> <link rel="stylesheet" type="text/css" href="{{ CSS_URL }}default.css" /> <link rel="stylesheet" type="text/css" href="{{ CSS_URL }}{{ current_site.id }}.css" /> <title>{% block title %}{% endblock %} {{ current_site.get_title|escape }}</title> <script type="text/javascript" src="{{ JS_URL }}yui-core.js"></script> <script type="text/javascript" src="{{ JS_URL }}yui-dom.js"></script> <script type="text/javascript" src="{{ JS_URL }}yui-event.js"></script> <script type="text/javascript" src="{{ JS_URL }}yui-ext-core.js"></script> <script type="text/javascript"> cu_nextpage = '{% if next %}{{ next }}{% else %}{{ path }}{% endif %}'; cu_lang = '{{ LANGUAGE_CODE }}'; var browserName = navigator.appName; if (browserName == 'Netscape') { document.writeln('<link rel="stylesheet" type="text/css" href="{{ CSS_URL }}safari.css" />'); } </script> <script type="text/javascript" src="{{ JS_URL }}base.js"></script> <script type="text/javascript" src="{{ JS_URL }}ratings.js"></script> <script type="text/javascript" src="{{ JS_URL }}tooltips.js"></script> <script type="text/javascript" src="{{ JS_URL }}sajax.js"></script> <script type="text/javascript" src="{{ JS_URL }}wikitoolbar.js"></script> <script type="text/javascript">{{ sajax_js }}</script> {% block extraheader %}{% endblock %} <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="{{ CSS_URL }}ie6.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="{{ CSS_URL }}ie7.css" /> <![endif]--> {{ ads.header }} <script type="text/javascript"> sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1; function SmartAdServer(sas_pageid,sas_formatid,sas_target) { if (sas_masterflag==1) {sas_masterflag=0;sas_master='M';} else {sas_master='S';}; document.write('<scr'+'ipt SRC="http://www.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/'+sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>'); } </script> </head> <body{% block hasright %} class="hasright"{% endblock %}> <script type="text/javascript">initTips();</script> <div id="containershell"> <div id="container"> <div id="clearheader"></div> <div id="contentshell"> {% block right %}{% include "right_bar.html" %}{% endblock %} <div id="content"> <!-- Content --> {% block content %}{% endblock %} <!-- End Content --> </div> </div> <div id="left"> {{ left_menu }} {% if ads.sky %} <div style="margin-left: -4px; margin-top: 10px;" class="tc"> {{ ads.sky }} </div> {% endif %} </div> <div id="footer"> <!-- Footer --> <p> Copyright © 2006 <a href="http://www.curse-gaming.com/en/wiki/about/">Curse Gaming</a> - Read our <a href="http://www.curse-gaming.com/en/wiki/terms-of-use/">Terms of Use</a> and <a href="http://www.curse-gaming.com/en/wiki/privacy-policy/">Privacy Policy</a> {% if DEBUG %}- Processtime: {{ mw_time }} ms (middleware) {{ viewtime }} ms (view), {{ cptime }} ms (context processors), {% template_time 1 %} ms (template) {{ sql_queries }}{% endif %} </p> <!-- End Footer --> </div> {% include "header.html" %} </div> </div> {% block outbound %}{% endblock %} <!-- Google Analytics Tag --> <script src="{{ JS_URL }}urchin.js" type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-252840-1"; urchinTracker(); </script> <!-- End of Google Analytics tag --> {{ ads.footer }} </body> </html> ### header.html ### {% load i18n %} <div id="headershell"> <div id="ticker"> <div id="sectionlist"> <ul> <li><strong class="title">Portal:</strong></li> <li class="dropdown"> <a href="/{{ LANGUAGE_CODE }}/set-portal/">Change Portal</a> {% if user.hide_ads %} <ul> {% for portal in portal_list %} {% if portal.visible %} <li{% ifequal portal.id current_site.id %} class="active"{% endifequal %}> <a href="http://{{ portal.domain }}/{{ LANGUAGE_CODE }}/" title="{{ portal.name|escape }}"> {{ portal.name|escape }} </a> </li> {% endif %} {% endfor %} </ul> {% endif %} </li> <li><strong class="title">Language:</strong></li> <li class="dropdown"> <a href="/{{ LANGUAGE_CODE }}/set-language/" title="{{ LANGUAGE_USED }}">Change Language</a> {% if user.hide_ads %} <ul> {% for lang in LANGUAGE_LIST %} <li{% ifequal lang.0 LANGUAGE_CODE %} class="active"{% endifequal %}> <a href="/{{ lang.0 }}/" title="{{ lang.1 }}"> <img src="{{ IMAGE_URL }}flag/{{ lang.0|upper }}.gif" alt="{{ lang.1 }}" width="18" height="12"/> {{ lang.1 }} </a> </li> {% endfor %} </ul> {% endif %} </li> </ul> </div> <ul> <li><strong class="title curseicon">Curse:</strong></li> <li><a href="http://www.curse-gaming.com/">Home</a></li> <li><a href="/{{ LANGUAGE_CODE }}/">{{ current_site.name|escape }} News</a></li> <li><a href="/{{ LANGUAGE_CODE }}/forums/">{{ current_site.name|escape }} Forums</a></li> </ul> </div> <div id="header"> <div id="topbar"> <div class="right"> {% if user.is_authenticated %} Logged in as <a href="{{ user.get_absolute_url }}" style="font-weight: bold">{{ user.username }}</a> <a href="/{{ LANGUAGE_CODE }}/messages/inbox/" class="nolink" title="{% if userpms %}{{ userpms }} {% trans "New messages" %}{% else %}{% trans "No new messages" %}{% endif %}" style="padding: 5px 0 0 0;"> <img src="{{ IMAGE_URL }}buttons/{% if not userpms %}no-{% endif %}pm.gif" alt="Messages" width="23" height="17" /> </a> <a href="/{{ LANGUAGE_CODE }}/favorites/" title="{% trans "Favorites" %}"> <img src="{{ IMAGE_URL }}buttons/favorites.gif" alt="{% trans "Favorites" %}" width="53" height="17" /> </a> {% if user.is_staff %} <a href="/{{ LANGUAGE_CODE }}/admin/" title="{% trans "Admin Panel" %}"> <img src="{{ IMAGE_URL }}buttons/admin.gif" alt="{% trans "Admin Panel" %}" /> </a> {% endif %} <a href="/{{ LANGUAGE_CODE }}/accounts/" title="{% trans "Account" %}"> <img src="{{ IMAGE_URL }}buttons/account.gif" alt="{% trans "Account" %}" width="53" height="17"/> </a> <form method="get" id="userregform" action="/{{ LANGUAGE_CODE }}/accounts/logout/"> <input type="hidden" name="next" value="{{ path|urlencode }}" /> <input type="image" src="{{ IMAGE_URL }}buttons/logout.gif" class="dark" value="Logout" /> </form> {% else %} <a href="/{{ LANGUAGE_CODE }}/accounts/login/" title="{% trans "Login" %}" id="_do_login" class="button">Login</a> <a href="/{{ LANGUAGE_CODE }}/accounts/register/" title="{% trans "Register" %}" class="button">Register</a> {% endif %} </div> {% if OBJECT %} <a href="/{{ LANGUAGE_CODE }}/favorites/add/{{ OBJECT.app }}/{{ OBJECT.view }}/{{ OBJECT.id }}/"> <img src="{{ IMAGE_URL }}header/star_active.jpg" alt="Favorite Page" width="19" height="17" title="Add this page to your favorites" /> </a> <a href="/{{ LANGUAGE_CODE }}/flag/{{ OBJECT.app }}/{{ OBJECT.view }}/{{ OBJECT.id }}/"> <img src="{{ IMAGE_URL }}header/cross_active.jpg" alt="Report Page" width="19" height="17" title="Report this page" /> </a> {% comment %} <a href="/{{ LANGUAGE_CODE }}/print/{{ OBJECT.app }}/{{ OBJECT.view }}/{{ OBJECT.id }}/"> <img src="{{ IMAGE_URL }}icons/print.png" alt="Print Page" title="Print this page" /> </a> <a href="/{{ LANGUAGE_CODE }}/share/{{ OBJECT.app }}/{{ OBJECT.view }}/{{ OBJECT.id }}/"> <img src="{{ IMAGE_URL }}icons/share.png" alt="Share Page" title="Share this page" /> </a> <img src="{{ IMAGE_URL }}icons/print-off.png" alt="Cannot Print Page" title="You can't print this page" /> <img src="{{ IMAGE_URL }}icons/share-off.png" alt="Cannot Share Page" title="You can't share this page" /> {% endcomment %} {% else %} <img src="{{ IMAGE_URL }}header/star.jpg" alt="Cannot Favorite Page" width="19" height="17" title="You can't add this page to your favorites" /> <img src="{{ IMAGE_URL }}header/cross.jpg" alt="Cannot Flag Page" width="19" height="17" title="You can't flag this page" /> {% comment %} <img src="{{ IMAGE_URL }}icons/print-off.png" alt="Cannot Print Page" title="You can't print this page" /> <img src="{{ IMAGE_URL }}icons/share-off.png" alt="Cannot Share Page" title="You can't share this page" /> {% endcomment %} {% endif %} {% comment %} <img src="{{ IMAGE_URL }}icons/syndicate-off.png" alt="Cannot Syndicate Page" title="You can't syndicate this page" /></a> {% endcomment %} </div> <div class="adspace"> {{ ads.leaderboard }} </div> <a href="/" title="Curse Gaming"> <img src="{{ IMAGE_URL }}portals/{{ current_site.short_name}}_full.jpg" alt="Logo" style="margin-top: 1px" width="263px" height="124px"/> </a> </div> </div> ### left_menu.html ### <ul> {% regroup menu_list by parent as grouped_menu %} {% for item in grouped_menu %} {% if item.grouper %} <li><h2><a href="{{ item.grouper.get_absolute_url }}" title="{{ item.grouper.title|escape }}">{{ item.grouper.name|escape }}</a></h2> {% if item.list %} <ul> {% for subitem in item.list %} <li> {% if subitem.get_absolute_url %} <a href="{{ subitem.get_absolute_url }}">{{ subitem.name|escape }}</a> {% else %} <strong>{{ subitem.name|escape }}</strong> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} {% ifequal site_id 1 %} <!-- PORTALS MENU --> {% if portal_list %} <li><h2><a href="/portals/" title="Portals">Portals</a></h2> <ul> {% for portal in portal_list %} <li> <a href="http://{{ portal.domain }}/" title="{{ portal.name|escape }}">{{ portal.name|escape }}</a> </li> {% endfor %} </ul> </li> {% endif %} {% endifequal %} </ul> ### right_bar.html ### {% load i18n %} <div id="right"> <!-- Right Bar --> {% if ads.carre_top %} <div class="carre"> <h2>Sponsored Links</h2> <div class="adspace"> {{ ads.carre_top }} </div> </div> {% endif %} <a href="http://www.curse-gaming.com/{{ LANGUAGE_CODE }}/wiki/tour/" title="Website Tour"><img src="{{ IMAGE_URL }}website_tour.jpg" alt="tour" /></a> <a href="http://wow.curse-gaming.com/{{ LANGUAGE_CODE }}/files/addons/" title="World of Warcraft Addons"><img src="{{ IMAGE_URL }}wow_addons_purp.jpg" alt="addons" /></a> {% ifequal current_site.name "World of Warcraft" %} <a href="/{{ LANGUAGE_CODE }}/database/items/" title="Item Database"><img src="{{ IMAGE_URL }}item_database.jpg" alt="items" /></a> {% endifequal %} {% block right_content %} <div class="sect"> <h2>{{ current_site.name|escape }} {% trans 'Headlines' %}</h2> <ul class="ll"> {% for article in trimmed_article_list %} <li class="{% cycle row1,row2 %}"><a href="{{ article.get_absolute_url }}">{{ article.name|escape }}</a></li> {% endfor %} </ul> <div class="more"><a href="/{{ LANGUAGE_CODE }}/">Latest News</a></div> </div> {% if trimmed_forum_list %} <div class="sect"> <h2>{% trans 'Community Watch' %}</h2> <ul class="ll"> {% for forum in trimmed_forum_list %} <li class="{% cycle row1,row2 %}"><a href="{{ forum.get_lastreply_url }}">{{ forum.name|escape }}</a></li> {% endfor %} </ul> <div class="more"><a href="/{{ LANGUAGE_CODE }}/forums/">Browse Forums</a></div> </div> {% endif %} {% if trimmed_file_list %} <div class="sect"> <h2>{% trans 'Updated Files' %}</h2> <ul class="ll"> {% for file in trimmed_file_list %} <li class="{% cycle row1,row2 %}"><a href="{{ file.get_absolute_url }}">{{ file.name|escape }}</a> {% if file.category %} <br />{{ file.category.site.name|escape }} {% endif %}</li> {% endfor %} </ul> <div class="more"><a href="/{{ LANGUAGE_CODE }}/files/">More Files</a></div> </div> {% endif %} {% endblock %} <!-- End Right --> </div> ### details.html ### {% extends "bone.html" %} {% load i18n %} {% load ratings %} {% load comments %} {% block title %}{% ifnotequal current_site.name "Curse" %}{{ current_site|escape }} {% endifnotequal %}{{ file.category.parent.name|escape }}: {{ file|escape }}{% endblock %} {% block extraheader %} <script type="text/javascript"> var _ts = { 1: [{% for tab in tab_set.1 %} '{{ tab.id }}',{% endfor %} '' ], 2: [{% for tab in tab_set.2 %} '{{ tab.id }}',{% endfor %} '' ], 3: [{% for tab in tab_set.3 %} '{{ tab.id }}',{% endfor %} '' ] } var _ts_a = { 1: {% for tab in tab_set.1 %}{% if tab.is_selected %}'{{ tab.id }}'{% endif %}{% endfor %}, 2: {% for tab in tab_set.2 %}{% if tab.is_selected %}'{{ tab.id }}'{% endif %}{% endfor %}, 3: {% for tab in tab_set.3 %}{% if tab.is_selected %}'{{ tab.id }}'{% endif %}{% endfor %} } function changeTab(e, ts, t) { if (_ts_a[ts] == t) _y_ev.stopEvent(e); var ntid = _y_dom.get('tabsid_' + ts + '_' + t); var nt = _y_dom.get('tabs_' + ts + '_' + t); if (!ntid || !nt) return false; _y_dom.removeClass('tabsid_' + ts + '_' + _ts_a[ts], 'active'); _y_dom.addClass(ntid, 'active'); _y_dom.setStyle('tabs_' + ts + '_' + _ts_a[ts], 'display', 'none'); _y_dom.setStyle(nt, 'display', 'block'); _ts_a[ts] = t; _y_ev.stopEvent(e); } </script> {% endblock %} {% block content %} <style type="text/css"> .fbox .title .rating { background: none; border: none; color: #fd8222; font-size: 34px !important; padding: 6px 10px; } .fbox .title .rating .icon_good { top: 4px; } .fbox .title .rating .icon_bad { top: 18px; } </style> <div class="box bc"> <a href="/{{ request.LANGUAGE_CODE }}/">{{ current_site.name|escape }}</a> {{ BREADCRUMB_SEP }} <a href="/{{ request.LANGUAGE_CODE }}/files/">Files & Projects</a> {{ BREADCRUMB_SEP }} <a href="{{ file.category.parent.get_absolute_url }}">{{ file.category.parent.name|escape }}</a> {{ BREADCRUMB_SEP }} <a href="{{ file.category.get_absolute_url }}">{{ file.category.name|escape }}</a> {{ BREADCRUMB_SEP }} <strong>{{ file|escape }}</strong> </div> <div class="gheading"> {% if can_edit %} <form method="get" action="/{{ LANGUAGE_CODE }}/files/"> <input type="hidden" name="file_id" value="{{ file.id }}" /> <select name="filego" id="id_filego" onchange="this.form.submit();"> <option value="details" selected="selected">Project Page</option> <option value="">--------</option> <option value="update">Edit Project</option> <option value="screenshots">Edit Screenshots</option> <option value="labels">Edit Labels</option> <option value="files">Edit Files</option> <option value="tickets">Edit Tickets</option> <option value="comments">Edit Comments</option> <option value="">--------</option> <option value="delete">Delete Project</option> </select> <input type="submit" value="Go" class="button" /> </form> {% endif %} <h1>{{ file|escape }}</h1> </div> <div class="gboxheader"> <h2>Find more {% ifnotequal current_site.name "Curse" %}{{ current_site.name|escape }} {% endifnotequal %}{{ file.category.parent.name|escape }}:</h2> </div> <div class="gbox"> <form method="get" action="/{{ LANGUAGE_CODE }}/files/search/" class="tc"> <input type="hidden" name="type" value="{{ file.category.parent.id }}" /> <input type="text" name="q" class="text" id="id_filesearch" size="77" style="width: 400px;" value="Type your label or search query here" onfocus="this.select();" /> <input type="submit" class="button" value="Search" /> </form> </div> <div class="gboxheader"> <h2>{{ file.name|escape }} Project Information</h2> </div> <div class="gbox"> <div class="tr"> {% if file.allow_plugins %} <a href="/{{ LANGUAGE_CODE }}/files/submit/plugin/{{ file.id }}/" class="button">Submit Plugin</a> {% endif %} {% if file.allow_patches %} <a href="/{{ LANGUAGE_CODE }}/files/submit/patch/{{ file.id }}/" class="button">Submit Patch</a> {% endif %} </div> <div class="fbox"> <div class="wrap"> <div class="title"> {% show_rating "files.file" file.id %} <h2>{{ file.name|escape }}</h2> <h4>Last updated {{ file.last_post_date|timesince }} ago{% if version_list.0.designed_for %} for {{ version_list.0.designed_for|escape }}{% endif %}</h4> </div> <div class="body"> <div class="stbox"> {% if file.default_image_ref %} <a href="{{ file.default_image_ref.get_preview_url }}" rel="imageview" class="thumb"><img alt="{{ file.default_image_ref.name|escape }}" src="{{ file.default_image_ref.get_thumbnail_url }}" width="128" height="90"></a> {% else %} <div class="thumb"><img src="{{ IMAGE_URL }}no-screenshot.jpg" alt="no image" /></div> {% endif %} {% if can_edit %} <div class="cb"><a href="{{ file.get_edit_url }}" class="bigbutton">Edit Project</a></div> {% endif %} </div> <div class="dl"> <ul> <li class="row1"><div>Project Manager:</div>{{ file.author.get_html_code }}</li> <li class="row2"><div>Website:</div>{% if file.website %}<a href="{{ file.website|escape }}" rel="nofollow">{{ file.website|escape }}</a>{% else %}–{% endif %}</li> <li class="row1"><div>Post Date:</div>{{ file.post_date|date:"F jS Y" }}</li> <li class="row2"><div>Category:</div><a href="{{ file.category.get_absolute_url }}">{{ file.category.name|escape }}</a></li> <li class="row1"><div>Game:</div><a href="{{ file.game.get_absolute_url }}">{{ file.game|escape }}</a></li> <li class="row2"><div><a href="/{{ LANGUAGE_CODE }}/labels/files/file/{{ file.id }}/" style="font-weight: bold;">Labels</a>:</div>{% if file.labels %}{% for label in file.get_label_names %}<a href="/{{ LANGUAGE_CODE }}/files/search/?label={{ label|escape }}">{{ label|escape }}</a> {% endfor %}{% else %}(No labels yet){% endif %}</li> <li class="row1"><div>Downloads Total:</div>{% if file.downloads_total %}{{ file.downloads_total }}{% else %}–{% endif %}</li> <li class="row2"><div>Downloads Today:</div>{% if file.downloads_today %}{{ file.downloads_today }}{% else %}–{% endif %}</li> <li class="row1"><div>Favorites:</div>{% if file.favorites %}{{ file.favorites }}{% else %}–{% endif %}</li> <li class="row2"><div>Compatible:</div>{% for d in file_data_list %}{% if d.is_compatible %}<img src="{{ IMAGE_URL }}flag/{{ d.lang|upper }}.gif" alt="{{ d.lang }}" /> {% endif %}{% endfor %}</li> <li class="row1"><div>Localized:</div>{% for d in file_data_list %}{% if d.is_localized %}<img src="{{ IMAGE_URL }}flag/{{ d.lang|upper }}.gif" alt="{{ d.lang }}" /> {% endif %}{% endfor %}</li> </ul> </div> <br/> <hr /> <div class="tc"> {% if file.default_file_ref %} <a href="{{ file.default_file_ref.get_download_url }}" style="margin-right: 24px;" title="Download {{ file.name|escape }} {{ file.default_file_ref.name|escape }}"><img src="{{ IMAGE_URL }}buttons/download-now.jpg" alt="download now" /></a> {% endif %} <a href="/{{ LANGUAGE_CODE }}/favorites/add/{{ OBJECT.app }}/{{ OBJECT.view }}/{{ OBJECT.id }}/" title="Add {{ file.name }} to your Favorites"><img src="{{ IMAGE_URL }}buttons/add-to-favs.jpg" alt="add to favorites" /></a> </div> </div> </div> </div> <style> .ftabs { margin: -1px -1px 0 -1px !important; padding: 1px 1px 0 0 !important; background: #fff; } .ftabs ul { margin: 0 !important; padding: 0 !important; height: 21px !important; position: relative; border-bottom: 1px solid #8b8b8b !important; background: #c1c1c1 url('http://www.cursebeta.com/static/images/files/tabs/bg.gif') repeat-x !important; } .ftabs li { height: 21px !important; margin: 0 !important; bottom: -1px !important; background: #fff !important; padding: 1px 1px 0 1px !important; list-style-type: none !important; border-right: 1px solid #8b8b8b !important; float: left; } .ftabs li a { line-height: 22px !important; background: #c8c8c8 url('http://www.cursebeta.com/static/images/files/tabs/inactive.gif') repeat-x !important; padding: 3px 10px 0px 10px !important; border-bottom: 1px solid #8b8b8b !important; color: #7d7d7d !important; text-decoration: none !important; font-weight: bold !important; } .ftabs .active a, .ftabs .active a:hover { background: #f8f8f8 url('http://www.cursebeta.com/static/images/files/tabs/active.gif') repeat-x !important; border-bottom: 1px solid #f8f8f8 !important; color: #f56d00 !important; } .fbox .tabwrap { height: 204px; overflow: auto; } </style> {% if tab_set.1 %} <div class="fbox"> <div class="ftabs"> <ul> {% for tab in tab_set.1 %} <li{% if tab.is_selected %} class="active"{% endif %} id="tabsid_1_{{ tab.id }}"><a href="http://www.curse-gaming.com/{{ LANGUAGE_CODE }}/wiki/javascript-required/" onclick="changeTab(event, 1, '{{ tab.id }}');">{{ tab.name }}{% if tab.count %} ({{ tab.count }}){% endif %}</a></li> {% endfor %} </ul> </div> <div class="wrap tabwrap"> {% for tab in tab_set.1 %} <div id="tabs_1_{{ tab.id }}"{% if not tab.is_selected %} style="display: none;"{% endif %}> {{ tab.data }} </div> {% endfor %} </div> </div> {% endif %} {% if tab_set.2 %} <div class="fbox"> <div class="ftabs"> <ul> {% for tab in tab_set.2 %} <li{% if tab.is_selected %} class="active"{% endif %} id="tabsid_2_{{ tab.id }}"><a href="http://www.curse-gaming.com/{{ LANGUAGE_CODE }}/wiki/javascript-required/" onclick="changeTab(event, 2, '{{ tab.id }}');">{{ tab.name }}{% if tab.count %} ({{ tab.count }}){% endif %}</a></li> {% endfor %} </ul> </div> <div class="wrap tabwrap"> {% for tab in tab_set.2 %} <div id="tabs_2_{{ tab.id }}"{% if not tab.is_selected %} style="display: none;"{% endif %}> {% ifequal tab.id "screenshots" %} {% for image in tab.data %} {% if image.get_thumbnail_url %} <a href="{{ image.get_preview_url }}" rel="imageview"><img alt="{{ image.name|escape }}" src="{{ image.get_thumbnail_url }}"></a> {% endif %} {% endfor %} {% endifequal %} </div> {% endfor %} </div> </div> {% endif %} {% if tab_set.3 %} <div class="fbox"> <div class="ftabs"> <ul> {% for tab in tab_set.3 %} <li{% if tab.is_selected %} class="active"{% endif %} id="tabsid_3_{{ tab.id }}"><a href="http://www.curse-gaming.com/{{ LANGUAGE_CODE }}/wiki/javascript-required/" onclick="changeTab(event, 3, '{{ tab.id }}');">{{ tab.name }}{% if tab.count %} ({{ tab.count }}){% endif %}</a></li> {% endfor %} </ul> </div> <div class="wrap tabwrap"> {% for tab in tab_set.3 %} <div id="tabs_3_{{ tab.id }}"{% if not tab.is_selected %} style="display: none;"{% endif %}> <table class="full" cellspacing="0"> <thead> <tr> <th>File</th> <th style="width: 120px;">Games</th> <th class="tc" style="width: 60px;">Downloads</th> <th style="width: 80px;" class="tr">Post Date</th> </tr> </thead> <tbody> {% for version in tab.data %} <tr class="{% cycle row1,row2 %}"> <td><a href="{{ version.get_download_url }}" title="Download {{ file.name|escape }} {{ version.name|escape }}">{{ version.name|escape }}</a></td> <td>{% if version.games %}{{ version.games|join:" " }}{% else %}–{% endif %}</td> <td class="tc">{{ version.downloads }}</td> <td class="tr">{{ version.post_date|date:"Y/m/d" }}</td> </tr> {% endfor %} </tbody> </table> </div> {% endfor %} </div> </div> {% endif %} </div> <div class="gboxheader"> <h2>Add Comment</h2> </div> <div class="gbox"> {% comment_form for files.file file.id %} </div> <div class="gboxheader"> <h2>Comments</h2> </div> {% get_comment_list for files.file file.id as comment_list %} <div id="comments" class="gbox"> {% if comment_list %} {% for comment in comment_list %} <div class="fbox comment {% cycle comment1,comment2 %}{% ifequal comment.user file.author %} authorcomment{% endifequal %}{% if comment.user.is_superuser %} staffcomment{% endif %}{% if comment.is_hidden %} hiddencomment{% endif %}" id="comment_{{ comment.id }}"> <div class="wrap"> <div class="subtext"> {% if can_edit %}<a href="{{ comment.get_delete_url }}?next={{ file.get_absolute_url }}"><img src="{{ IMAGE_URL }}icons/delete.png" alt="delete" /></a>{% endif %} </div> {% if not comment.user.is_superuser %}{% if not comment.is_hidden %} {% show_rating "comments.comment" comment.id %} {% else %} <div class="msg">(Comment hidden due to negative ratings)</div> {% endif %}{% endif %} <h3>{{ comment.user.get_html_code }} comments:</h3> <h4>{{ comment.post_date|date:"m/d/y @ g:i A O" }}</h4> <hr /> {% if not comment.user.is_superuser %}{% if not comment.is_hidden %} <div class="body">{{ comment.body|escape|linebreaks }}</div> {% endif %}{% else %} <div class="body">{{ comment.body|escape|linebreaks }}</div> {% endif %} </div> </div> {% endfor %} {% else %} <div class="fbox"> <div class="wrap"> No comments have been made </div> </div> {% endif %} </div> {% endblock %} On Dec 7, 4:42 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Any Tips? > > > Our templates are running from 150ms-500ms process times, something we > > really need to cut down. As far as I can tell it's not doing any > > queries in them.If you copy-and-paste us your templates, we may be able to > > give you > concrete suggestions. > > Adrian > > -- > Adrian Holovaty > holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---