MyBB Community Forums

Full Version: Need default template code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am looking for the default template code for search_results_threads.
I messed this up some how Sad
<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="8" class="thead">
					<strong>{$lang->search_results}</strong>
				</td>
			</tr>
			<tr>
				<td class="tcat" align="center" colspan="3" width="56%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong> / <strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
				<td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=forum&amp;order=asc">{$lang->forum}</a> {$orderarrow['forum']}</strong></span></td>
				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
				<td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
				{$inlinemodcol}
			</tr>
			{$selectall}
			{$results}
		</table>
		{$inline_edit_js}
		<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>

You can also revert it back to the original template by clicking [options] and selecting 'Revert to Original' from the dropdown list by the modified template. Smile