first commit
This commit is contained in:
11
templates/other/languages.php
Normal file
11
templates/other/languages.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<div id="languages">
|
||||
<?
|
||||
if ( is_array( $this -> _langs ) ) foreach ( $this -> _langs as $lang_tmp )
|
||||
{
|
||||
echo '<div id="lang_' . $lang_tmp['id'] . '"';
|
||||
if ( $lang_tmp['id'] == $this -> _current_lang )
|
||||
echo ' class="current_lang"';
|
||||
echo ' onClick="document.location.href=\'lang,' . $lang_tmp['id'] . '\';">' . $lang_tmp['id'] . '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user