17-1 検索方法と検索オプション
315ページ
「検索」ウィジェットテンプレート(カテゴリの入力オプションを作成する)
<div class="widget-search widget">
<h3 class="widget-header">検索</h3>
<div class="widget-content">
<form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
<input type="text" id="search" class="ti" name="search" value="<$mt:SearchString$>" />
<select name="category">
<option value=""></option>
<mt:TopLevelCategories>
<option value="<mt:CategoryLabel />"><mt:CategoryLabel /></option>
<mt:SubCatsRecurse />
</mt:TopLevelCategories>
</select>
...後略...
「検索」ウィジェットテンプレート
<div class="widget-search widget">
<h3 class="widget-header">検索</h3>
<div class="widget-content">
<form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
<input type="hidden" name="category" value=" " />
...後略...
「検索」ウィジェットテンプレート(ユーザーの入力オプションを作成する)
<div class="widget-search widget">
<h3 class="widget-header">検索</h3>
<div class="widget-content">
<form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
<input type="text" id="search" class="ti" name="search" value="<$mt:SearchString$>" />
<select name="author">
<option value=""></option>
<mt:Authors>
<option value="<mt:AuthorDisplayName />"><mt:AuthorDisplayName /></option>
</mt:Authors>
</select>
...後略...
316ページ
「検索」ウィジェットテンプレート
<div class="widget-search widget">
<h3 class="widget-header">検索</h3>
<div class="widget-content">
<form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
<input type="hidden" name="author" value="mtbook" />
...後略...
「検索」ウィジェットテンプレート(複数のブログを検索対象にする)
<div class="widget-search widget">
<h3 class="widget-header">検索</h3>
<div class="widget-content">
<form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
<input type="text" id="search" class="ti" name="search" value="<$mt:SearchString$>" />
<mt:Blogs>
<input type="checkbox" name="IncludeBlogs" value="<$mt:BlogID$>" /> <mt:BlogName /><br />
</mt:Blogs>
...後略...