Advertisement:

messageIndex template error

Aloittaja ArkServer, huhtikuu 22, 2006, 10:50:52 AP

« edellinen - seuraava »

ArkServer



How can i remove the grey tables?

i edited message index template and i got most things fixed but i dont know how fix the last 2 errors.

H

hmm. Which theme is that and which mods do you have installed?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

ArkServer

Lainaus käyttäjältä: huwnet - huhtikuu 22, 2006, 10:51:58 AP
hmm. Which theme is that and which mods do you have installed?

1) No idea i dont see any copyrights on the bottom on the forum.
2) it happened after "topics rating" i think i need to add another table/row

ArkServer

Its somewhere here:



// Are there actually any topics to show?
if (!empty($context['topics']))
{
echo '
<td width="9%" colspan="2" class="catbg3">',$txt['sticky_topics'],'</td>

<td class="catbg3"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[70], $context['sort_by'] == 'subject' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>

<td class="catbg3" width="11%"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=starter', $context['sort_by'] == 'starter' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[109], $context['sort_by'] == 'starter' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>

<td class="catbg3" width="4%" align="center"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=replies', $context['sort_by'] == 'replies' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[110], $context['sort_by'] == 'replies' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>

<td class="catbg3" width="4%" align="center"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=views', $context['sort_by'] == 'views' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[301], $context['sort_by'] == 'views' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>

';
if ($context['show_rating'])
echo '
<td width="8%" class="catbg" align="center"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=rating', $context['sort_by'] == 'rating' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['ratings_rating'], $context['sort_by'] == 'rating' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></td>';
echo '


Anyone?

Trekkie101

I believe this would be better suited to the Graphics and Templates board, you'll probably find their experience a bit more helpful. :)

So I'm gonna move this thread.

ArkServer

Lainaus käyttäjältä: Trekkie101 - huhtikuu 23, 2006, 09:34:18 AP
I believe this would be better suited to the Graphics and Templates board, you'll probably find their experience a bit more helpful. :)

So I'm gonna move this thread.


Sure, tho in the meantime i manually fixed it. I overlooked something in the file thats why i couldn't fix it :P

Advertisement: