first commit
This commit is contained in:
18
autoload/language/class.VLanguage.php
Normal file
18
autoload/language/class.VLanguage.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace language;
|
||||
|
||||
class VLanguage {
|
||||
|
||||
public static function showLanguages()
|
||||
{
|
||||
$langs = \language\FLanguage::getLangs();
|
||||
$current_lang = \System::getSessionVar( 'current_lang' );
|
||||
|
||||
$tpl = new \Savant3;
|
||||
$tpl -> _langs = $langs;
|
||||
$tpl -> _current_lang = $current_lang;
|
||||
|
||||
return $tpl -> fetch( 'other/languages' );
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user