TPac: minor i18n string repairs
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / advanced / search.tt2
index f856ce8..bf990e9 100644 (file)
@@ -42,7 +42,7 @@
             <td valign='top'>
                 <strong>[% l("Audience") %]</strong><br />
                     [% INCLUDE "opac/parts/coded_value_selector.tt2"
-                        attr="audience" multiple="multiple" size="4" %]
+                        attr=["audience_group", "audience"] multiple="multiple" size="4" %]
                 </select>
             </td>
             <td valign='top'>
                                             {"code" => "is", "label" => l("Is")},
                                             {"code" => "before", "label" => l("Before")},
                                             {"code" => "after", "label" => l("After")},
-                                            {"code" => "between", "label" => l("Between")}
-                                        ];
-                                            |l(opt.code, opt.label) %]
-                                        <option value="[_1]"[% CGI.param('pubdate') == opt.code ? ' selected="selected"' : '' %]>[_2]</option>
-                                    [%  END; END %]
+                                            {"code" => "between", "label" => l("Between")} ] %]
+                                        <option value="[% opt.code %]"[% CGI.param('pubdate') == opt.code ? ' selected="selected"' : '' %]>[% opt.label | html %]</option>
+                                    [%  END %]
                             </select>    
                             <div style='margin-top:5px;'>
                                 <input name='date1' type='text' size='4' maxlength='4' value="[% CGI.param('date1') | html %]" />