73 lines
2.7 KiB
HTML
73 lines
2.7 KiB
HTML
![]() |
{$object_type='topic'}
|
||
|
<div id="global-container" class="relative clearfix">
|
||
|
{include_template_file file='blocks/groups/group_left.html' group=$group}
|
||
|
|
||
|
<div class="pull-left">
|
||
|
|
||
|
|
||
|
<div class="global-sidebar-column pull-right">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div style="" class="global-content-column pull-left view-group">
|
||
|
|
||
|
{include_template_file file='blocks/groups/group_head.html'}
|
||
|
|
||
|
<div class="group-topics">
|
||
|
<div class="group-topic-post">
|
||
|
<div class="topic-post-thumb">
|
||
|
<img src="{$userquery->getuserthumb($topic,'small')}" />
|
||
|
</div>
|
||
|
<div class="well well-small well-white relative topic-content">
|
||
|
<div class="topic-bubble-caret"></div>
|
||
|
<div class="topic-title">{$topic.topic_title}</div>
|
||
|
<div class="topic-info">by admin - August 2012 04:55 pm</div>
|
||
|
<div class="topic-post">
|
||
|
{$topic.topic_post}
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="clearfix"></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<script>
|
||
|
$(document).ready(function()
|
||
|
{
|
||
|
comments_voting = 'no';
|
||
|
get_comments('t','{$topic.topic_id}','{$topic.last_post_time}',1,'{$topic.total_replies}','{$object_type}')
|
||
|
}
|
||
|
);
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
<div id="comments" class="comments">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{if $topic.total_replies == 0}
|
||
|
<div id="no_comments">
|
||
|
<div class="alert">{lang code="This topic has no comments.."}</div>
|
||
|
</div>
|
||
|
{/if}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<!-- Topics use same Commentary based reply system so we going use it here too -->
|
||
|
|
||
|
<div class="add-topic-box muted">
|
||
|
<form name="add-topic-comment" id="comment-form">
|
||
|
<input type="hidden" name="obj_id" value="{$topic.topic_id}" />
|
||
|
<input type="hidden" name="type" value="topic" />
|
||
|
<h5>Post your comment</h5>
|
||
|
<textarea class="span6" name="comment" ></textarea>
|
||
|
<a class="btn width100perc padding_box margin0" onclick="add_comment('t')" id="add-comment-button" data-loading-text="Submiting..">Submit..</a>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="global-content-full-height"></div>
|
||
|
</div>
|