- Kod: Tümünü seç
################################################################
## MOD Title: Simple subforums in Newline (Vbulletin Style) Mod (premodded file for style)
## MOD Author: xinberg <xinberg@yahoo.com> (xinberg) http://www.teknoyasam.net
## MOD Version: 0.0.1
## Style Name: MorpheusX, subSilver and etc.
################################################################
## First adding (subforums.004) Simple Subforums Mod to your forum, and
## before adding this MOD to your forum, you should back up all files related to this MOD
################################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/your_thema/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
</span><!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>
#
#-----[ REPLACE ]------------------------------------------
#
</span><!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 --> <!-- ELSE --><span class="genmed">
<br />
{L_SUBFORUMS}:
<br />
<!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a>
<br />
<!-- END sub -->
<!-- IF $HAS_SUB --></span>
<br />
<!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM