AlternC/bureau/admin/menu_lang.php

17 lines
628 B
PHP
Raw Normal View History

<div class="menu-box">
<div class="menu-title">
2012-10-17 08:00:35 +00:00
<img src="/images/lang.png" alt="<?php __("Languages"); ?>" />&nbsp;<a href="javascript:menu_toggle('menu-lang');"><?php __("Languages"); ?>
<img src="/images/row-down.png" alt="" style="float:right;"/></a>
</div>
<div class="menu-content" id="menu-lang">
<ul>
<?php foreach($locales as $l) { ?>
2012-10-31 11:42:32 +00:00
<li><a href="/login.php?setlang=<?php echo $l; ?>" target="_top"><?php if (isset($lang_translation[$l])) echo $lang_translation[$l]; else echo $l; ?></a></li>
<?php } ?>
</ul>
</div>
</div>
<script type="text/javascript">
menu_toggle('menu-lang');
</script>