TPac: minor i18n string repairs
authorBill Erickson <berick@esilibrary.com>
Thu, 8 Sep 2011 22:51:06 +0000 (18:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 8 Sep 2011 22:51:06 +0000 (18:51 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/myopac/circs.tt2
Open-ILS/src/templates/opac/parts/advanced/search.tt2

index 4b474c1..c13b963 100644 (file)
                     <tr>
                         <td width="1%" style="padding-left:10px;" valign="top">
                             <input type="checkbox" name="circ"
-                                [% IF circ.circ.renewal_remaining < 1; l('disabled="disabled"'); END %]
+                                [% IF circ.circ.renewal_remaining < 1 %] disabled="disabled" [% END %]
                                 value="[% circ.circ.id %]" />
                         </td>
                         <td width="40%"
index 7e300ed..bf990e9 100644 (file)
                                             {"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 %]" />