i tried to fix this with that tpl file.
but the only problem is with the checkbox, that doesn´t apear if i add the switch in the tpl file.
<script language="Javascript" type="text/javascript">
function select_switch(status)
{
for (i = 0; i < document.post.length; i++)
{
document.post.elements[i].checked = status;
}
}
</script>
<div class="forumline nav-div">
<p class="nav-header">
<a href="{U_PORTAL}" class="nav">{L_HOME}</a>{NAV_SEP}<a href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a href="{U_SEARCH}">{L_SEARCH}</a>{NAV_SEP}<a href="#" class="nav-current">{L_SEARCH_MATCHES}</a>
</p>
<div class="nav-links">
<div class="nav-links-left">
{CURRENT_TIME}
</div>
</div>
</div>
<form action="{S_POST_ACTION}" method="post" name="post">
<table width="100%" cellspacing="0" class="forumline">
<tr>
<td colspan="8" class="row-header"><span>{L_SEARCH_MATCHES}</span></td>
</tr>
<tr>
<th width="18"> </th>
<th>{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_REPLIES}</th>
<th>{L_AUTHOR}</th>
<th>{L_VIEWS}</th>
<th>{L_LASTPOST}</th>
<!-- BEGIN switch_upi2db_on -->
<th>{L_MAR}</th>
<!-- END switch_upi2db_on -->
</tr>
<!-- BEGIN searchresults -->
<tr>
<td class="row3 row-center">
{searchresults.U_MARK_ALWAYS_READ}
<!-- <img src="{searchresults.TOPIC_FOLDER_IMG}" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" /> -->
</td>
<td class="row1h row-forum" onclick="window.location.href='{searchresults.U_VIEW_FORUM}'"><span class="forumlink"><a href="{searchresults.U_VIEW_FORUM}" class="forumlink">{searchresults.FORUM_NAME}</a></span></td>
<td class="row1h row-forum" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topiclink">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><span class="gotopage">{searchresults.GOTO_PAGE}</span></td>
<td class="row1 row-center-small">{searchresults.REPLIES}</td>
<td class="row2 row-center-small">{searchresults.TOPIC_AUTHOR}</td>
<td class="row1 row-center-small">{searchresults.VIEWS}</td>
<td class="row2 row-center-small">{searchresults.LAST_POST_TIME}<br />{searchresults.LAST_POST_AUTHOR} {searchresults.LAST_POST_IMG}</span></td>
<!-- BEGIN switch_upi2db_on -->
<td class="row1 row-center-small" nowrap="nowrap"><input type="checkbox" name="mar_topic_id[]" value="{searchresults.TOPIC_ID}" {searchresults.NO_AGM}></td>
<!-- END switch_upi2db_on -->
</tr>
<!-- END searchresults -->
<tr>
<td class="spaceRow" colspan="8"><img src="templates/ca_aphrodite/images/{TPL_COLOR}/spacer.gif" width="1" height="3" alt="" /></td>
</tr>
<tr>
<td class="catBottom" colspan="8">
<!-- BEGIN switch_upi2db_on -->
<input type="submit" class="mainoption" value="{L_SUBMIT_MARK_READ}" />
<input name="mar" type="hidden" value="1" />
<!-- END switch_upi2db_on -->
</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td valign="middle" align="right"><a href="javascript:select_switch(true);" class="gensmall">{L_MARK_ALL}</a> | <a href="javascript:select_switch(false);" class="gensmall">{L_UNMARK_ALL}</a></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="top">{PAGE_NUMBER}</td>
<td align="right" valign="top" nowrap="nowrap"><span class="pagination">{PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<div align="right">{JUMPBOX}</div>
function select_switch(status)
{
for (i = 0; i < document.post.length; i++)
{
document.post.elements[i].checked = status;
}
}
</script>
<div class="forumline nav-div">
<p class="nav-header">
<a href="{U_PORTAL}" class="nav">{L_HOME}</a>{NAV_SEP}<a href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a href="{U_SEARCH}">{L_SEARCH}</a>{NAV_SEP}<a href="#" class="nav-current">{L_SEARCH_MATCHES}</a>
</p>
<div class="nav-links">
<div class="nav-links-left">
{CURRENT_TIME}
</div>
</div>
</div>
<form action="{S_POST_ACTION}" method="post" name="post">
<table width="100%" cellspacing="0" class="forumline">
<tr>
<td colspan="8" class="row-header"><span>{L_SEARCH_MATCHES}</span></td>
</tr>
<tr>
<th width="18"> </th>
<th>{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_REPLIES}</th>
<th>{L_AUTHOR}</th>
<th>{L_VIEWS}</th>
<th>{L_LASTPOST}</th>
<!-- BEGIN switch_upi2db_on -->
<th>{L_MAR}</th>
<!-- END switch_upi2db_on -->
</tr>
<!-- BEGIN searchresults -->
<tr>
<td class="row3 row-center">
{searchresults.U_MARK_ALWAYS_READ}
<!-- <img src="{searchresults.TOPIC_FOLDER_IMG}" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" /> -->
</td>
<td class="row1h row-forum" onclick="window.location.href='{searchresults.U_VIEW_FORUM}'"><span class="forumlink"><a href="{searchresults.U_VIEW_FORUM}" class="forumlink">{searchresults.FORUM_NAME}</a></span></td>
<td class="row1h row-forum" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topiclink">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><span class="gotopage">{searchresults.GOTO_PAGE}</span></td>
<td class="row1 row-center-small">{searchresults.REPLIES}</td>
<td class="row2 row-center-small">{searchresults.TOPIC_AUTHOR}</td>
<td class="row1 row-center-small">{searchresults.VIEWS}</td>
<td class="row2 row-center-small">{searchresults.LAST_POST_TIME}<br />{searchresults.LAST_POST_AUTHOR} {searchresults.LAST_POST_IMG}</span></td>
<!-- BEGIN switch_upi2db_on -->
<td class="row1 row-center-small" nowrap="nowrap"><input type="checkbox" name="mar_topic_id[]" value="{searchresults.TOPIC_ID}" {searchresults.NO_AGM}></td>
<!-- END switch_upi2db_on -->
</tr>
<!-- END searchresults -->
<tr>
<td class="spaceRow" colspan="8"><img src="templates/ca_aphrodite/images/{TPL_COLOR}/spacer.gif" width="1" height="3" alt="" /></td>
</tr>
<tr>
<td class="catBottom" colspan="8">
<!-- BEGIN switch_upi2db_on -->
<input type="submit" class="mainoption" value="{L_SUBMIT_MARK_READ}" />
<input name="mar" type="hidden" value="1" />
<!-- END switch_upi2db_on -->
</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td valign="middle" align="right"><a href="javascript:select_switch(true);" class="gensmall">{L_MARK_ALL}</a> | <a href="javascript:select_switch(false);" class="gensmall">{L_UNMARK_ALL}</a></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="top">{PAGE_NUMBER}</td>
<td align="right" valign="top" nowrap="nowrap"><span class="pagination">{PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<div align="right">{JUMPBOX}</div>
i thought this is an easy fix, but it seems that i missed something
