Commit 464f2ec3684ff77d471057e726a7c824a5854fde

Authored by Neil Blakey-Milner
1 parent f53755c1

Call ourselves boolean search (for now), put some table headers in.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3825 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/boolean_search.smarty
@@ -46,18 +46,23 @@ legend { border: 1px dotted #999;} @@ -46,18 +46,23 @@ legend { border: 1px dotted #999;}
46 </select> 46 </select>
47 </div> 47 </div>
48 48
49 -<h2>Advanced Search</h2> 49 +<h2>Boolean Search</h2>
50 50
51 <form> 51 <form>
52 <input type="hidden" name="action" value="performSearch" /> 52 <input type="hidden" name="action" value="performSearch" />
53 <fieldset> 53 <fieldset>
54 - <legend>Hello World.</legend> 54 + <legend>Boolean Search.</legend>
55 55
56 <p class="helpText">Return items which match &nbsp;<select name="boolean_condition"><option value="AND">all</option><option value="OR">any</option></select> of the criteria specified.</p> 56 <p class="helpText">Return items which match &nbsp;<select name="boolean_condition"><option value="AND">all</option><option value="OR">any</option></select> of the criteria specified.</p>
57 57
58 <table id="advanced-search-form"> 58 <table id="advanced-search-form">
59 <tbody> 59 <tbody>
60 <tr> 60 <tr>
  61 + <th>Criteria</th>
  62 + <th>Values</th>
  63 + <th>&nbsp;</th>
  64 + </tr>
  65 + <tr>
61 <td><select name="querytype"> 66 <td><select name="querytype">
62 {foreach item=oCriteria from=$aCriteria} 67 {foreach item=oCriteria from=$aCriteria}
63 <option value="{$oCriteria->getID()}">{$oCriteria->headerDisplay()}</option> 68 <option value="{$oCriteria->getID()}">{$oCriteria->headerDisplay()}</option>
@@ -86,4 +91,4 @@ legend { border: 1px dotted #999;} @@ -86,4 +91,4 @@ legend { border: 1px dotted #999;}
86 91
87 </tbody> 92 </tbody>
88 </table> 93 </table>
89 --->  
90 \ No newline at end of file 94 \ No newline at end of file
  95 +-->