From b25c3b867db8c2a394bbd0d25607d58a05d005b5 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 17 May 2017 13:15:21 +0200 Subject: [PATCH] add language switcher --- caliope_theme.info | 1 + style.css | 10 +++------- templates/page.tpl.php | 9 ++++++++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/caliope_theme.info b/caliope_theme.info index 4aed7b9..37cfcf4 100755 --- a/caliope_theme.info +++ b/caliope_theme.info @@ -7,6 +7,7 @@ stylesheets[all][] = style.css stylesheets[all][] = media.css scripts[] = js/custom.js +regions[header] = Header regions[slideshow] = Slideshow regions[sidebar_first] = First Sidebar regions[sidebar_second] = Second Sidebar diff --git a/style.css b/style.css index 0cbf478..af48489 100755 --- a/style.css +++ b/style.css @@ -1561,13 +1561,6 @@ ul.primary li { background: none; } -#block-locale-language h2 { - display: none; -} - -ul.language-switcher-locale-session { - display: none; -} ul#superfish-1 { display: none; @@ -1581,3 +1574,6 @@ ul#superfish-1 { width: 490px; } +#block-locale-language { + float: left; +} diff --git a/templates/page.tpl.php b/templates/page.tpl.php index ed8444b..adc7876 100755 --- a/templates/page.tpl.php +++ b/templates/page.tpl.php @@ -56,7 +56,7 @@ * - $page['content']: The main content of the current page. * - $page['sidebar_first']: Items for the first sidebar. * - $page['sidebar_second']: Items for the second sidebar. - * - $page['header']: Items for the header region. + * - $page['header]: Items for the header region. * - $page['footer']: Items for the footer region. * * @see template_preprocess() @@ -67,6 +67,13 @@
+ + + + +