new structure

This commit is contained in:
Jana Deutschländer 2016-12-15 11:40:18 +01:00
commit d0b97fa27f
12 changed files with 206 additions and 100 deletions

13
tpl/main-sidebar-logo.php Normal file
View file

@ -0,0 +1,13 @@
<?php
if (!defined('DOKU_INC')) die();
echo '<div class="logo">';
/* homepage logo should not link to itself (BITV accessibility requirement) */
if (strcmp(wl(), $_SERVER['REQUEST_URI']) === 0 ){
echo '<img src="'.ml(tpl_getConf('logo')).'" alt="'.tpl_getLang('adjunct_start_logo_text').$conf['title'].'" />';
} else{
tpl_link( wl(),'<img src="'.ml(tpl_getConf('logo')).'" alt="'.$conf['title'].tpl_getLang('adjunct_linked_logo_text').'" />','accesskey="h" title="[H]"' );
}
echo "</div><!-- .logo -->";