Commit 1225ec2e authored by Franco Augusto's avatar Franco Augusto
Browse files

add lang selector in the footer

parent 164cc9f4
......@@ -336,7 +336,7 @@ h1#sitetitle:hover {
}
#dokuwiki__footer div.doc {
margin-bottom: 1em;
margin-bottom: 0em;
text-align: center;
font-size: 80%;
color: #5a5a5a;
......@@ -474,3 +474,72 @@ ul.tabs {
#mediamgr__aside, #mediamgr__content {
background: white;
}
/* Tranlation box */
.dokuwiki div.plugin_translation {
font-size: 100%;
padding: 8px;
margin: auto 0;
float: none;
position: relative;
text-align: center;
background: #e1e1e1;
}
.dokuwiki div.plugin_translation ul {
padding: 0;
margin: 0;
display: inline-flex;
}
.dokuwiki div.plugin_translation ul li {
float: left;
list-style-type: none;
padding: 0;
margin: 0.2em 0 0 0;
}
.dokuwiki div.plugin_translation ul li img {
margin: -0.1em 0.2em;
}
#dokuwiki__footer .plugin_translation ul li a.wikilink1:link,
#dokuwiki__footer .plugin_translation ul li a.wikilink1:active,
#dokuwiki__footer .plugin_translation ul li a.wikilink1:visited {
background-color: #e1e1e1 !important;
color: #505050;
text-decoration:none;
padding: 0.1em 0.4em;
margin: 0.1em 0.2em;
border: none !important;
}
#dokuwiki__footer .plugin_translation ul li a.wikilink1:hover {
background-color: #eee !important;
}
#dokuwiki__footer .plugin_translation ul li a.wikilink2:link,
#dokuwiki__footer .plugin_translation ul li a.wikilink2:hover,
#dokuwiki__footer .plugin_translation ul li a.wikilink2:active,
#dokuwiki__footer .plugin_translation ul li a.wikilink2:visited {
background-color: #fff !important;
color: #ccc;
text-decoration:none;
padding: 0.1em 0.4em;
margin: 0.1em 0.2em;
border: none !important;
}
#dokuwiki__footer .plugin_translation ul li a.wikilink1.cur:link,
#dokuwiki__footer .plugin_translation ul li a.wikilink1.cur:hover,
#dokuwiki__footer .plugin_translation ul li a.wikilink1.cur:active,
#dokuwiki__footer .plugin_translation ul li a.wikilink1.cur:visited,
#dokuwiki__footer .plugin_translation ul li a.wikilink2.cur:link,
#dokuwiki__footer .plugin_translation ul li a.wikilink2.cur:hover,
#dokuwiki__footer .plugin_translation ul li a.wikilink2.cur:active,
#dokuwiki__footer .plugin_translation ul li a.wikilink2.cur:visited {
background-color: darkred !important;
color: #fff !important;
border-radius: 3px;
}
......@@ -75,9 +75,6 @@ if ($lang2 != '') {
<?php tpl_searchform(); ?>
</div>
<?php } ?>
<?php
if ($translation) echo $translation->showTranslations();
?>
</div><!-- /header -->
<!-- ********** sidebar ********** -->
......@@ -187,6 +184,10 @@ if ($translation) echo $translation->showTranslations();
<?php if (!empty($_SERVER['REMOTE_USER'])) { ?><div class="doc"><?php white_pageinfo() ?></div><?php } ?>
<?php endif ?>
<?php tpl_includeFile('sidebarfooter.html') ?>
<?php
if ($translation) echo $translation->showTranslations();
?>
<?php tpl_license('badge', false, false) ?>
<div class="footer">
<?php
......@@ -194,6 +195,9 @@ if ($translation) echo $translation->showTranslations();
$footer = $lang2 .':'. $footer_page;
tpl_include_page($footer, 1, 1) ?>
</div>
</div><!-- /footer -->
<?php tpl_includeFile('footer.html') ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment