Project

General

Profile

1
If you wish to modify the template, just open the file /modules/MultiLingual/tpl/lang.html.twig
2

    
3
##########################################################################
4

    
5
Simple usage:
6
<?php if(function_exists('language_menu')){ echo language_menu(); } ?>
7

    
8
##########################################################################
9

    
10
advanced usage:
11
<?php
12
$langFunction = '';
13
// check if multiligual module is installed, default is off,
14
if(function_exists('language_menu')){ $langFunction = language_menu(); }
15
$multilang_flag = intval(($langFunction)!='');
16
$aStart       = SM2_ROOT+$multilang_flag;
17
echo $langFunction;
18

    
19
?>
20
$aStart defines the start level from show_menu2
21

    
(8-8/11)