S2B hat geschrieben:Ist oben korrigiert.

Ah, danke. Dann versuch ich es heute nochmal ...
Fertig und funzt prima, danke
@micha1703:
Bau den Block oben in die index.php an besagter Stelle ein,
ergänze ihn aber um:
Code: Alles auswählen
if( $posts_today == 0 || $posts_today == '')
{
$l_posts_today_s = $lang['Today_Post_JK_0'];
}
else if( $posts_today == 1 )
{
$l_posts_today_s = $lang['Today_Post_JK_1'];
}
else
{
$l_posts_today_s = $lang['Today_Post_JK_2'];
}
Weiter unten finde:
Code: Alles auswählen
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
Ergänze danach:
Code: Alles auswählen
'TODAY_POSTS' => sprintf($l_posts_today_s, $posts_today),
In die jeweilige lang_main.php setzt Du dann noch folgendes ein:
Code: Alles auswählen
$lang['Today_Post_JK_0'] = 'Heute wurde bisher noch kein Beitrag geschrieben.';
$lang['Today_Post_JK_1'] = 'Heute wurde bisher ein Beitrag geschrieben.';
$lang['Today_Post_JK_2'] = 'Heute wurden bisher <b>%d</b> Beiträge geschrieben.';
(Oder für die englische Variante:)
Code: Alles auswählen
$lang['Today_Post_JK_0'] = 'Today our users have not posted any articles.';
$lang['Today_Post_JK_1'] = 'Today our users have posted one article.';
$lang['Today_Post_JK_2'] = 'Today our users have posted <b>%d</b> articles.';
In die index_body.tpl setzt Du an geeigneter Stelle ein: