comparison gpp/templates/forums/new_post.html @ 285:8fd4984d5c3b

This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
author Brian Neal <bgneal@gmail.com>
date Thu, 14 Oct 2010 02:39:35 +0000
parents 593fb6dbd449
children
comparison
equal deleted inserted replaced
284:df2c81f705a8 285:8fd4984d5c3b
6 {% forum_navigation topic "New Post" %} 6 {% forum_navigation topic "New Post" %}
7 7
8 {% if can_post %} 8 {% if can_post %}
9 <div class="forum-block"> 9 <div class="forum-block">
10 <a name="forum-reply-form"></a> 10 <a name="forum-reply-form"></a>
11 {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %} 11 {% show_form "New Post" form "Submit Post" 0 %}
12 {% else %} 12 {% else %}
13 {% if topic.locked %} 13 {% if topic.locked %}
14 <p>This topic is locked.</p> 14 <p>This topic is locked.</p>
15 {% else %} 15 {% else %}
16 <p>You don't have permission to post to this topic.</p> 16 <p>You don't have permission to post to this topic.</p>