Simple Machines Community Forum

SMF Support => Hilfe zu SMF (German) => Language Specific Support => Grafiken & Templates => Topic started by: Jorin on March 16, 2006, 06:12:55 AM

Title: Index (Letzter Beitrag von... in... am...) ändern
Post by: Jorin on March 16, 2006, 06:12:55 AM
Hallo,

im Forumindex wird ja der letzte Beitrag angezeigt:

Letzter Beitrag von <User>
in <Thema>
am <Datum>


...wobei die Worte "Letzter Beitrag" und das Datum fett erscheinen. Ich hätte aber gerne, dass nur der Titel des Themas fett angezeigt wird. In welcher Datei muss ich das ändern?
Title: Re: Index (Letzter Beitrag von... in... am...) ändern
Post by: dieter4 on March 17, 2006, 11:13:20 AM
BoardIndex.template.php
Title: Re: Index (Letzter Beitrag von... in... am...) ändern
Post by: Jorin on March 18, 2006, 12:05:36 PM
Ich nehme an, das ist der betroffene Code:

/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>


Danke sehr!  :D