view template/forumlist_body.html @ 0:84057f728815

Initial commit. Already a few changes in here
author Eris Caffee <discordia@eldalin.com>
date Sun, 26 Jan 2014 21:32:19 -0800
parents
children
line source
1 <div class="forumlist">
2 <!-- BEGIN forumrow -->
3 <!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
4 </ul>
5 </div>
6 <span class="corners-bottom"><span></span></span></div>
7 </div>
8 <!-- ENDIF -->
10 <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
11 <div class="forabg<!-- IF $MODERATOR_COLUMN_ON_INDEX == 'yes' and $SIDEBARS != 'both' --> modcolumn<!-- ENDIF --><!-- IF $SIDEBARS == 'both' --> bothsidebars<!-- ENDIF -->">
12 <div class="inner"><span class="corners-top"><span></span></span>
13 <ul class="topiclist">
14 <li class="header">
15 <dl class="icon">
16 <dt><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></dt>
17 <dd class="topics">{L_TOPICS}</dd>
18 <dd class="posts">{L_POSTS}</dd>
19 <!-- IF $MODERATOR_COLUMN_ON_INDEX == 'yes' and $SIDEBARS != 'both' -->
20 <dd class="moderators">{L_MODERATORS}</dd>
21 <!-- ENDIF -->
22 <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
23 </dl>
24 </li>
25 </ul>
26 <!-- IF SCRIPT_NAME eq 'index' and $COLLAPSIBLE_CATEGORIES == 'on' --><div class="trigger active"></div><!-- ENDIF -->
27 <div class="collapsethis">
28 <ul class="topiclist forums">
29 <!-- ENDIF -->
31 <!-- IF not forumrow.S_IS_CAT -->
32 <li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> flbg1<!-- ELSE --> flbg2<!-- ENDIF -->">
33 <dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
34 <dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
35 <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
37 <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
38 <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
39 {forumrow.FORUM_DESC}
40 <!-- IF forumrow.MODERATORS and $MODERATOR_COLUMN_ON_INDEX == 'no' -->
41 <br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
42 <!-- ENDIF -->
43 <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->
44 </dt>
45 <!-- IF forumrow.CLICKS -->
46 <dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd>
47 <!-- ELSEIF not forumrow.S_IS_LINK -->
48 <dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
49 <dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
50 <!-- IF $MODERATOR_COLUMN_ON_INDEX == 'yes' and $SIDEBARS != 'both' -->
51 <dd class="moderators">
52 <span><!-- IF forumrow.MODERATORS -->{forumrow.MODERATORS}<!-- ELSE -->--<!-- ENDIF --></span>
53 </dd>
54 <!-- ENDIF -->
55 <dd class="lastpost"><span>
56 <!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
57 <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
58 <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br />&nbsp;<!-- ENDIF --></span>
59 </dd>
60 <!-- ENDIF -->
61 </dl>
62 </li>
63 <!-- ENDIF -->
65 <!-- IF forumrow.S_LAST_ROW -->
66 </ul>
67 </div>
68 <span class="corners-bottom"><span></span></span></div>
69 </div>
70 <!-- ENDIF -->
72 <!-- BEGINELSE -->
73 <div class="panel">
74 <div class="inner"><span class="corners-top"><span></span></span>
75 <strong>{L_NO_FORUMS}</strong>
76 <span class="corners-bottom"><span></span></span></div>
77 </div>
78 <!-- END forumrow -->
79 </div>
81 <!-- IF $COLLAPSIBLE_CATEGORIES == 'on' -->
82 <script type="text/javascript">
83 // <![CDATA[
84 $(".forumlist").collapse({show: function(){
85 this.animate({
86 opacity: 'toggle',
87 height: 'toggle'
88 }, 300);
89 },
90 hide : function() {
92 this.animate({
93 opacity: 'toggle',
94 height: 'toggle'
95 }, 300);
96 }
97 });
98 // ]]>
99 </script>
100 <!-- ENDIF -->