Cette fonction n'est pas disponible sur les styles dériver de subsilver2,il faut donc tout ajouter,
En premier lieu il faut que vos 2 images ce trouvent dans le dossier styles/votre style/imageset/...
Apres dans imageset.cfg
Cherchez,
- Code: Tout sélectionner
img_subforum_read =
img_subforum_unread =
Remplacez par,
- Code: Tout sélectionner
img_subforum_read = subforum_read.png*9*11
img_subforum_unread = subforum_unread.png*9*11
Dans stylesheet.css,
Ajoutez a la fin de votre fichier,
- Code: Tout sélectionner
a.subforum.read {
background-image: url("../imageset/subforum_read.png");
background-repeat: no-repeat;
background-position: 0 50%;
position: relative;
white-space: nowrap;
padding: 0 0 0 12px;
}
a.subforum.unread {
background-image: url("../imageset/subforum_unread.png");
background-repeat: no-repeat;
background-position: 0 50%;
position: relative;
white-space: nowrap;
padding: 0 0 0 12px;
}
Dans forumlist_body.html
Cherchez,
- Code: Tout sélectionner
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
<!-- ENDIF -->
Remplacez par,
- Code: Tout sélectionner
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<p class="forumdesc"><strong>{S_UNREAD}{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
<!-- ENDIF -->
Et ne pas oublié de rafraichir votre style au complet et de vider le cache dans votre ACP
A bientôt...









