1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-18 21:39:52 +02:00

Various template updates, mainly search related

git-svn-id: file:///svn/phpbb/trunk@4462 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-08-31 00:16:51 +00:00
parent afc8c9ba25
commit 1c2f9cdfd0
6 changed files with 89 additions and 58 deletions

View File

@ -13,7 +13,7 @@
<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center"> <table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th colspan="2" height="28" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th> <th colspan="2" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
<th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th> <th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th> <th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th> <th nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>

View File

@ -1,8 +1,10 @@
<!-- INCLUDE simple_header.html --> <!-- INCLUDE simple_header.html -->
<br clear="all" />
<!-- MSNM info from http://www.cdolive.net/ - doesn't seem to work with MSN Messenger --> <!-- MSNM info from http://www.cdolive.net/ - doesn't seem to work with MSN Messenger -->
<form method="post" action="{S_IM_ACTION}"><table class="tablebg" width="100%" cellspacing="1" cellpadding="4" border="0" align="center"> <form method="post" action="{S_IM_ACTION}"><table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th colspan="2" height="28">{L_SEND_IM}</th> <th colspan="2" height="28">{L_SEND_IM}</th>
</tr> </tr>

View File

@ -33,10 +33,11 @@ function im_popup(url, width, height)
function goto() function goto()
{ {
var page = prompt('{L_JUMP_PAGE}:', '{ON_PAGE}'); var page = prompt('{L_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
if (page !== null && !isNaN(page) && page > 0) if (page !== null && !isNaN(page) && page > 0)
{ {
document.location.href = "{BASE_URL}&amp;start=" + ((page * {PER_PAGE}) - 1); document.location.href = "{BASE_URL}&amp;start=" + ((page * perpage) - 1);
} }
} }
//--> //-->

View File

@ -1,57 +1,79 @@
<!-- INCLUDE overall_header.html --> <!-- INCLUDE overall_header.html -->
<form action="{S_SEARCH_ACTION}" method="POST"><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <form method="post" action="{S_SEARCH_ACTION}"><table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr> <tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td> <td align="left"><a class="nav" href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr> </tr>
</table> </table>
<table class="forumline" width="100%" cellpadding="4" cellspacing="1" border="0"> <table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th class="thHead" colspan="4" height="25">{L_SEARCH_QUERY}</th> <th colspan="4">{L_SEARCH_QUERY}</th>
</tr> </tr>
<tr> <tr>
<td class="row1" colspan="2" width="50%"><span class="gen">{L_SEARCH_KEYWORDS}:</span><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td> <td class="row1" colspan="2" width="50%"><b class="genmed">{L_SEARCH_KEYWORDS}: </b><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td>
<td class="row2" colspan="2" valign="top"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_keywords" size="30" /><br /><input type="radio" name="search_terms" value="any" checked="checked" /> {L_SEARCH_ANY_TERMS}<br /><input type="radio" name="search_terms" value="all" /> {L_SEARCH_ALL_TERMS}</span></td> <td class="row2" colspan="2" valign="top"><input type="text" style="width: 300px" class="post" name="search_keywords" size="30" /><br /><input type="radio" name="search_terms" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_ALL_TERMS}</span><br /><input type="radio" name="search_terms" value="any" /> <span class="genmed">{L_SEARCH_ANY_TERMS}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1" colspan="2"><span class="gen">{L_SEARCH_AUTHOR}:</span><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td> <td class="row1" colspan="2"><b class="genmed">{L_SEARCH_AUTHOR}:</b><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td>
<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_author" size="30" /></span></td> <td class="row2" colspan="2" valign="middle"><input type="text" style="width: 300px" class="post" name="search_author" size="30" /></td>
</tr> </tr>
<tr> <tr>
<th class="thHead" colspan="4" height="25">{L_SEARCH_OPTIONS}</th> <td class="row1" colspan="2"><b class="genmed">{L_SEARCH_FORUMS}: </b><br /><span class="gensmall">{L_SEARCH_FORUMS_EXPLAIN}</span></td>
<td class="row2" colspan="2"><select name="search_forum" multiple="multiple" size="5">{S_FORUM_OPTIONS}</select></td>
</tr> </tr>
<tr> <tr>
<td class="row1" align="right"><span class="gen">{L_FORUM}:&nbsp;</span></td> <th colspan="4">{L_SEARCH_OPTIONS}</th>
<td class="row2"><span class="genmed"><select class="post" name="search_forum">{S_FORUM_OPTIONS}</select></span></td>
<td class="row1" align="right" nowrap="nowrap"><span class="gen">{L_SEARCH_PREVIOUS}:&nbsp;</span></td>
<td class="row2" valign="middle"><span class="genmed"><select class="post" name="search_time">{S_TIME_OPTIONS}</select><br /><input type="radio" name="search_fields" value="all" checked="checked" /> {L_SEARCH_MESSAGE_TITLE}<br /><input type="radio" name="search_fields" value="msgonly" /> {L_SEARCH_MESSAGE_ONLY}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1" align="right"><span class="gen">{L_CATEGORY}:&nbsp;</span></td> <td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_CHILD}: </b><br /><span class="gensmall">{L_SEARCH_CHILD_EXPLAIN}</span></td>
<td class="row2"><span class="genmed"><select class="post" name="search_cat">{S_CATEGORY_OPTIONS} <td class="row2" width="25%" nowrap="nowrap"><input type="radio" name="search_subforum" value="1" /> <span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" name="search_subforum" value="0" checked="checked" /> <span class="genmed">{L_NO}</td>
</select></span></td> <td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_WITHIN}: </b></td>
<td class="row1" align="right"><span class="gen">{L_SORT_BY}:&nbsp;</span></td> <td class="row2" width="25%" nowrap="nowrap"><input type="radio" name="search_fields" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_TITLE_MSG}</span><br /><input type="radio" name="search_fields" value="msgonly" /> <span class="genmed">{L_SEARCH_MSG_ONLY}</span> <br /><input type="radio" name="search_fields" value="titleonly" /> <span class="genmed">{L_SEARCH_TITLE_ONLY}</span></td>
<td class="row2" valign="middle" nowrap="nowrap"><span class="genmed"><select class="post" name="sort_by">{S_SORT_OPTIONS}</select><br /><input type="radio" name="sort_dir" value="ASC" /> {L_SORT_ASCENDING}<br /><input type="radio" name="sort_dir" value="DESC" checked /> {L_SORT_DESCENDING}</span>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1" align="right" nowrap="nowrap"><span class="gen">{L_DISPLAY_RESULTS}:&nbsp;</span></td> <td class="row1" nowrap="nowrap"><b class="genmed">{L_SORT_BY}: </b></td>
<td class="row2" nowrap="nowrap"><input type="radio" name="show_results" value="posts" /><span class="genmed">{L_POSTS}<input type="radio" name="show_results" value="topics" checked="checked" />{L_TOPICS}</span></td> <td class="row2" valign="middle" nowrap="nowrap"><select name="sort_by">{S_SORT_OPTIONS}</select><br /><input type="radio" name="sort_dir" value="a" /> <span class="genmed">{L_SORT_ASCENDING}</span><br /><input type="radio" name="sort_dir" value="d" checked /> <span class="genmed">{L_SORT_DESCENDING}</span> </td>
<td class="row1" align="right"><span class="gen">{L_RETURN_FIRST}</span></td> <td class="row1" nowrap="nowrap"><b class="genmed">{L_RETURN_FIRST}: </b></td>
<td class="row2"><span class="genmed"><select class="post" name="return_chars">{S_CHARACTER_OPTIONS}</select> {L_CHARACTERS}</span></td> <td class="row2" nowrap="nowrap"><select name="return_chars">{S_CHARACTER_OPTIONS}</select> <span class="genmed">{L_POST_CHARACTERS}</span></td>
</tr> </tr>
<tr> <tr>
<td class="catBottom" colspan="4" align="center" height="28">{S_HIDDEN_FIELDS}<input class="btnlite" type="submit" value="{L_SEARCH}" /></td> <td class="row1" nowrap="nowrap"><b class="genmed">{L_SEARCH_PREVIOUS}: </b></td>
<td class="row2" valign="middle"><select name="search_time">{S_TIME_OPTIONS}</select></td>
<td class="row1" nowrap="nowrap"><b class="genmed">{L_DISPLAY_RESULTS}: </b></td>
<td class="row2" nowrap="nowrap"><input type="radio" name="show_results" value="posts" /> <span class="genmed">{L_POSTS}</span>&nbsp;&nbsp;<input type="radio" name="show_results" value="topics" checked="checked" /> <span class="genmed">{L_TOPICS}</td>
</tr>
<tr>
<td class="cat" colspan="4" align="center">{S_HIDDEN_FIELDS}<input class="btnlite" type="submit" value="{L_SEARCH}" />&nbsp;&nbsp;<input class="btnlite" type="reset" value="{L_RESET}" /></td>
</tr> </tr>
</table> </table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <br clear="all" />
<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr>
<th colspan="3">{L_RECENT_SEARCHES}</th>
</tr>
<!-- BEGIN recentsearch -->
<!-- IF recentsearch.S_ROW_COUNT is even -->
<tr class="row2">
<!-- ELSE -->
<tr class="row1">
<!-- ENDIF -->
<td class="gen"><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td>
<td class="gen" align="center">{recentsearch.RESULTS}</td>
<td class="gen" align="center">{recentsearch.TIME}</td>
</tr>
<!-- END recentsearch -->
</table>
<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr> <tr>
<td align="right" valign="middle"><span class="gensmall">{S_TIMEZONE}</span></td> <td align="right" valign="middle"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr> </tr>
</table></form> </table></form>
<table width="100%" border="0"> <table width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr> <tr>
<td align="right" valign="top"><!-- INCLUDE jumpbox.html --></td> <td align="right" valign="top"><!-- INCLUDE jumpbox.html --></td>
</tr> </tr>

View File

@ -1,51 +1,57 @@
<!-- INCLUDE overall_header.html --> <!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr> <tr>
<td align="left" valign="bottom"><span class="maintitle">{L_SEARCH_MATCHES}</span><br /></td> <td class="genmed" align="left" valign="bottom"><span class="maintitle">{SEARCH_MATCHES}</span><br /></td>
</tr>
<tr>
<td class="genmed">Search terms used: {SEARCH_WORDS}</td>
</tr>
<tr>
<td class="genmed">Terms ignored: {STOPPED_WORDS}</td>
</tr>
</table>
<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td class="nav" align="left"><a href="{U_INDEX}">{L_INDEX}</a></td>
</tr> </tr>
</table> </table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <table width="95%" cellpadding="4" cellspacing="1" border="0" class="tablebg" align="center">
<tr> <tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td> <th width="4%" nowrap="nowrap">&nbsp;</th>
</tr> <th nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
</table> <th nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <th nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
<tr> <th nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
<th width="4%" height="25" class="thCornerL" nowrap="nowrap">&nbsp;</th> <th nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
<th class="thTop" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
<th class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
<th class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
<th class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr> </tr>
<!-- BEGIN searchresults --> <!-- BEGIN searchresults -->
<tr> <tr valign="middle">
<td class="row1" align="center" valign="middle"><img src="{searchresults.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" /></td> <td class="row1" align="center"><img src="{searchresults.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1"><span class="forumlink"><a href="{searchresults.U_VIEW_FORUM}" class="forumlink">{searchresults.FORUM_NAME}</a></span></td> <td class="row1"><a href="{searchresults.U_VIEW_FORUM}" class="forumlink">{searchresults.FORUM_NAME}</a></td>
<td class="row2"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td> <td class="row2"><a class="topictitle" href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a><span class="gensmall"><br />{searchresults.GOTO_PAGE}</td>
<td class="row1" align="center" valign="middle"><span class="name">{searchresults.TOPIC_AUTHOR}</span></td> <td class="row1" align="center">{searchresults.TOPIC_AUTHOR}</td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{searchresults.REPLIES}</span></td> <td class="row2" align="center">{searchresults.REPLIES}</td>
<td class="row1" align="center" valign="middle"><span class="postdetails">{searchresults.VIEWS}</span></td> <td class="row1" align="center">{searchresults.VIEWS}</td>
<td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{searchresults.LAST_POST_TIME}<br />{searchresults.LAST_POST_AUTHOR} {searchresults.LAST_POST_IMG}</span></td> <td class="row2" align="center" nowrap="nowrap">{searchresults.LAST_POST_TIME}<br />{searchresults.LAST_POST_AUTHOR} {searchresults.LAST_POST_IMG}</td>
</tr> </tr>
<!-- END searchresults --> <!-- END searchresults -->
<tr> <tr>
<td class="catBottom" colspan="7" height="28" valign="middle">&nbsp; </td> <td class="cat" colspan="7" valign="middle">&nbsp; </td>
</tr> </tr>
</table> </table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <table width="95%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr> <tr>
<td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td> <td class="nav" align="left" valign="top">{PAGE_NUMBER}</td>
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td> <td class="nav" align="right" valign="top" nowrap="nowrap">{PAGINATION}<br />{S_TIMEZONE}</td>
</tr> </tr>
</table> </table>
<table width="100%" cellspacing="2" border="0" align="center"> <table width="95%" cellspacing="2" border="0" align="center">
<tr> <tr>
<td valign="top" align="right">{JUMPBOX}</td> <td valign="top" align="right">{JUMPBOX}</td>
</tr> </tr>

View File

@ -1,5 +1,5 @@
<br clear="all" /><div class="copyright" align="center"> <div class="copyright" align="center">
<!-- <!--
We request you retain the full copyright notice below including the link to www.phpbb.com. We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers This not only gives respect to the large amount of time given freely by the developers