Seite 1 von 1

Themen Style: Fett = ungelesen; normal = gelesen

Verfasst: 17.03.2009 20:01
von Dr.Death
Snippet Autor: BlackHawk87
Quelle des Snippets: http://www.phpbb.de/community/viewtopic ... 9#p1089989

Dieses Snippet ermöglicht, das ungelesene Themen "Fett" und gelesene Themen "normal" dargestellt werden.

Anleitung für prosilver:

ÖFFNE: styles / prosilver / template / viewforum_body.html

FINDE:

Code: Alles auswählen

<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> 
ERSETZE MIT:

Code: Alles auswählen

<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}" <!-- IF topicrow.S_UNREAD_TOPIC -->class="unread"<!-- ENDIF -->> 
ÖFFNE: styles / prosilver / theme / links.css

FINDE:

Code: Alles auswählen

a.topictitle {
    font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    color: #898989;
    text-decoration: none;
} 
ERSETZE MIT:

Code: Alles auswählen

a.topictitle {
    font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
    font-size: 1.2em;
    font-weight: normal;
    color: #898989;
    text-decoration: none;
}

dt.unread a.topictitle {
    font-weight:bold;
}
 
Anleitung für subsilver2:

ÖFFNE: styles / subsilver2 / template / viewforum_body.html

FINDE:

Code: Alles auswählen

<td class="row1">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> 
ERSETZE MIT:

Code: Alles auswählen

<td class="row1 <!-- IF topicrow.S_UNREAD_TOPIC -->unread<!-- ENDIF -->">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> 
ÖFFNE: styles / subsilver2 / theme / stylesheet.css

FINDE:

Code: Alles auswählen

a.topictitle {
    margin: 1px 0;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
}
 
ERSETZE MIT:

Code: Alles auswählen

a.topictitle {
    margin: 1px 0;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 1.2em;
}

td.unread a.topictitle {
    font-weight: bold ;
}
 
Jetzt werden alle "ungelesenen Themen" fett und alle gelesenen Themen "normal" angezeigt.

Nicht vergessen den Template und Themes Cache nach dem Hochladen der Dateien zu aktualisieren!