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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jul 31 00:57:14 EDT 2008


Author: miker
Date: 2008-07-31 00:57:07 -0400 (Thu, 31 Jul 2008)
New Revision: 10205

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
   trunk/Open-ILS/web/opac/skin/default/css/layout.css
   trunk/Open-ILS/web/opac/skin/default/xml/common/fonts.xml
   trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
Log:
moving the lang switcher to a more reasonable location

Modified: trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/opac.dtd	2008-07-31 04:31:25 UTC (rev 10204)
+++ trunk/Open-ILS/web/opac/locale/en-US/opac.dtd	2008-07-31 04:57:07 UTC (rev 10205)
@@ -6,6 +6,7 @@
 <!ENTITY lang.author "PINES">
 <!ENTITY common.all "All">
 <!ENTITY common.currency "$">
+<!ENTITY common.language "Language: ">
 <!ENTITY common.name "Name">
 <!ENTITY common.none "None">
 <!ENTITY common.title "Title">

Modified: trunk/Open-ILS/web/opac/skin/default/css/layout.css
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/css/layout.css	2008-07-31 04:31:25 UTC (rev 10204)
+++ trunk/Open-ILS/web/opac/skin/default/css/layout.css	2008-07-31 04:57:07 UTC (rev 10205)
@@ -74,7 +74,7 @@
 
 /* ---------------------------------------------------------------------- */
 
-#searchbar { margin-top: 18px; width: 100%; }
+#searchbar { margin-top: 22px; width: 100%; }
 #searchbar table tr td {font-weight: bold; font-size: 8pt; }
 #searchbar select, input { border-collapse: collapse; font-size: 9pt; }
 .searchbar_item { margin: 3px; font-size: 9pt; } 

Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/fonts.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/common/fonts.xml	2008-07-31 04:31:25 UTC (rev 10204)
+++ trunk/Open-ILS/web/opac/skin/default/xml/common/fonts.xml	2008-07-31 04:57:07 UTC (rev 10205)
@@ -1,10 +1,19 @@
 <div id='fonts_div'>
 
 	<div id='text_size_div' style='position:absolute; top: 2px; right: 6px;'>
-		<span>&common.textsize.title;</span>
-		<span><a href="javascript:void(0);" onclick="setFontSize('regular');"> &common.textsize.regular; </a></span>
-		<span> &common.textsize.separator; </span>
-		<span><a href="javascript:void(0);" onclick="setFontSize('large');"> &common.textsize.large; </a></span>
+		<span style='vertical-align: top;'>&common.textsize.title;</span>
+		<span style='vertical-align: top;'><a href="javascript:void(0);" onclick="setFontSize('regular');"> &common.textsize.regular; </a></span>
+		<span style='vertical-align: top;'> &common.textsize.separator; </span>
+		<span style='vertical-align: top;'><a href="javascript:void(0);" onclick="setFontSize('large');"> &common.textsize.large; </a></span>
+		<span style='vertical-align: top;'>&nbsp;<span style="font-weight:bold;">|</span>&nbsp;</span>
+		<span style='vertical-align: top;'>&common.language;</span>
+		<span id='translation_switch' dojoType="dijit.form.FilteringSelect" store="openils.I18N.localeStore" searchAttr="label" required="false">
+			<script type="dojo/label" event="onChange">
+				if (this.getValue()) {
+					location.href = location.href.replace( /opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
+				}
+			</script>
+		</span>
 	</div>
 	
 </div>

Modified: trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/footer.xml	2008-07-31 04:31:25 UTC (rev 10204)
+++ trunk/Open-ILS/web/opac/skin/default/xml/footer.xml	2008-07-31 04:57:07 UTC (rev 10205)
@@ -31,17 +31,4 @@
         <div id='footer_logo'>&footer.logo;
             <a href='http://open-ils.org'><img style='border:none;' src='../../../../images/eg_tiny_logo.jpg'/></a>
         </div>
-
-        <div
-			id='translation_switch'
-			dojoType="dijit.form.FilteringSelect"
-			store="openils.I18N.localeStore"
-			searchAttr="label"
-		>
-            <script type="dojo/label" event="onChange">
-                if (this.getValue()) {
-                    location.href = location.href.replace( /opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
-                }
-            </script>
-        </div>
 </div>



More information about the open-ils-commits mailing list