Zamiana "-" na "0" gdy nie ma żadnych postów i tematów w dziale.

Założony przez  dorman.

wersja skryptu MyBB:1.6.8
adres forum:stylerniaa.ugu.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):Witam, jak zrobić aby w liczbie tematów i postów nie pisał znak "-" tylko liczba 0 gdy nie ma żadnych tematów lub postów?
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Pokaż szablon: szablony ~> opis działu ~> forumbit_depth2_forum.
Proszę:
<tr>
<td class="{$bgcolor}" align="center" width="5%" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" width="55%" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" width="10%" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" width="10%" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" width="20%" style="white-space: nowrap">{$lastpost}</td>
</tr>{$lightbulb['altonoff']}
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Hm, U mnie zawsze było 0 i nigdy w "ostatni post", na domyślnym stylu. Ten szablon podany mam takie same zmienne. Wersja silnika też. Może za to odpowiadają pliki językowe? Nie mam pomysłu, może wypowie się ktoś, kto zna rozwiązanie.



Użytkownicy przeglądający ten wątek:

1 gości