Webboard

Pełna wersja: Jak usunąć ten napis z góry
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2
Jak to naprawić?
[attachment=13129]
No już lepiej ale...
[attachment=13134]
Są dodane 2 razy zmienne, usuń jedną.
a gdzie mam usunąć te zmienne??
W szablonie.
no wiem że w szablonie tylko dokładniej co i jak
Link do forum daj.
Daj szablon forumdisplay_thread
Kod:
<tr class="inline_row">
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{+}forumdisplay_thread_firstpost|{$thread['uid']}{-}{+}forumdisplay_thread_firstpost|{$thread['uid']}{-}{$attachment_count}
<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
{+}forumdisplay_thread_lastpost|{$thread['lastposteruid']}{-}{+}forumdisplay_thread_lastpost|{$thread['lastposteruid']}{-}<span class="lastpost smalltext">{$lastpostdate}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
Kod:
{+}forumdisplay_thread_lastpost|{$thread['lastposteruid']}{-}
usuń jedno bo masz dwa.
Zamień forumdisplay_thread na:

Kod PHP:
<tr class="inline_row">
<
td align="center" class="{$bgcolor}{$thread_type_class}width="2%"><span class="thread_status {$folder}title="{$folder_label}">&nbsp;</span></td>
<
td align="center" class="{$bgcolor}{$thread_type_class}width="2%">{$icon}</td>
<
td class="{$bgcolor}{$thread_type_class}">
{+}
forumdisplay_thread_firstpost|{$thread['uid']}{-}{$attachment_count}
<
div>
 
         <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
<
div class="author smalltext">{$thread['profilelink']}</div>
</
div>
</
td>
<
td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<
td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{
$rating}
<
td class="{$bgcolor}{$thread_type_class}style="white-space: nowrap; text-align: right;">
{+}
forumdisplay_thread_lastpost|{$thread['lastposteruid']}{-}<span class="lastpost smalltext">{$lastpostdate}<br />
<
a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</
td>
{
$modbit
ten styl jest cały pobugowany nie ma sensu, go edytować
Stron: 1 2