[open-ils-commits] r8046 - in trunk/Open-ILS/web/opac: locale/en-US skin/default/xml/result

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 8 19:14:08 EST 2007


Author: erickson
Date: 2007-11-08 18:58:14 -0500 (Thu, 08 Nov 2007)
New Revision: 8046

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
   trunk/Open-ILS/web/opac/skin/default/xml/result/filtersort.xml
Log:
Made sort labels more explicit when an option has already been chosen
added relevance as a sort option -- probably needs some kind of style change
since it doesn't match the style of the other top-level labels




Modified: trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/opac.dtd	2007-11-08 23:40:17 UTC (rev 8045)
+++ trunk/Open-ILS/web/opac/locale/en-US/opac.dtd	2007-11-08 23:58:14 UTC (rev 8046)
@@ -59,10 +59,12 @@
 	"The password must be at least 7 characters in length, 
 	contain at least one letter (a-z/A-Z), 
 	and contain at least one number.">
-<!ENTITY common.a2z "A to Z">
-<!ENTITY common.z2a "Z to A">
-<!ENTITY common.new2old "Newest to Oldest">
-<!ENTITY common.old2new "Oldest to Newest">
+<!ENTITY common.a2z.title "Title: A to Z">
+<!ENTITY common.z2a.title "Title: Z to A">
+<!ENTITY common.a2z.author "Author: A to Z">
+<!ENTITY common.z2a.author "Author: Z to A">
+<!ENTITY common.new2old.pubdate "Date: Newest to Oldest">
+<!ENTITY common.old2new.pubdate "Date: Oldest to Newest">
 
 <!ENTITY opac.style.reddish "Reddish">
 
@@ -527,7 +529,11 @@
 <!ENTITY rdetail.noneAvailable " * There are no copies in this location">
 <!ENTITY rdetail.summary.online "Online Resources">
 
-<!ENTITY result.sort_by "Sort Results by ...">
+<!ENTITY result.sort_by "Sort Results by Relevance">
+<!ENTITY result.sort_by.title "Sort Results by Title">
+<!ENTITY result.sort_by.author "Sort Results by Author">
+<!ENTITY result.sort_by.pubdate "Sort Results by Publicate Date">
+
 <!ENTITY result.limit2avail "Limit to Available">
 <!ENTITY result.info.copies "Available copies / Total copies">
 <!ENTITY result.info.no.items "No items with the selected format were found in this location.">

Modified: trunk/Open-ILS/web/opac/skin/default/xml/result/filtersort.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/result/filtersort.xml	2007-11-08 23:40:17 UTC (rev 8045)
+++ trunk/Open-ILS/web/opac/skin/default/xml/result/filtersort.xml	2007-11-08 23:58:14 UTC (rev 8046)
@@ -1,20 +1,20 @@
 <span>
     &result.limit2avail;<input type='checkbox' id='opac.result.limit2avail' onclick='searchBarSubmit();'/>
     <select id='opac.result.sort' onchange='searchBarSubmit();'>
-        <option selelted='selected' value=''>&result.sort_by;</option>
-        <optgroup label='&common.title;'>
-            <option id='opac.result.title.a2z' label='&common.a2z;' value='title.asc'>&common.a2z;</option>
-            <option id='opac.result.title.z2a' label='&common.z2a;' value='title.desc'>&common.z2a;</option>
+        <option selected='selected' value=''>&result.sort_by;</option>
+        <optgroup label='&result.sort_by.title;'>
+            <option id='opac.result.title.a2z' label='&common.a2z.titla;' value='title.asc'>&common.a2z.title;</option>
+            <option id='opac.result.title.z2a' label='&common.z2a.titla;' value='title.desc'>&common.z2a.title;</option>
         </optgroup>
-        <optgroup label='&common.author;'>
-            <option id='opac.result.author.a2z' label='&common.a2z;' value='author.asc'>&common.a2z;</option>
-            <option id='opac.result.author.z2a' label='&common.z2a;' value='author.desc'>&common.z2a;</option>
+        <optgroup label='&result.sort_by.author;'>
+            <option id='opac.result.author.a2z' label='&common.a2z.author;' value='author.asc'>&common.a2z.author;</option>
+            <option id='opac.result.author.z2a' label='&common.z2a.author;' value='author.desc'>&common.z2a.author;</option>
         </optgroup>
-        <optgroup label='&common.pubdate;'>
-            <option id='opac.result.pubdate.new2old' label='&common.new2old;' 
-                value='pubdate.desc'>&common.new2old;</option>
-            <option id='opac.result.pubdate.old2new' label='&common.old2new;' 
-                value='pubdate.asc'>&common.old2new;</option>
+        <optgroup label='&result.sort_by.pubdate;'>
+            <option id='opac.result.pubdate.new2old' label='&common.new2old.pubdate;' 
+                value='pubdate.desc'>&common.new2old.pubdate;</option>
+            <option id='opac.result.pubdate.old2new' label='&common.old2new.pubdate;' 
+                value='pubdate.asc'>&common.old2new.pubdate;</option>
         </optgroup>
     </select>
 </span>



More information about the open-ils-commits mailing list