ACP-->Szablony--Widok działu-->forumdisplay_subforums
Wklej to:
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
{$forums}
</table>
<br /></div>
papi, dziękuję, działa. Daję pomógł
Hmm a jak zrobić tak, żeby było też:
Poddziały w "Dział"
Dział Wątków Postów Ostatni post
bo jak wkleję ten Twój kod to tego nie ma ;/
chyba ten :
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%"> </td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
No ale jak ten kod wkleję to jest tak jak w pierwszym poście :'(
PS chodzi mi o to aby pisało ten dział itp. i było kompatybilne z tym kodem:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
{$forums}
</table>
<br /></div>
to trzeba wszędzie zmienić ( Opis działu) tzn wrócić do pozycji wyjściowej stylu:
forumbit_depth1_cat
----------------------
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><span id="{$forum['fid']}name"><a href="{$forum_url}" name="{$forum['fid']}" >{$forum['name']}</a></span> <span class="smalltext forumdesc" id="{$forum['fid']}description">{$forum['description']}</span></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table><br />
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery("#{$forum['fid']}description").hide();
jQuery("#{$forum['fid']}name").mouseover(function() {
var content = jQuery("#{$forum['fid']}description").text();
if (content === "") {} else {
jQuery("#{$forum['fid']}description").fadeIn('slow', function() {
// Animation complete
});
}
});
jQuery("#{$forum['fid']}name").mouseout(function() {
jQuery("#{$forum['fid']}description").stop(true, true).fadeOut('slow', function() {
// Animation complete
});
});
});
</script>
forumbit_depth2_cat
------------------------
Kod:
<tr>
<td class="{$bgcolor}" align="center" 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}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
forumbit_depth2_forum
-----------------------
tutaj zmieniłem margin-left , za bardzo ikona włazi w lewo , teraz powinno być dobrze
Kod:
<tr>
<td class="{$bgcolor}" align="left" valign="top" width="1"><span style="margin-left: 4px;"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></span></td>
<td class="{$bgcolor}" 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" style="white-space: nowrap"><span style="color: #007DAB;">{$threads}</span>{$unapproved['unapproved_threads']}<br /><div class="smalltext">threads</div></td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span style="color: #007DAB;">{$posts}</span>{$unapproved['unapproved_posts']}<br /><div class="smalltext">posts</div></td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
forumbit_depth2_forum_lastpost
------------------------------
Kod:
<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
...trochę więcej własnej inwencji
Hmm nie wyświetla ikonek :'(
I JEST THREADS, POSTS, ZAMIAST WĄTKI, POSTY
Zmień w forumbit_depth2_forum ikony na gif zamiast png bo pewnie masz w gifie.
Zmienić trzeba threads = wątki
posts= posty...
myślenie ma przyszłość
W którym kodzie te threads itp. zmienić?