mobile view part 1
This commit is contained in:
parent
3d17036dd8
commit
83efa0de01
6 changed files with 81 additions and 7 deletions
|
@ -4,8 +4,11 @@
|
|||
|
||||
/* 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'].'" />';
|
||||
echo '<img class="mobile-hide" src="'.ml(tpl_getConf('logo')).'" alt="'.tpl_getLang('adjunct_start_logo_text').$conf['title'].'" />';
|
||||
echo '<img class="mobile-only" src="'.tpl_getMediaFile(array(':wiki:favicon-32x32.png', 'images/fav/favicon-32x32.png')).'" 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]"' );
|
||||
tpl_link( wl(),'<img class="mobile-hide" src="'.ml(tpl_getConf('logo')).'" alt="'.$conf['title'].tpl_getLang('adjunct_linked_logo_text').'" />','accesskey="h" title="[H]"' );
|
||||
tpl_link( wl(),'<img class="mobile-only" src="'.tpl_getMediaFile(array(':wiki:favicon-32x32.png', 'images/fav/favicon-32x32.png')).'" alt="'.$conf['title'].tpl_getLang('adjunct_linked_logo_text').'" />','accesskey="h" title="[H]"' );
|
||||
}
|
||||
echo "<hr class=\"structure\" /></div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue