15.01.2014, 15:53
Stron: 1 2
15.01.2014, 15:55
A można bez adresu skoro problem jest ten sam? Chodzi o to, że wywaliłem kolumnę ikonek postów (wątków), natomiast pojawiło się po prawej puste szerokie pole jak u piszącego wcześniej
15.01.2014, 16:49
Spróbuj:
Oraz zapodaj mi forumdisplay_thread
Kod:
<div class="float_left" style="padding-top: 5px; padding-left: 5px;">
{$multipage}
</div>
<div class="float_right thread_button">
{$newthread}
</div>
<br style="clear:both;" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="{$colspan}">
<div style="float: right;">
<span class="smalltext"><strong><a href="misc.php?action=markread&fid={$fid}{$post_code_string}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
</div>
<div>
<strong>{$foruminfo['name']}</strong>
</div>
</td>
</tr>
<tr>
<td class="tcat" colspan="2" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}
<tr>
<td class="tfoot" align="right" colspan="{$colspan}">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="selectall" value="{$allselected}" />
<input type="hidden" name="fid" value="{$fid}" />
<select name="sortby">
<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
{$ratingsort}
<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
</select>
<select name="order">
<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
</select>
<select name="datecut">
<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
</select>
{$gobutton}
</form>
</td>
</tr>
</table>
<div class="float_left" style="padding-top: 5px; padding-left: 5px;">
{$multipage}
</div>
<div class="float_right thread_button">
{$newthread}
</div>
<br style="clear:both;" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tfoot">
<div class="float_left">
{$moderatedby}
{$usersbrowsing}<br />
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
</dl>
</div>
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
</dl>
</div>
</div>
<div class="float_right" style="text-align: right;">
{$inlinemod}
{$searchforum}
{$forumjump}
</div>
</td>
</tr>
</table>
{$inline_edit_js}
Oraz zapodaj mi forumdisplay_thread
15.01.2014, 16:51
forumdisplay_thread:
Kod:
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</span></td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext">{$thread['views']}</span></td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
15.01.2014, 16:58
Change:
Ps. Chcesz tylko usunąć ikonkę posta czy także wątku (watek jest zamknięty/nowe posty itp)?
Kod:
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</span></td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext">{$thread['views']}</span></td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
Ps. Chcesz tylko usunąć ikonkę posta czy także wątku (watek jest zamknięty/nowe posty itp)?
15.01.2014, 16:59
Póki co tylko te postów, ale jesli masz pod ręką opcję też na usunięcie kolumny ikon zamknięty itd. to będę wdzięczny.
ps. i jakby można było prosić to jeszcze styl w "Podobne wątki", bo tam zostało pole kolumny ikonek.
ps. i jakby można było prosić to jeszcze styl w "Podobne wątki", bo tam zostało pole kolumny ikonek.
15.01.2014, 17:16
forumdisplay_threadlist:
forumdisplay_thread:
Kod:
<div class="float_left" style="padding-top: 5px; padding-left: 5px;">
{$multipage}
</div>
<div class="float_right thread_button">
{$newthread}
</div>
<br style="clear:both;" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="{$colspan}">
<div style="float: right;">
<span class="smalltext"><strong><a href="misc.php?action=markread&fid={$fid}{$post_code_string}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
</div>
<div>
<strong>{$foruminfo['name']}</strong>
</div>
</td>
</tr>
<tr>
<td class="tcat" colspan="1" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}
<tr>
<td class="tfoot" align="right" colspan="{$colspan}">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="selectall" value="{$allselected}" />
<input type="hidden" name="fid" value="{$fid}" />
<select name="sortby">
<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
{$ratingsort}
<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
</select>
<select name="order">
<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
</select>
<select name="datecut">
<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
</select>
{$gobutton}
</form>
</td>
</tr>
</table>
<div class="float_left" style="padding-top: 5px; padding-left: 5px;">
{$multipage}
</div>
<div class="float_right thread_button">
{$newthread}
</div>
<br style="clear:both;" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tfoot">
<div class="float_left">
{$moderatedby}
{$usersbrowsing}<br />
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
</dl>
</div>
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
</dl>
</div>
</div>
<div class="float_right" style="text-align: right;">
{$inlinemod}
{$searchforum}
{$forumjump}
</div>
</td>
</tr>
</table>
{$inline_edit_js}
forumdisplay_thread:
Kod:
tr>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</span></td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><span class="smalltext">{$thread['views']}</span></td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
15.01.2014, 17:27
Tylko jeszcze ta kolumna ikonek w sekcji Podobne wątki.. też by się przydało ją wywalić bo sekcja musi zostać, to świetny dodatek w MyBB.
15.01.2014, 17:47
Pokaż mi demo tego "podobne wątki" (ja nie mogę u siebie znaleźć :?)
Pokaż mi szablon showthread_similarthreads oraz showthread_similarthreads_bit (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Widok wątku).
Pokaż mi szablon showthread_similarthreads oraz showthread_similarthreads_bit (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Widok wątku).
15.01.2014, 21:00
showthread_similarthreads
showthread_similarthreads_bit
Pozostanie tylko prosić o pomoc w usunięciu z wyników wyszukiwania (wyszukiwarka forumowa) obu kolumn pokazujących ikonki. Wówczas wątek będzie kompletny i pomocny dla setek userów MyBB
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->similar_threads}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="2"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$similarthreadbits}
</table>
showthread_similarthreads_bit
Kod:
<tr>
<td align="center" class="{$trow}" width="2%">{$icon}</td>
<td class="{$trow}">{$similar_thread['threadprefix']}<a href="{$similar_thread['threadlink']}">{$similar_thread['subject']}</a></td>
<td align="center" class="{$trow}">{$similar_thread['profilelink']}</td>
<td align="center" class="{$trow}"><a href="javascript:MyBB.whoPosted({$similar_thread['tid']});">{$similar_thread['replies']}</a></td>
<td align="center" class="{$trow}">{$similar_thread['views']}</td>
<td class="{$trow}" style="white-space: nowrap">
<span class="smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$similar_thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
</tr>
Pozostanie tylko prosić o pomoc w usunięciu z wyników wyszukiwania (wyszukiwarka forumowa) obu kolumn pokazujących ikonki. Wówczas wątek będzie kompletny i pomocny dla setek userów MyBB
15.01.2014, 21:57
showthread_similarthreads:
showthread_similarthreads_bit:
A od szukajki to pokaż:
search_results_posts
search_results_posts_post
ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Wyszukiwarka
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="5"><strong>{$lang->similar_threads}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="1"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$similarthreadbits}
</table>
showthread_similarthreads_bit:
Kod:
<tr>
<td class="{$trow}">{$similar_thread['threadprefix']}<a href="{$similar_thread['threadlink']}">{$similar_thread['subject']}</a></td>
<td align="center" class="{$trow}">{$similar_thread['profilelink']}</td>
<td align="center" class="{$trow}"><a href="javascript:MyBB.whoPosted({$similar_thread['tid']});">{$similar_thread['replies']}</a></td>
<td align="center" class="{$trow}">{$similar_thread['views']}</td>
<td class="{$trow}" style="white-space: nowrap">
<span class="smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$similar_thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
</tr>
A od szukajki to pokaż:
search_results_posts
search_results_posts_post
ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Wyszukiwarka
15.01.2014, 22:53
search_results_posts
search_results_posts_post
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" align="center" border="0">
<tr>
<td align="right" valign="top">{$multipage}</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="9" class="thead">
<strong>{$lang->search_results}</strong>
</td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->post}</a> {$orderarrow['subject']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=forum&order=asc">{$lang->forum}</a> {$orderarrow['forum']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a></strong> {$orderarrow['views']}</span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=dateline&order=desc">{$lang->posted}</a> {$orderarrow['dateline']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$results}
</table>
<table width="100%" align="center" border="0">
<tr>
<td align="left" valign="top">{$multipage}</td>
<td align="right" valign="top">{$inlinemod}</td>
</tr>
</table>
{$footer}
</body>
</html>
search_results_posts_post
Kod:
<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
<td class="{$bgcolor}">
<span class="smalltext">
{$lang->post_thread} <a href="{$thread_url}{$highlight}">{$post['thread_subject']}</a><br />
{$lang->post_subject} <a href="{$post_url}{$highlight}#pid{$post['pid']}">{$post['subject']}</a>
</span><br />
<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>
</td>
<td align="center" class="{$bgcolor}">{$post['profilelink']}</td>
<td class="{$bgcolor}" >{$post['forumlink']}</td>
<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$post['tid']});">{$post['thread_replies']}</a></td>
<td align="center" class="{$bgcolor}">{$post['thread_views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap; text-align: center;"><span class="smalltext">{$posted}</span></td>
{$inline_mod_checkbox}
</tr>
16.01.2014, 18:30
search_results_posts:
search_results_posts_post:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" align="center" border="0">
<tr>
<td align="right" valign="top">{$multipage}</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="7" class="thead">
<strong>{$lang->search_results}</strong>
</td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->post}</a> {$orderarrow['subject']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=forum&order=asc">{$lang->forum}</a> {$orderarrow['forum']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a></strong> {$orderarrow['views']}</span></td>
<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&sortby=dateline&order=desc">{$lang->posted}</a> {$orderarrow['dateline']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$results}
</table>
<table width="100%" align="center" border="0">
<tr>
<td align="left" valign="top">{$multipage}</td>
<td align="right" valign="top">{$inlinemod}</td>
</tr>
</table>
{$footer}
</body>
</html>
search_results_posts_post:
Kod:
<tr>
<td class="{$bgcolor}">
<span class="smalltext">
{$lang->post_thread} <a href="{$thread_url}{$highlight}">{$post['thread_subject']}</a><br />
{$lang->post_subject} <a href="{$post_url}{$highlight}#pid{$post['pid']}">{$post['subject']}</a>
</span><br />
<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>
</td>
<td align="center" class="{$bgcolor}">{$post['profilelink']}</td>
<td class="{$bgcolor}" >{$post['forumlink']}</td>
<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$post['tid']});">{$post['thread_replies']}</a></td>
<td align="center" class="{$bgcolor}">{$post['thread_views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap; text-align: center;"><span class="smalltext">{$posted}</span></td>
{$inline_mod_checkbox}
</tr>
16.01.2014, 18:49
Dalej w wynikach wyszukiwania są ikonki. A nie powinno to być coś w search_results_threads?
16.01.2014, 18:50
Mi się nie pokazują? ;o
Daj screena.
Daj screena.
Stron: 1 2