@@ 24-30 (lines=7) @@ | ||
21 | <div class="col-md-4"> |
|
22 | <select id="lang" name="lang" class="form-control" required="required"> |
|
23 | <?php |
|
24 | foreach ($langcodes as $language) { |
|
25 | echo '<option value="'.$language[0].'" '; |
|
26 | if (isset($_SESSION['lang']) && $language[0] == $_SESSION['lang']) { |
|
27 | echo 'selected'; |
|
28 | } |
|
29 | echo '>'.$language[1].'</option>'; |
|
30 | } |
|
31 | ?> |
|
32 | </select> |
|
33 | </div> |
@@ 24-30 (lines=7) @@ | ||
21 | <div class="col-md-4"> |
|
22 | <select id="lang" name="lang" class="form-control" required="required"> |
|
23 | <?php |
|
24 | foreach ($langcodes as $language) { |
|
25 | echo '<option value="'.$language[0].'" '; |
|
26 | if (isset($_SESSION['lang']) && $language[0] == $_SESSION['lang']) { |
|
27 | echo 'selected'; |
|
28 | } |
|
29 | echo '>'.$language[1].'</option>'; |
|
30 | } |
|
31 | ?> |
|
32 | </select> |
|
33 | </div> |
@@ 24-30 (lines=7) @@ | ||
21 | <div class="col-md-4"> |
|
22 | <select id="lang" name="lang" class="form-control" required="required"> |
|
23 | <?php |
|
24 | foreach ($langcodes as $language) { |
|
25 | echo '<option value="'.$language[0].'" '; |
|
26 | if (isset($_SESSION['lang']) && $language[0] == $_SESSION['lang']) { |
|
27 | echo 'selected'; |
|
28 | } |
|
29 | echo '>'.$language[1].'</option>'; |
|
30 | } |
|
31 | ?> |
|
32 | </select> |
|
33 | </div> |