25 lines
1,016 B
C#
25 lines
1,016 B
C#
<!-- REMOVE --><?cs include:TemplateDir + '/macros.cs' ?>
|
|
<!-- list language -->
|
|
<?cs if:Config.Features.LanguageSelect ?>
|
|
<?cs if:Data.Action != "list_create" ?>
|
|
<?cs if:subcount(Data.List.AvailableLanguages) > 0 ?>
|
|
<label for="list_language"><?cs var:html_escape(Lang.Misc.ListLanguage)
|
|
?>:</label>
|
|
<select name="list_language" id="list_language">
|
|
<?cs each:item = Data.List.AvailableLanguages ?>
|
|
<option <?cs if:(item == Data.List.Language)
|
|
?>selected="selected"<?cs /if ?>><?cs var:item
|
|
?></option><?cs /each ?>
|
|
</select><?cs /if ?>
|
|
<?cs else ?>
|
|
<?cs if:subcount(Data.AvailableLanguages) > 0 ?>
|
|
<label for="list_language"><?cs var:html_escape(Lang.Misc.ListLanguage)
|
|
?>:</label>
|
|
<select name="list_language" id="list_language">
|
|
<?cs each:item = Data.AvailableLanguages ?>
|
|
<option <?cs if:item == "default"
|
|
?>selected="selected"<?cs /if ?>><?cs var:item
|
|
?></option><?cs /each ?>
|
|
</select><?cs /if ?>
|
|
<?cs /if ?>
|
|
<?cs /if ?>
|