From ba001f10b125cddd9009b182f3083099eed080b3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 25 Jan 2008 15:04:23 -0600 Subject: [PATCH] Working on the language-picker menu in the footer Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 1 + koha-tmpl/opac-tmpl/prog/en/css/opac.css | 14 +++++- .../prog/en/includes/doc-head-close.inc | 18 ++++---- .../prog/en/includes/opac-bottom.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/js/script.js | 43 +++++++++++++------ .../prog/en/modules/opac-advsearch.tmpl | 2 +- 6 files changed, 53 insertions(+), 27 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index d5b14d7e0d..414c898183 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -320,6 +320,7 @@ sub get_template_and_user { "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, OPACFRBRizeEditions => C4::Context->preference("OPACFRBRizeEditions"), 'item-level_itypes' => C4::Context->preference('item-level_itypes'), + yuipath => C4::Context->preference("yuipath"), ); } $template->param(listloop=>[{shelfname=>"Freelist", shelfnumber=>110}]); diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 690d5170e9..f682b75ee9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -15,6 +15,7 @@ a:hover { body { background-color : white; text-align : left; + padding : 0 0 2.5em 0; } caption { @@ -1106,6 +1107,10 @@ ul#i18nMenu li { padding : 0 10px; } +ul#i18nMenu li a { + text-decoration : none; +} + ul#i18nMenu li:first-child { border-left : 0; } @@ -1118,7 +1123,7 @@ ul#i18nMenu li ul li { ul#i18nMenu li.more a { - background-image:url(../../img/more-up-arrow.gif); + background-image:url(../../images/more-up-arrow.gif); background-position:right center; background-repeat:no-repeat; padding-right:13px; @@ -1136,7 +1141,7 @@ ul#i18nMenu li.more ul li a { bottom:0; left:0; width:100%; - height: 2em; + height: 1.8em; } @media screen{ @@ -1162,4 +1167,9 @@ ul#i18nMenu li.more ul li a { * html div#doc3{ height:100%; overflow:auto; + } + + div#changelanguage a.yuimenuitemlabel { + color : #006699; + font-weight : normal; } \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc index b991b51671..e21907d5bc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -1,16 +1,16 @@ /opac-rss.pl?q=" /> - - - - - - - - +/lib/yui/button.css" /> +/lib/yui/menu.css" /> +/lib/yui/container.css" /> + + + + + - + " /> /css/" /> /css/" />/css/opac.css" /> diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc index 97990c424c..87166d87e7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc @@ -10,7 +10,7 @@ -
  • ()
    +
  • ()