TTpac: minor i18n and other cleanup
authorBill Erickson <berick@esilibrary.com>
Thu, 11 Aug 2011 21:21:03 +0000 (17:21 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 11 Aug 2011 21:21:03 +0000 (17:21 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/templates/default/opac/parts/result/table.tt2

index 5686971..75732c2 100644 (file)
@@ -89,7 +89,7 @@
                                                 <div class="bold">
                                                     <a title="[% attrs.title %]" name='item_title'
                                                         href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"
-                                                        class='search_link'>[% attrs.title %]</a>
+                                                        class='search_link'>[% attrs.title | html_entity%]</a>
                                                 </div>
                                                 <div style="font-size:11px;">
                                                     <div>
                                                                 <input type="hidden" name="record" value="[% rec.id %]" />
                                                             <div style="position:absolute;">
                                                                 <div style="position:relative;top:5px; left: 25px;">
-                                                                    <input type="submit" title="[% l(label _ ' my list') %]" 
-                                                                        value="[% l(label _ ' my list') %]" class="subtle-button" />
+                                                                    <input type="submit" title="[% '[_1] my list' | l(label) %]" 
+                                                                        value="[% '[_1] my list' | l(label) %]" class="subtle-button" />
                                                                 </div>
                                                             </div>
                                                                 <input type="image"
-                                                                alt="[% l(label _ ' my list') %]"
+                                                                alt="[% '[_1] my list' | l(label) %]"
                                                                 src="[% ctx.media_prefix %]/images/clipboard.png" />
                                                             </form>
                                                         </div>
 </div>
 <div>
     [% ctx.results_count_header %]
-    <!-- ChiliFresh XXX script TODO -->
 </div>