Tinypac - tweaks user/bshum/tinypac2
authorBen Shum <bshum@biblio.org>
Fri, 7 Dec 2012 21:47:59 +0000 (16:47 -0500)
committerBen Shum <bshum@biblio.org>
Fri, 12 Apr 2013 19:13:14 +0000 (15:13 -0400)
Signed-off-by: Ben Shum <bshum@biblio.org>
14 files changed:
Open-ILS/src/templates/tinypac/base.tt2
Open-ILS/src/templates/tinypac/home.tt2
Open-ILS/src/templates/tinypac/login.tt2
Open-ILS/src/templates/tinypac/myopac/circs.tt2
Open-ILS/src/templates/tinypac/myopac/holds.tt2
Open-ILS/src/templates/tinypac/myopac/main.tt2
Open-ILS/src/templates/tinypac/parts/login/form.tt2
Open-ILS/src/templates/tinypac/parts/myopac/main_base.tt2
Open-ILS/src/templates/tinypac/parts/record/body.tt2
Open-ILS/src/templates/tinypac/parts/record/copy_table.tt2
Open-ILS/src/templates/tinypac/parts/record/summary.tt2
Open-ILS/src/templates/tinypac/parts/result/table.tt2
Open-ILS/src/templates/tinypac/parts/searchbar.tt2
Open-ILS/src/templates/tinypac/results.tt2

index 2107449..846031e 100644 (file)
@@ -1,21 +1,44 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
     <head>
-        <title>[% ctx.page_title %]</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-       <meta name="viewport" content="width=470, initial-scale=0.25, minimum-scale=0.25"/>
+        [% IF ctx.refresh %]
+        <meta http-equiv="refresh" content="[% ctx.refresh %]">
+        [% ELSIF ctx.authtime %]
+        <meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.logout_page %]">
+        [% END %]
+        <title>[% l('Catalog - [_1]', ctx.page_title) %]</title>
+        <meta name="viewport" content="format-detection=no,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=320" />
+        <style type='text/css'>
+            body { color: #4D4D4D; }
+            body  a, a:visited { color: #4D4D4D;}
+            h1 { font-size: 140%; }
+            h2 { font-size: 110%; }
+            .hidden { visibility: hidden }
+            #home-search { text-align: center }
+            #home-search div { padding: 5px; }
+            #footer { margin-top: 20px; }
+            .footer-link { padding: 5px; font-size: 110%; }
+            .results_paginate { margin: 8px; width: 100%; text-align: center; }
+            .results_paginate_summary { margin-bottom: 10px; }
+            .results_paginate_links { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #333;}
+            .results_table { width: 100%; border-collapse: collapse;}
+            .results_table td { padding-bottom: 10px; vertical-align: bottom}
+            .results_table tr:nth-child(odd) { background: #F8F5D8; border-bottom:1px solid #4D4D4D;}
+            .results_pictd { width: 55px }
+            .pageno_link { font-size: 120%; padding: 0px 5px 0px 5px;}
+            .opac-button-bigger { 
+                color: #FFF; 
+                font-weight: bold; 
+                font-size: 16px;
+                text-decoration: none; 
+                cursor: pointer !important;
+                -moz-border-radius: 5px;
+                border-radius: 5px;
+                border: 1px solid #336699;
+                background-color: #336699;
+            }
+        </style>
     </head>
-    <body class='tundra'>
-        <div id="oils-base-body-block" class="tundra"> 
-            <div id="oils-base-header-block" layoutAlign="top">
-                <div id='oils-base-header-auto-login-block'>
-                </div>
-            </div>
-            <div id="oils-base-main-block" layoutAlign="client">
-                <div id="oils-base-content-block" layoutAlign="client">
-                    [% content %]
-                </div>
-            </div>
-        </div>
-    </body>
+    <body>[% content %]</body>
 </html>
index 31604fe..dc293e0 100644 (file)
@@ -1,18 +1,24 @@
-[%  PROCESS "tinypac/parts/header.tt2";
-    WRAPPER "tinypac/base.tt2";
-    INCLUDE "tinypac/parts/misc_util.tt2";
-    ctx.page_title = l("Home") %]
-    <div id="search-wrapper">
-        [% INCLUDE "tinypac/parts/searchbar.tt2" %]
-    </div>
-    <div id="content-wrapper">
-        <div id="main-content-home">
-            <div class="common-full-pad"></div>
+[%  
+    PROCESS 'opac/parts/header.tt2';
+    WRAPPER 'tinypac/base.tt2';
+    PROCESS 'opac/parts/org_selector.tt2'
+%]
+<div id='home-search'>
+    <form action="[% ctx.opac_root %]/results" method="GET">
+        <div><img style='width:250px;' src='[% ctx.media_prefix %]/opac/images/small_logo[% ENV.OILS_OPAC_LIBRARY_ID %].jpg'></div>
+        <div style='margin-top: 10px;'>[% l('Search the Catalog') %]</div>
+        <div>
+            <input type="text" id="search_box" name="query"
+                value="[% CGI.param('query') | html %]"
+                autofocus x-webkit-speech />
         </div>
-    </div>
-
+        <div>[% INCLUDE "opac/parts/qtype_selector.tt2" id="qtype" %]</div>
+        <div>[% INCLUDE build_org_selector show_loc_groups=1 %]</div>
+        <div><input type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="opac-button-bigger"/></div>
+    </form>
 <br><br><br>
     <form method="GET" action="/eg/tinypac/myopac/main"><input type=submit value="My Account"></form>
 <br><br><br>
     <a href=/eg/opac/home>Standard Catalog</a>
+</div>
 [% END %]
index aa61bad..1f01c39 100644 (file)
@@ -1,6 +1,6 @@
 [%   PROCESS "tinypac/parts/header.tt2";
     WRAPPER "tinypac/base.tt2";
-    INCLUDE "tinypac/parts/misc_util.tt2";
+    INCLUDE "opac/parts/misc_util.tt2";
     ctx.page_title = l("Account Login") %]
     <div id="content-wrapper">
         <div id="main-content">
index ccecc05..caa64b8 100644 (file)
@@ -1,5 +1,5 @@
 [%  PROCESS "tinypac/parts/header.tt2";
-    PROCESS "tinypac/parts/misc_util.tt2";
+    PROCESS "opac/parts/misc_util.tt2";
     WRAPPER "tinypac/parts/myopac/base.tt2";
     myopac_page = "circs"  %]
 <div id='myopac_checked_div'>
                             ) %]">[% attrs.author | html %]</a>
                             [% END %]
                         <br>
+                        [%
+                            due_date = ctx.parse_datetime(circ.circ.due_date);
+                            due_class = (date.now > date.format(due_date, '%s')) ? 'error' : '';
+                        %]
                             Renewals Remaining: [% circ.circ.renewal_remaining %]
                         <br>
                             Due Date: [% date.format(due_date, DATE_FORMAT) %]
index 2940423..42119e9 100644 (file)
@@ -1,5 +1,5 @@
 [%  PROCESS "tinypac/parts/header.tt2";
-    PROCESS "tinypac/parts/misc_util.tt2";
+    PROCESS "opac/parts/misc_util.tt2";
     PROCESS "tinypac/parts/hold_status.tt2";
     WRAPPER "tinypac/parts/myopac/base.tt2";
     myopac_page = "holds"  %]
index de7d13b..22a7656 100644 (file)
@@ -1,5 +1,5 @@
 [%  PROCESS "tinypac/parts/header.tt2";
-    PROCESS "tinypac/parts/misc_util.tt2";
+    PROCESS "opac/parts/misc_util.tt2";
     WRAPPER "tinypac/parts/myopac/main_base.tt2";
     myopac_page = "main";
     myopac_main_page = "main";
index c98235e..769f905 100644 (file)
@@ -90,7 +90,7 @@
                             </td>
                             <td width="58%" valign="top">
                                 <div class="input_bg">
-                                    <input type="text" id="username_field" name="username"/>
+                                    <input type="text" id="username_field" name="username" autocapitalize="off" autocorrect="off"/>
                                 </div>
                             </td>
                         </tr>
index 4a5040a..8e4fd6e 100644 (file)
@@ -1,5 +1,5 @@
 [%  PROCESS "tinypac/parts/header.tt2";
-    PROCESS "tinypac/parts/misc_util.tt2";
+    PROCESS "opac/parts/misc_util.tt2";
     WRAPPER "tinypac/parts/myopac/base.tt2";
 %]
 
index 77dad5e..cf93dc9 100644 (file)
@@ -1,6 +1,6 @@
-[%-  attrs = {marc_xml => ctx.marc_xml};
-    PROCESS "tinypac/parts/misc_util.tt2";
-    PROCESS get_marc_attrs args=attrs;
+[%- attrs = {marc_xml => ctx.marc_xml};
+    PROCESS "opac/parts/misc_util.tt2";
+    INCLUDE get_marc_attrs args=attrs;
     stop_parms = ['expand','cnoffset'];
     ctx.record_attrs = attrs; # capture for JS
 %]
@@ -13,5 +13,5 @@
     </div>
     [%- END %]
     [% INCLUDE "tinypac/parts/record/summary.tt2" %]
-    [%- INCLUDE "tinypac/parts/record/navigation.tt2" %]
+    [% INCLUDE "tinypac/parts/record/navigation.tt2" %]
 </div>
index 973292a..9e20d9e 100644 (file)
@@ -25,6 +25,7 @@ FOREACH copy_info IN copies;
     END;
 END;
 -%]
+<div><h2>Holdings</h2></div>
 <div align="left">
 [%- IF has_copies; %]
         [%- last_cn = 0;
@@ -42,32 +43,47 @@ END;
                 callnum = callnum  _ " " _ callnum_suffix;
             END;
         -%]
-            <b>
+            [%- IF serial_holdings %]<b>
+                [%- copy_info.holding_label | html; -%]
+            </b>
+            [% ELSE %]<b>
            [%-
                 org_name = ctx.get_aou(copy_info.circ_lib).name;
                 org_name | html
             -%]
-           </b>
-           <li>
-            [% callnum | html %] [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](<a href="[% mkurl(ctx.opac_root _ '/sms_cn', {copy_id => copy_info.id}) %]">Text</a>)[% END %]
-           </li>
+           </b>[% END %]
            <li>
             [% copy_info.copy_location | html %]
            </li>
+           [% IF callnum; %]
+            <li>
+            Call #: [% callnum | html %] [% IF has_parts == 'true' %] [% copy_info.part_label | html %] [% END %]
+           </li>
+            [% END; %]
             <li>
            [% copy_info.copy_status | html %]
            </li>
-           <li>
-            <td header='due_date'>[%
-                IF copy_info.due_date;
-                    date.format(
-                        ctx.parse_datetime(copy_info.due_date),
-                        DATE_FORMAT
-                    );
-                ELSE;
-                    '-';
-                END %]
-            </li>
-        [%- END %]
+            [% IF copy_info.due_date AND copy_info.copy_status != 'Lost' %]
+            [% due_date = ctx.parse_datetime(copy_info.due_date); %]
+            <li>Due: [% date.format(due_date, DATE_FORMAT) %]</li>
+            [% END; %]
+            <br>
+        [% END; %]
 [% END; %]
 </div>
+<div>
+        [%- IF ctx.copy_offset > 0 AND NOT serial_holdings;
+            new_offset = ctx.copy_offset - ctx.copy_limit;
+            IF new_offset < 0; new_offset = 0; END %]
+            <span>
+                <a href="[% mkurl('', {copy_offset => new_offset, copy_limit => ctx.copy_limit}) %]">&laquo; [%
+                    l('Previous [_1]', ctx.copy_offset - new_offset) %]</a>
+            </span>
+        [%- END %]
+        [%- IF copies.size >= ctx.copy_limit AND NOT serial_holdings %]
+            <span>
+                <a href="[% mkurl('', {copy_offset => ctx.copy_offset + ctx.copy_limit, copy_limit => ctx.copy_limit}) %]">[%
+                    l('Next [_1]', ctx.copy_limit) %] &raquo;</a>
+            </span>
+        [%- END %]
+</div>
index 509401d..b166a46 100644 (file)
@@ -1,4 +1,4 @@
-[%  PROCESS "tinypac/parts/misc_util.tt2";
+[%  PROCESS "opac/parts/misc_util.tt2";
     USE ResolverResolver;
     ctx.page_title = attrs.title | html
 %]
@@ -10,7 +10,7 @@
 
 [%-# This holds the record summary information %]
 <div>
-    <table width=350><tr>
+    <table width=320><tr>
        <td>
         [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
         <a href='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/[% ident | uri %]'><img
         [% END %]
        </td>
        <td>
-               <h2 id='rdetail_title' itemprop="name">[% attrs.title_extended | html %]</h2>
+       [%- IF attrs.format_icon %]
+       <span class="format_icon">
+           <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" align="left" style="padding-right:5px"/>
+       </span>
+       [%- END %]
+       <h2 id='rdetail_title' itemprop="name">[% attrs.title_extended | html %]</h2>
        </td>
      </tr>
     </table>
-       [%- INCLUDE "tinypac/parts/record/authors.tt2" %]
+        [%- search_ou = ctx.search_ou;
+            IF ctx.place_unfillable ||
+                ( attrs.marc_xml.findnodes('//*[local-name()="holdings" and @has_holdable="true"]').size > 0
+                    && (ctx.holds_block.enabled != 'true' || attrs.org_copy_counts.$search_ou.available == 0)
+                )
+         %]
 <br>
     <div id="rdetail_actions_div">
         <div class="rdetail_aux_utils place_hold">
             class="no-dec"><img src="[% ctx.media_prefix %]/images/green_check.png" alt="[% l('place hold') %]" /><span 
             class="place_hold">[% l('Place Hold') %]</span></a>
         </div>
-<br>
-    </div>
-    <div id='rdetail_title_div'>
-        [%- IF attrs.format_icon %]
-        <div class="format_icon">
-            <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
-        </div>
-        [%- END %]
     </div>
-</div>
+        [% END %]
 
-<div class="rdetail_uris">
-    [%- IF num_uris > 1 %]<ul>[% END %]
-    [%- FOR uri IN merged_uris %]
-        [%- IF num_uris == 1 %]<p class="rdetail_uri">[% ELSE %]<li class="rdetail_uri">[% END %]
-        <a href="[% uri.href %]">[% uri.link %]</a>[% ' - ' _ uri.note IF uri.note %]
-        [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
-    [%- END %]
-    [%- IF num_uris > 1 %]</ul>[% END %]
-</div>
-[%- # Hold/copy summary
-    IF ctx.copy_summary.0.count
-%]
-<div id="copy_hold_counts" style="width:500px;align:center;">
-[%- INCLUDE "tinypac/parts/record/copy_counts.tt2" %]
-    <span id="rdetail_hold_counts">
-        [% l('Current holds') %] : 
-            [%- l("[quant,_1,current hold,current holds] with [quant,_2,total copy,total copies].", 
-                ctx.record_hold_count, ctx.copy_summary.0.count) %]
-        </p>
-    </span>
-[%- INCLUDE "tinypac/parts/record/copy_table.tt2" copies=ctx.copies %]
-</div>
-[%- END %]
+<!-- There should be electronic resources here -->
 
 <h2 id='rdetail_record_details'>[% l("Record details") %]</h2>
 <ul>
-    [%- IF attrs.isbns.0; FOR isbn IN attrs.isbns %]
-    <li class='rdetail_isbns'>
-        <strong class='rdetail_label'>[% l('ISBN:'); %]</strong>
-        <span class='rdetail_value' itemprop='isbn'>[% isbn | html  %]</span>
-    </li>
-        [%- END %]
-    [%- END %]
-    [%- IF attrs.issns.0; FOR issn IN attrs.issns %]
-    <li class='rdetail_issns'>
-        <strong class='rdetail_label'>[% l('ISSN:'); %]</strong>
-        <span class='rdetail_value'>[% issn | html  %]</span>
+    [%- IF attrs.edition %]
+    <li id='rdetail_edition'>
+        <strong class='rdetail_label'>[% l("Edition:") %]</strong>
+        <span class='rdetail_value'>[% attrs.edition | html %]</span>
     </li>
-        [%- END %]
     [%- END %]
     [%- IF attrs.phys_desc %]
     <li id='rdetail_phys_desc'>
         <span class='rdetail_value'>[% attrs.phys_desc | html %]</span>
     </li>
     [%- END %]
-    [%- IF attrs.edition %]
-    <li id='rdetail_edition'>
-        <strong class='rdetail_label'>[% l("Edition:") %]</strong>
-        <span class='rdetail_value'>[% attrs.edition | html %]</span>
-    </li>
-    [%- END %]
     [%- IF attrs.publisher %]
     <li id='rdetail_publisher'>
         <strong class='rdetail_label'>[% l("Publisher:") %]</strong>
         <span class='rdetail_value' itemprop="publisher">[%
-            attrs.publisher | html;
+            attrs.pubinfo | html;
         %]</span>
-        [% IF attrs.pubdate; %]
-        <span itemprop="datePublished">[% attrs.pubdate | html; %]</span>
-        [% END; %]
     </li>
     [%- END %]
 </ul>
+    [%- IF attrs.summary %]
+    <div class='rdetail-extras-summary'>
+        <h2>[% l('Summary') %]</h2>
+        <!--[% FOR sum IN attrs.summaries %]
+            [% IF !loop.first; '<br/>'; END %]
+            <span>[% sum | html %] </span>
+        [% END %]-->
+        <ul><li>[% attrs.summaries.0 | html %]</li></ul>
+    </div>
+    [%- END %]
+</div>
+[%- # Hold/copy summary
+    IF ctx.copy_summary.0.count
+%]
+<div id="copy_hold_counts" style="width:320px;align:center;">
+[%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
+[%- INCLUDE "tinypac/parts/record/copy_table.tt2" copies=ctx.copies %]
+</div>
+[%- END %]
 
index 95a5ac0..482680c 100644 (file)
@@ -1,4 +1,4 @@
-[%  PROCESS "tinypac/parts/misc_util.tt2";
+[%  PROCESS "opac/parts/misc_util.tt2";
 
     USE ResolverResolver;
 
                                                 [% END %]
                                             </td>
                                             <td valign="top" name='result_table_title_cell'>
-                                                <div class="bold">
+                                                <div class="bold"><b>
+                                                [% IF attrs.format_icon %]
+                                                <img title="[% attrs.format_label | html %]" alt="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" align="left" style="padding:1px; padding-right:5px; padding-bottom:5px;"/>
+                                                [% END %]
                                                     <a name='record_[% rec.id %]' name='item_title'
                                                         href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"
                                                         [% HTML.attributes(title => l('Display record details for "[_1]"', attrs.title)) %]
-                                                        class='search_link'>[% attrs.title | html %]</a>
+                                                        class='search_link'>[% attrs.title | html %]</a></b>
                                                 </div>
                                                 <div>
                                                     <div>
+                                                        [% IF attrs.author; %]
                                                         <em><a title="[% l("Perform an Author Search") %]"
                                                                 name='item_author'
                                                                 href="[%- 
                                                                     mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, ['page'])
                                                                     -%]">[% attrs.author | html %]</a></em>
                                                         &nbsp;&nbsp;
+                                                        [% END %]
                                                         [% attrs.pubdate | html %]
+                                                    </div><br>
+                                                    [% IF attrs.holdings.0.label %]
+                                                    <div>
+                                                    <div class="item_detail_shelvinglocation">
+                                                        <strong>Location:</strong> [% attrs.holdings.0.location | html %]
+                                                    </div>
+                                                    <div class="item_detail_callnumber">
+                                                        <strong>Call #:</strong> [% attrs.holdings.0.label | html %]
                                                     </div>
+                                                    </div><br>
+                                                    [% END %]
                                                     <table cellpadding="0" cellspacing="0" border="0"
                                                         class="results_info_table">
-
-                                                        [% IF attrs.phys_desc %]
-                                                            <tr name="results_phys_desc_tr">
-                                                                <td nowrap="nowrap" valign="top">
-                                                                </td>
-                                                                <td>
-                                                                    [% args.phys_desc | html %]
-                                                                </td>
-                                                            </tr>
-                                                        [% END %]
                                                         [% FOR uri IN args.uris %]
                                                             <tr name='bib_uri_list' class='result_table_title_cell'>
-                                                                <td valign='top'>
-                                                                    <strong>[% l('Electronic resource') %]</strong>
-                                                                </td>
-                                                                <td><a href="[% uri.href %]">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
+                                                                <div valign='top'>
+                                                                    <strong>[% l('Electronic Resource') %]</strong>
+                                                                </div>
+                                                                <div><a href="[% uri.href %]">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</div>
                                                             </tr>
                                                        [% END %]
                                                     </table>
                                                         [% END %]
                                                     [% END %]
                                                 </div>
-<br>
-                                                [% IF attrs.format_icon %]
-                                                <img title="[% attrs.format_label | html %]" alt="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
-                                                [% END %]
-
                                                 <!-- unAPI link -->
                                                 <abbr class="unapi-id" title='tag:[% ctx.hostname %],[% date.format(date.now, '%Y') %]:biblio-record_entry/[% rec.id %]'></abbr>
-<br>
+[%- search_ou = ctx.search_ou;
+    num_holdable_copies = attrs.marc_xml.findnodes('//*[local-name()="holdings" and @has_holdable="true"]').size || 0;
+    IF ctx.place_unfillable ||
+        ( num_holdable_copies > 0
+            && (ctx.holds_block.enabled != 'true' || attrs.org_copy_counts.$search_ou.available == 0)
+        )
+%]
                                                 <div class="result_table_utils_cont">
                                                     <div class="result_table_utils">
                                                         <div class="results_aux_utils place_hold"><a
                                                         </div>
                                                     </div>
                                                 </div>
+[% END %]
                                             </td>
                                         </tr>
                     [% END %]
                     </tbody>
                 </table>
             </div>
-</div>
+</div><br>
 <div>
     [% ctx.results_count_header %]
 <br><a href=/eg/tinypac/home>New Search</a><br><br>
-<br><br>
+<br>
 <a href=/eg/opac/home>Standard Catalog</a>
 </div>
index 6aedaf1..88aa73a 100644 (file)
@@ -1,6 +1,6 @@
 [% PROCESS "tinypac/parts/org_selector.tt2" %]
 <div id="search-box">    
-     <img src=/css/deliciousmagazine/GRPL-homepagename1.png>
+     <img src="[% ctx.media_prefix %]/opac/images/small_logo[% ENV.OILS_OPAC_LIBRARY_ID %].jpg">
 <br>
 <span>Search the Catalog</span>
    <form action="[% ctx.opac_root %]/results" method="GET">
index 10c3173..108ac83 100644 (file)
@@ -8,26 +8,6 @@
 
     page_count = ctx.page_size == 0 ? 1 : POSIX.ceil(ctx.hit_count / ctx.page_size);
 %]
-<!--
-    <form action="[% ctx.opac_root %]/results" method="GET">
-    <div id="search-wrapper">
-        [% INCLUDE "tinypac/parts/searchbar.tt2" took_care_of_form=1 %]
-    </div>
--->
-    <div class="">
-        <div id="results_header_bar">
-            <div id="results_header_inner">
-                <div class=""></div>
-<!--
-                    <label class="results_header_lbl">[% l('Sort by') %]
-                    [% INCLUDE "tinypac/parts/filtersort.tt2" value=CGI.param('sort') submit_on_change=1 %]
-                    </label>
--->
-
-            </div>
-        </div>
-    </div>
-    </form>
     <br class="clear-both" />
     <div id="content-wrapper">
         <div id="main-content">