From d517582f48d8a22b39cf398b8a6e6816ac4b241b Mon Sep 17 00:00:00 2001 From: Arslan Hassan Date: Thu, 27 Sep 2012 14:18:19 +0000 Subject: [PATCH] Added : Group topic files. --- .../cbv3/layout/blocks/groups/group_head.html | 17 +++++ .../cbv3/layout/blocks/groups/topics.html | 19 +++++ upload/styles/cbv3/layout/view_topic.html | 72 +++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 upload/styles/cbv3/layout/blocks/groups/group_head.html create mode 100644 upload/styles/cbv3/layout/blocks/groups/topics.html create mode 100644 upload/styles/cbv3/layout/view_topic.html diff --git a/upload/styles/cbv3/layout/blocks/groups/group_head.html b/upload/styles/cbv3/layout/blocks/groups/group_head.html new file mode 100644 index 00000000..2554a369 --- /dev/null +++ b/upload/styles/cbv3/layout/blocks/groups/group_head.html @@ -0,0 +1,17 @@ +
+
An awesome group title
+ + + +
+ Add + + + +
+
\ No newline at end of file diff --git a/upload/styles/cbv3/layout/blocks/groups/topics.html b/upload/styles/cbv3/layout/blocks/groups/topics.html new file mode 100644 index 00000000..d93bc70c --- /dev/null +++ b/upload/styles/cbv3/layout/blocks/groups/topics.html @@ -0,0 +1,19 @@ +
+
+ + +{if $comments} + +{foreach from=$comments.comments item=comment} +{include file="$style_dir/blocks/groups/topic.html" comment=$comment type=$type parents=$comments.parents} +{/foreach} + +{else} + +
+ {$no_comments=lang("This %s has no comments, be the first to comment on this video..")} + {$no_comments|sprintf:$object_type} +
+ +{/if} +
\ No newline at end of file diff --git a/upload/styles/cbv3/layout/view_topic.html b/upload/styles/cbv3/layout/view_topic.html new file mode 100644 index 00000000..759ebef6 --- /dev/null +++ b/upload/styles/cbv3/layout/view_topic.html @@ -0,0 +1,72 @@ +{$object_type='topic'} +
+ {include_template_file file='blocks/groups/group_left.html' group=$group} + +
+ + + + +
+ + {include_template_file file='blocks/groups/group_head.html'} + +
+
+
+ +
+
+
+
{$topic.topic_title}
+
by admin - August 2012 04:55 pm
+
+ {$topic.topic_post} +
+
+ +
+
+ + + + + + +
+ +
+ + {if $topic.total_replies == 0} +
+
{lang code="This topic has no comments.."}
+
+ {/if} + +
+ + + + +
+
+ + +
Post your comment
+ + Submit.. +
+
+
+
+
+