fixing lang switcher

This commit is contained in:
Benjamin Sonntag 2015-08-07 15:22:32 +02:00
parent ae70819efd
commit 55a7e43507
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
Back to top Back to top
</a> </a>
<?php foreach($otherlang as $l=>$name) { ?> <?php foreach($otherlang as $l=>$name) { ?>
<a class="back-to-top" href="<?php echo "/".$l."/".$uri; ?>"> <a class="back-to-top" href="<?php echo $uri."-".$l; ?>">
<?php echo $name; ?> <?php echo $name; ?>
</a> </a>
<?php } ?> <?php } ?>