Minahito
minah****@users*****
2006年 5月 27日 (土) 22:08:45 JST
Index: xoops2jp/html/modules/base/templates/legacy_search_results.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_search_results.html:1.1.2.1 --- /dev/null Sat May 27 22:08:45 2006 +++ xoops2jp/html/modules/base/templates/legacy_search_results.html Sat May 27 22:08:44 2006 @@ -0,0 +1,21 @@ +<{foreach item=module from=$searchResults}> + <h4><{$module.name}></h4> + + <!-- start results item loop --> + <{foreach item=result from=$module.results}> + <img src="<{$result.image}>" alt="<{$module.name}>" title="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /> + <small> + <{if $result.uid > 0}> + <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$result.uid|escape}>"><{$result.uid|xoops_user:uname}></a> + <{/if}> + (<{$result.time|xoops_formattimestamp:l}>) + </small> + <{/foreach}> + <!-- end results item loop --> + + <{if $module.has_more}> + <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&query=<{$actionForm->get('query')|escape}>&mid=<{$module.mid}>&andor=<{$actionForm->get('andor')|escape}>"><{$smarty.const._MD_BASE_LANG_SHOW_ALL}></a> + <{/if}> +<{/foreach}> + +<{include file=db:legacy_search_form.html}> Index: xoops2jp/html/modules/base/templates/legacy_search_showallbyuser.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_search_showallbyuser.html:1.1.2.1 --- /dev/null Sat May 27 22:08:45 2006 +++ xoops2jp/html/modules/base/templates/legacy_search_showallbyuser.html Sat May 27 22:08:44 2006 @@ -0,0 +1,25 @@ +<{if $searchResults.0.name != null}> + <h4><{$searchResults.0.name}></h4> + + <!-- start results item loop --> + <{foreach item=result from=$searchResults.0.results}> + <img src="<{$result.image}>" alt="<{$module.name}>" title="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /> + <small> + <{if $result.uid > 0}> + <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$result.uid|escape}>"><{$result.uid|xoops_user:uname}></a> + <{/if}> + (<{$result.time|xoops_formattimestamp:l}>) + </small> + <{/foreach}> + <!-- end results item loop --> + + <{if $actionForm->get('start') > 0}> + <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&query=<{$actionForm->get('query')|escape}>&mid=<{$module.mid}>&uid=<{$actionForm->get('uid')}>&andor=<{$actionForm->get('andor')|escape}>&start=<{$prevStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a> + <{/if}> + + <{if $searchResults.0.has_more}> + <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&query=<{$actionForm->get('query')|escape}>&mid=<{$module.mid}>&uid=<{$actionForm->get('uid')}>&andor=<{$actionForm->get('andor')|escape}>&start=<{$nextStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a> + <{/if}> +<{/if}> + +<{include file=db:legacy_search_form.html}> Index: xoops2jp/html/modules/base/templates/legacy_search_showall.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_search_showall.html:1.1.2.1 --- /dev/null Sat May 27 22:08:45 2006 +++ xoops2jp/html/modules/base/templates/legacy_search_showall.html Sat May 27 22:08:45 2006 @@ -0,0 +1,25 @@ +<{if $searchResults.0.name != null}> + <h4><{$searchResults.0.name}></h4> + + <!-- start results item loop --> + <{foreach item=result from=$searchResults.0.results}> + <img src="<{$result.image}>" alt="<{$module.name}>" title="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /> + <small> + <{if $result.uid > 0}> + <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$result.uid|escape}>"><{$result.uid|xoops_user:uname}></a> + <{/if}> + (<{$result.time|xoops_formattimestamp:l}>) + </small> + <{/foreach}> + <!-- end results item loop --> + + <{if $actionForm->get('start') > 0}> + <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&query=<{$actionForm->get('query')|escape}>&mid=<{$module.mid}>&andor=<{$actionForm->get('andor')|escape}>&start=<{$prevStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a> + <{/if}> + + <{if $searchResults.0.has_more}> + <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&query=<{$actionForm->get('query')|escape}>&mid=<{$module.mid}>&andor=<{$actionForm->get('andor')|escape}>&start=<{$nextStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a> + <{/if}> +<{/if}> + +<{include file=db:legacy_search_form.html}>