Seite 1 von 1

kleine Änderung beim Simple subforums mod

Verfasst: 09.09.2005 16:35
von LoD
Bevor ich den Simple subforums mod einbaue, möchte ich gern eine Kleinigkeit ändern. Am Index wird dann ja angezeigt in welchem Unterforum der neuste Beitrag ist, das möchte ich nicht haben. Der Index soll also quasi gleich bleiben, also nur anzeigen wann und wer den neusten Beitrag geschrieben hat.

Hier die Einbauanleitung (ich schätze mal, die Änderung findet in der indey_body.tpl statt, deswegen poste ich mal nur den Ausschnitt):

Code: Alles auswählen

#-----[ OPEN ]------------------------------------------ 
#

templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
# Line 28

  <!-- BEGIN forumrow -->

#
#-----[ REPLACE WITH ]------------------------------------------ 
#

  <!-- BEGIN forumrow --><!-- IF ! forumrow.PARENT -->

#
#-----[ FIND ]------------------------------------------
# Line 31

<td class="row1" width="100%" height="50"><span class="forumlink">

#
#-----[ IN-LINE FIND ]------------------------------------------ 
#

href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
#

href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.TOTAL_UNREAD --> topic-new<!-- ENDIF -->"

#
#-----[ FIND ]------------------------------------------
# Line 33

	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>

#
#-----[ REPLACE WITH ]------------------------------------------ 
#

	  </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>

#
#-----[ FIND ]------------------------------------------ 
#

	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>

#
#-----[ IN-LINE FIND ]------------------------------------------ 
#

{catrow.forumrow.TOPICS}

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
#

{catrow.forumrow.TOTAL_TOPICS}

#
#-----[ FIND ]------------------------------------------ 
#

	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>

#
#-----[ IN-LINE FIND ]------------------------------------------ 
#

{catrow.forumrow.POSTS}

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
#

{catrow.forumrow.TOTAL_POSTS}

#
#-----[ FIND ]------------------------------------------
# Line 41

  <!-- END forumrow -->

#
#-----[ REPLACE WITH ]------------------------------------------ 
#

  <!-- ENDIF --><!-- END forumrow -->

#

Verfasst: 11.09.2005 20:24
von LoD
*mal wieder etwas hochschiebt*