PageRenderTime 50ms CodeModel.GetById 46ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/themes/default/templates/editpost_page.html

http://n23.googlecode.com/
HTML | 37 lines | 16 code | 4 blank | 17 comment | 0 complexity | 93a4226a252deeb7aa8cd0672d0b5841 MD5 | raw file
 1{% extends theme.base %}
 2
 3{% block title %}
 4{% ifequal mode "edit" %} Edit Post : {{ post.title|escape }} - {{ config.blog_title|escape }} {% endifequal %}
 5{% ifequal mode "new" %} Create New Post - {{ config.blog_title|escape }} {% endifequal %}
 6{% endblock %}
 7
 8{% block scripts %}
 9<script type="text/javascript" src="/static/scripts/tiny_mce/tiny_mce.js"></script>
10<script type="text/javascript">
11<!--
12tinyMCE.init({
13	// General options
14	mode : "textareas",
15	theme : "advanced",
16
17	// Theme options
18	theme_advanced_buttons1 : "bold,italic,|,formatselect,|,bullist,numlist,|,blockquote,link,unlink,anchor,image,hr,|,cleanup,code,help",
19	theme_advanced_buttons2 : "",
20	theme_advanced_buttons3 : "",
21	theme_advanced_toolbar_location : "top",
22	theme_advanced_toolbar_align : "left",
23
24	relative_urls : false
25});
26
27//-->
28</script>
29{% endblock %}
30
31{% block content %}
32<div class="newOreditpost">
33{% ifequal mode "edit" %} {% include theme.editpost_form %} {% endifequal %}
34{% ifequal mode "new" %} {% include theme.newpost_form %} {% endifequal %}
35</div>
36{% endblock %}
37