KvFG Wiki

Karl-von-Frisch-Gymnasium Dußlingen

Benutzer-Werkzeuge

Webseiten-Werkzeuge


web:kvfgnetdokuwiki2013

Dokuwiki Anpassungen 2013

In lib/tpl/kvfgdw

Die folgenden Anpassungen wurden eingearbeitet:

tpl_header.php
<p class="pdfodtbuttons" align="right"><a href="<?php global $REV; echo exportlink($ID, 'pdf', "rev=$REV")?>"> <img     src="<?php echo DOKU_BASE?>lib/images/fileicons/pdf.png" title="PDF Export dieser Seite" alt="PDF Export" /> </a> <a href="<?php echo exportlink($ID, 'odt')?>"><img src="<?php echo DOKU_BASE?>lib/images/fileicons/odt.png" title="ODT Export dieser Seite" alt="ODT Export" /></a></p>
css/design.css
/* Eingefuegte Knoepfe sollen hovern */
 
.pdfodtbuttons a img {
    opacity: 0.5;
}
.pdfodtbuttons a:hover img,
.pdfodtbuttons a:active img,
.pdfodtbuttons a:focus img {
    opacity: 1;
}
 
/* Sidebar soll keine ul Bobbel haben */
 
#dokuwiki__aside li ul,
#dokuwiki__aside li ol {
  list-style: none;
}
footer.html
<div class="topbar">
    <?php tpl_include_page('topbar') /* includes the wiki page "topbar" */ ?>
</div>
sidebarfooter.html
<h3>Zitieren</h3>
<?php if (function_exists('cite_getPermURL')) { ?><a href="<?php echo cite_getPermURL(); ?>" rel="nofollow">Permanenter Link</a><?php } ?>
<br>
<?php if (function_exists('cite_getCiteURL')) { ?><a href="<?php echo cite_getCiteURL(); ?>" rel="nofollow">Seite zitieren</a><?php } ?>
<br>
<p></p>
<h3>Wetterserver</h3>
<?php print p_render('xhtml',p_get_instructions('{{rss>http://www.kvfg.info/weather/wxrss.xml description 10}}
[[wetter:start|Wetterdaten im Wiki]]'),$info); ?>
<br>
<p></p>
<h3>Terminvorschau</h3>
<?php print p_render('xhtml',p_get_instructions('<gcal pages=(:calendar:schule) pagelinks=show compact noheader dropempty ahmet_backward_soft=0 ahmet_forward_soft=14>  [[calendar:start|zum Kalender]] '),$info); ?>
<br>
<p></p>
<h3>QR Code</h3>
<?php print p_render('xhtml',p_get_instructions('~~BARCODE~size=S~~'),$info); ?>
sidebarheader.html
<h3>Navigation</h3>

Außerhalb von lib/tpl

dokuwiki/conf/userall.css
@media screen {
 
        /* top bar */
        .dokuwiki .topbar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
        }
        .dokuwiki .topbar ul {
            text-align: center;
            max-width: 600px; /* change accordingly */
            margin: 0 auto;
            padding: 0;
            list-style: none;
            background-color: __background_alt__;
            border: solid __border__;
            border-width: 0 1px 1px;
            border-bottom-right-radius: 5px;
            border-bottom-left-radius: 5px;
            box-shadow: 0 1px 3px #999;
            overflow: hidden;
        }
        .dokuwiki .topbar ul li {
            margin: 0;
            padding: 0 2px;
            display: inline-block;
            font-size: 85%;
        }
        .dokuwiki .topbar ul li a {
            color: __text__;
            display: inline-block;
            min-height: 16px; /* make sure icons are not cut off (most icons are 16x16) */
        }
 
        /* for IE7 */
        *+html .dokuwiki .topbar ul li,
        *+html .dokuwiki .topbar ul li a {
            display: inline;
        }
 
        /* changes specific for the default "dokuwiki" template,
           other templates need other changes! */
        #dokuwiki__header {
            padding-top: 3.5em;
        }
        #dokuwiki__usertools {
            top: 2em;
        }
 
 
        /* IE8 needs this in the default template */
        .dokuwiki .topbar ul li img {
            max-width: none;
        }
 
    } /* /@media */
 
 
    /* for screens less than 480px wide */
    @media only screen and (max-width: 480px) {
 
        /* move topbar back to the bottom */
        .dokuwiki .topbar {
            position: static;
        }
 
        /* un-do some specific template changes */
        #dokuwiki__header {
            padding-top: .5em;
        }
 
    } /* /@media */
 
 
    @media print {
 
        /* don't print the topbar */
        .dokuwiki .topbar {
            display: none;
        }
 
    } /* /@media */
Unsere Webseite verwendet nur Cookies, die technisch notwendig sind und keine Informationen an Dritte weitergeben. Für diese Cookies ist keine Einwilligung erforderlich. Weitere Informationen finden Sie in unserer Datenschutzerklärung: Weitere Information
web/kvfgnetdokuwiki2013.txt · Zuletzt geändert: 2013/01/08 21:26 von d.weller