added support for translation plugin
This commit is contained in:
parent
99daa91896
commit
cfa8d1441b
3 changed files with 40 additions and 0 deletions
32
css/plugins/translation.less
Normal file
32
css/plugins/translation.less
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
/**
|
||||||
|
* This file provides styles for the translation plugin
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
.dokuwiki div.plugin_translation {
|
||||||
|
clear: none;
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
float: none;
|
||||||
|
|
||||||
|
+ * {
|
||||||
|
clear: both;
|
||||||
|
padding-top: 1em; // as h1
|
||||||
|
}
|
||||||
|
|
||||||
|
ul li {
|
||||||
|
a.wikilink1:link,
|
||||||
|
a.wikilink1:hover,
|
||||||
|
a.wikilink1:active,
|
||||||
|
a.wikilink1:visited {
|
||||||
|
background-color: @ini_link;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media @screen_max-md {
|
||||||
|
.dokuwiki div.plugin_translation {
|
||||||
|
clear: both;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
7
main.php
7
main.php
|
@ -347,6 +347,13 @@ $classWideContent = (Template::getInstance())->fullWidthClass();
|
||||||
echo $highlightParent->tpl();
|
echo $highlightParent->tpl();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<?php
|
||||||
|
/** @var helper_plugin_translation $translation */
|
||||||
|
$translation = plugin_load('helper','translation');
|
||||||
|
if ($translation) {
|
||||||
|
echo $translation->showTranslations();
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
<div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div>
|
<div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div>
|
||||||
<div class="clearer"></div>
|
<div class="clearer"></div>
|
||||||
|
|
|
@ -118,6 +118,7 @@ css/plugins/sitemapnavi.less = all
|
||||||
css/plugins/data.less = all
|
css/plugins/data.less = all
|
||||||
css/plugins/fastwiki.less = all
|
css/plugins/fastwiki.less = all
|
||||||
css/plugins/tplinc.less = all
|
css/plugins/tplinc.less = all
|
||||||
|
css/plugins/translation.less = all
|
||||||
|
|
||||||
|
|
||||||
; _____________ print styles _____________
|
; _____________ print styles _____________
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue