Wiki special changes

Wiki special changes

Translation Plugin

/lib/plugins/translation/style.less

  1. // default styles for inline language selector
  2. .dokuwiki div.plugin_translation {
  3. position: relative;
  4. text-align: left;
  1. // overrides for dropdown style language selector
  2. .dokuwiki div.plugin_translation.is-dropdown {
  3. padding-bottom: 2em;
  4.  
  5. ul {
  6. position: absolute;
  7. left: 0;
  8. display: flex; // flex allows reordering of elements
  9. flex-direction: column;

/lib/plugins/translation/conf/default.php

  1. <?php
  2. /**
  3.  * Default options for the translation plugin
  4.  *
  5.  * @author Andreas Gohr <andi@splitbrain.org>
  6.  */
  7.  
  8. $conf['translations'] = '';
  9. $conf['translationns'] = '';
  10. $conf['skiptrans'] = '';
  11. $conf['dropdown'] = 0;
  12. $conf['translateui'] = 0;
  13. $conf['redirectstart'] = 0;
  14. $conf['checkage'] = 0;
  15. $conf['about'] = '';
  16. $conf['localabout'] = 0;
  17. $conf['display'] = 'langcode,title';
  18. $conf['copytrans'] = 0;
  19. $conf['show_path'] = 1;

monochrome template

/lib/tpl/monochrome/main.php

  1. echo ' <!-- ********** SIDEBAR ********** -->
  2. <div id="dokuwiki__aside">
  3. <div class="pad aside include group">';
  4. tpl_includeFile('sidebarheader.html');
  5.  
  6. $translation = plugin_load('helper','translation');
  7. if ($translation) echo $translation->showTranslations();

/lib/tpl/monochrome/css/design.css

  1. #dokuwiki__header h1 {
  2. margin-bottom: 0;
  3. font-size: 5em;
  4. clear: none;
  5. float: left;
  6. }

favicon

/lib/tpl/monochrome/images/favicon.ico

/data/media/logo.png

wiki/special_changes.txt · Zuletzt geändert: 2023/11/05 21:55
CC Attribution-Noncommercial-Share Alike 4.0 International